Change backup user to borgbackup

This commit is contained in:
Paul-Henri Froidmont 2022-11-07 03:26:30 +01:00
parent c19282c6ba
commit 85ae50d263
Signed by: phfroidmont
GPG key ID: BE948AFD7E7873BE
4 changed files with 6 additions and 7 deletions

View file

@ -26,7 +26,6 @@
${pkgs.postgresql_12}/bin/pg_dump -U nextcloud nextcloud > /nix/var/data/postgresql/nextcloud.dmp
${pkgs.postgresql_12}/bin/pg_dump -U roundcube roundcube > /nix/var/data/postgresql/roundcube.dmp
'';
postHook = "touch /nix/var/data/backup/backup-ok";
startAt = "03:00";
sshKey = config.sops.secrets.borgSshKey.path;
};