do not auto prune on restic

This commit is contained in:
Cyryl Płotnicki 2020-07-12 08:45:43 +01:00
parent 4f19d4970f
commit c96f2fd79e

View file

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