do not auto prune on restic
This commit is contained in:
parent
4f19d4970f
commit
c96f2fd79e
1 changed files with 2 additions and 3 deletions
|
@ -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";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue