borg the rest
This commit is contained in:
parent
767bbd6a5f
commit
59dd33d66c
8 changed files with 147 additions and 26 deletions
|
|
@ -15,4 +15,22 @@
|
|||
uris = ["ldap://localhost:3890"];
|
||||
};
|
||||
};
|
||||
|
||||
services.borgbackup.jobs."mailserver" = {
|
||||
repo = "ssh://u506783@u506783.your-storagebox.de:23/./mailserver";
|
||||
environment = {
|
||||
BORG_RSH = "ssh -i ${config.age.secrets."borg_ed25519".path} -o 'StrictHostKeyChecking=no'";
|
||||
};
|
||||
paths = [
|
||||
"/var/vmail/ldap"
|
||||
];
|
||||
encryption.mode = "none";
|
||||
compression = "auto,lzma";
|
||||
startAt = "daily";
|
||||
prune.keep = {
|
||||
daily = 7;
|
||||
weekly = 4;
|
||||
monthly = -1;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue