Make backup directories more specific

This commit is contained in:
2024-06-17 10:18:17 -07:00
parent 38579d6913
commit 5a512e6531

View File

@@ -8,7 +8,16 @@
environmentFile = "/etc/restic-env"; environmentFile = "/etc/restic-env";
repository = "b2:marauder-backup"; repository = "b2:marauder-backup";
passwordFile = "/etc/restic-password"; passwordFile = "/etc/restic-password";
paths = [config.users.users.nettika.home]; paths = [
"${config.users.users.nettika.home}/Desktop"
"${config.users.users.nettika.home}/Documents"
"${config.users.users.nettika.home}/Music"
"${config.users.users.nettika.home}/Pictures"
"${config.users.users.nettika.home}/Projects"
"${config.users.users.nettika.home}/Public"
"${config.users.users.nettika.home}/Templates"
"${config.users.users.nettika.home}/Videos"
];
pruneOpts = [ pruneOpts = [
"--keep-daily 7" "--keep-daily 7"
"--keep-weekly 5" "--keep-weekly 5"