Make backup directories more specific
This commit is contained in:
11
backup.nix
11
backup.nix
@@ -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"
|
||||||
|
Reference in New Issue
Block a user