fix vaultwarden backups

This commit is contained in:
Emelie 2021-09-23 08:34:01 +02:00
parent fcba9260bc
commit 5c7c56e598
Signed by: emelie
GPG key ID: 49D33365A7E22D12
3 changed files with 5 additions and 4 deletions

View file

@ -35,7 +35,7 @@
repository = "sftp:restic@despondos.nao.sh:/etheria/backup/wind/vaultwarden";
initialize = true;
pruneOpts = [ "--keep-daily 7" "--keep-weekly 5" "--keep-monthly 12" "--keep-yearly 75" ];
timerConfig = { "OnCalendar" = "03:30"; };
timerConfig = { "OnCalendar" = "23:45"; };
extraOptions = [ "sftp.command='ssh restic@despondos.nao.sh -i ${config.secrets.files.ssh_private_key.file} -s sftp'" ];
passwordFile = builtins.toString config.secrets.files.restic_pass.file;
};