update, backup conf

This commit is contained in:
Kopatz
2026-02-26 17:04:48 +01:00
parent 66272aaa66
commit c86275a4ff
5 changed files with 50 additions and 5 deletions

View File

@@ -164,6 +164,23 @@ in
];
repository = "/1tbssd/restic";
};
localbackup-2tb-hdd = {
initialize = true;
passwordFile = config.age.secrets.restic-pw.path;
exclude = cfg.excludePaths;
paths = cfg.large;
timerConfig = {
OnCalendar = "04:00";
Persistent = true;
};
pruneOpts = [
"--keep-daily 7"
"--keep-weekly 3"
"--keep-monthly 3"
"--keep-yearly 3"
];
repository = "/hdd/restic";
};
#localbackup-1tb = {
# initialize = true;
# passwordFile = config.age.secrets.restic-pw.path;