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