Add borg prune
This commit is contained in:
parent
12f5aa330c
commit
482910aa81
1 changed files with 7 additions and 0 deletions
|
@ -50,6 +50,13 @@
|
|||
encryption.mode = "repokey-blake2";
|
||||
encryption.passCommand = "cat ${config.age.secrets.borg.path}";
|
||||
compression = "auto,zstd";
|
||||
prune.keep = {
|
||||
within = "1d";
|
||||
daily = 10;
|
||||
weekly = 4;
|
||||
monthly = 2;
|
||||
};
|
||||
readWritePaths = [ "/mnt/NAS-backup/insertpclinux-insert" ];
|
||||
repo = "/mnt/NAS-backup/insertpclinux-insert";
|
||||
user = "insert";
|
||||
startAt = "daily";
|
||||
|
|
Loading…
Reference in a new issue