Commit 52288936 authored by Florian Pritz's avatar Florian Pritz
Browse files

borg-client: Adapt exclude patterns for snapshots



Signed-off-by: Florian Pritz's avatarFlorian Pritz <bluewind@xinu.at>
parent e45d9a93
......@@ -40,6 +40,8 @@ borg create -v --stats -C lz4 \
-e /var/cache \
-e /var/lib/archbuild \
-e /var/lib/archbuilddest \
-e "$snapshotdir/var/lib/archbuild" \
-e "$snapshotdir/var/lib/archbuilddest" \
{{ 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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment