Skip to content
Snippets Groups Projects
Verified Commit 53ed7dbd authored by Florian Pritz's avatar Florian Pritz
Browse files

borg: Exclude /srv/archive


Signed-off-by: default avatarFlorian Pritz <bluewind@xinu.at>
parent a71c3ea2
No related branches found
No related tags found
No related merge requests found
......@@ -42,6 +42,7 @@ borg create -v --stats -C lz4 \
-e /var/lib/archbuilddest \
-e "$snapshotdir/var/lib/archbuild" \
-e "$snapshotdir/var/lib/archbuilddest" \
-e "$snapshotdir/srv/archive" \
{{ backup_host }}:{{ backup_dir }}::$(date "+%Y%m%d-%H%M%S") "$src"
borg prune -v {{ backup_host }}:{{ backup_dir }} --keep-daily=7 --keep-weekly=4 --keep-monthly=6
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment