fix borg backup
This commit is contained in:
parent
ba1c07d003
commit
53be910f1d
1 changed files with 4 additions and 1 deletions
|
@ -52,7 +52,10 @@
|
||||||
mode = "repokey-blake2";
|
mode = "repokey-blake2";
|
||||||
passCommand = "cat ${config.sops.secrets.backup_repository_passphrase.path}";
|
passCommand = "cat ${config.sops.secrets.backup_repository_passphrase.path}";
|
||||||
};
|
};
|
||||||
environment.BORG_RSH = "ssh -i ${toString config.sops.secrets.backup_ssh_rsa_private.path}";
|
environment = {
|
||||||
|
BORG_RSH = "ssh -i ${toString config.sops.secrets.backup_ssh_rsa_private.path}";
|
||||||
|
BORG_RELOCATED_REPO_ACCESS_IS_OK = "yes";
|
||||||
|
};
|
||||||
compression = "auto,lzma";
|
compression = "auto,lzma";
|
||||||
startAt = "daily";
|
startAt = "daily";
|
||||||
prune.keep = {
|
prune.keep = {
|
||||||
|
|
Loading…
Reference in a new issue