1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2025-03-10 06:03:38 +00:00

update automating backups script (#7039)

update "automating backups" script: remove last backslash, use --glob-archives
This commit is contained in:
Emmanuel Tanimowo 2022-09-20 23:54:38 +01:00 committed by GitHub
parent 44b4791e98
commit f49133da04
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -191,7 +191,7 @@ backed up and that the ``prune`` command is keeping and deleting the correct bac
/etc \
/home \
/root \
/var \
/var
backup_exit=$?
@ -204,11 +204,11 @@ backed up and that the ``prune`` command is keeping and deleting the correct bac
borg prune \
--list \
--prefix '{hostname}-' \
--glob-archives '{hostname}-*' \
--show-rc \
--keep-daily 7 \
--keep-weekly 4 \
--keep-monthly 6 \
--keep-monthly 6
prune_exit=$?