1
0

Introduce new stage 2 backup strategy

This commit is contained in:
2022-01-11 21:31:25 +01:00
parent 9f1d07c119
commit ebd1aeb05a
2 changed files with 21 additions and 15 deletions

View File

@@ -75,6 +75,22 @@
# fix borgbackup primary grouping
users.users.borg.group = "borg";
services.borgbackup.jobs = {
backup-replication-palladium = {
paths = [
"/mnt/clerie-backup"
];
doInit = true;
repo = "borg@palladium.net.clerie.de:." ;
encryption = {
mode = "none";
};
environment = { BORG_RSH = "ssh -i /var/src/secrets/ssh/borg-backup-replication-palladium"; };
compression = "auto,lzma";
startAt = "weekly";
};
};
users.users.backup-replication = {
isNormalUser = true;
group = "backup-replication";