restic-backup: Exclude caches
This commit is contained in:
parent
e7d024f68a
commit
ec63e2303a
1 changed files with 1 additions and 1 deletions
|
@ -19,6 +19,6 @@ for dir in ${RESTIC_BACKUP_SUBVOL_PATHS[@]}; do
|
|||
echo "snap = $snap"
|
||||
sudo btrfs subvol delete "$snap" > /dev/null 2>&1 || true
|
||||
sudo btrfs subvol snap "$dir" "$snap"
|
||||
restic-wrapper --verbose backup "$snap"
|
||||
restic-wrapper --verbose backup --exclude-caches "$snap"
|
||||
sudo btrfs subvol delete "$snap" || true
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue