prune on backup to brix

This commit is contained in:
Cyryl Płotnicki 2020-05-26 18:23:54 +01:00
parent daef4f0972
commit 4f01ae8acc

View file

@ -37,6 +37,7 @@
repository = "rest:http://brix.local:8000/"; repository = "rest:http://brix.local:8000/";
timerConfig = { OnCalendar = "hourly"; }; timerConfig = { OnCalendar = "hourly"; };
extraBackupArgs = [ "--exclude='.cache'" "--exclude='.rustup'" ]; extraBackupArgs = [ "--exclude='.cache'" "--exclude='.rustup'" ];
pruneOpts = [ "--keep-daily 8" "--keep-weekly 5" "--keep-monthly 13" "--keep-yearly 16" ];
}; };
restic.backups.home-to-b2 = { restic.backups.home-to-b2 = {