add a prune option to restic
This commit is contained in:
parent
f4cd8555a8
commit
6bd0dbb513
|
@ -9,6 +9,11 @@
|
|||
extraBackupArgs = [
|
||||
"--exclude-file=/home/${username}/.nixos/modules/restic/excludes.txt"
|
||||
];
|
||||
|
||||
pruneOpts = [
|
||||
"--keep-hourly 24"
|
||||
"--keep-daily 7"
|
||||
"--keep-weekly 5"
|
||||
"--keep-monthly 12"
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue