sombrero: Add restic backup of sync
This commit is contained in:
@@ -250,6 +250,31 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
restic.backups = {
|
||||||
|
"sync" = {
|
||||||
|
initialize = true;
|
||||||
|
|
||||||
|
user = "alex";
|
||||||
|
|
||||||
|
passwordFile = "/home/alex/backup/restic/password.file";
|
||||||
|
environmentFile = "/home/alex/backup/restic/aws.env";
|
||||||
|
repository = "s3:https://s3.eu-north-1.amazonaws.com/restic-sync-backup";
|
||||||
|
|
||||||
|
paths = ["/home/alex/backup/sync"];
|
||||||
|
|
||||||
|
timerConfig = {
|
||||||
|
OnCalendar = "daily";
|
||||||
|
Persistent = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
pruneOpts = [
|
||||||
|
"--keep-daily 2"
|
||||||
|
"--keep-weekly 7"
|
||||||
|
"--keep-yearly 12"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
calibre-web = {
|
calibre-web = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
@@ -331,6 +356,7 @@
|
|||||||
tig
|
tig
|
||||||
transmission
|
transmission
|
||||||
calibre-web
|
calibre-web
|
||||||
|
restic
|
||||||
];
|
];
|
||||||
|
|
||||||
# Copy the NixOS configuration file and link it from the resulting system
|
# Copy the NixOS configuration file and link it from the resulting system
|
||||||
|
|||||||
Reference in New Issue
Block a user