1
0
Fork 0

hosts/clerie-backup: replicate to hetzner storage

This commit is contained in:
clerie 2023-02-25 23:24:41 +01:00
parent 7103535731
commit deefb9c312
1 changed files with 13 additions and 0 deletions

View File

@ -75,6 +75,19 @@
users.users.borg.group = "borg";
services.borgbackup.jobs = {
backup-replication-hetzner = {
paths = [
"/mnt/clerie-backup"
];
doInit = true;
repo = "u275370-sub2@u275370.your-storagebox.de:./clerie-backup/" ;
encryption = {
mode = "none";
};
environment = { BORG_RSH = "ssh -p 23 -i /var/src/secrets/ssh/borg-backup-replication-hetzner"; };
compression = "auto,lzma";
startAt = "*-*-* 04:07:00";
};
backup-replication-palladium = {
paths = [
"/mnt/clerie-backup"