Remaining backup jobs for wind

This commit is contained in:
Amanda Graven 2023-06-21 17:35:12 +02:00
parent 69f780a9f2
commit 8c1c1e864b
Signed by: amanda
GPG key ID: F747582C5608F4CB
3 changed files with 26 additions and 6 deletions

View file

@ -12,5 +12,25 @@
startAt = "*-*-* 02:15:00";
user = "gitea";
};
postgres = {
paths = "/var/lib/postgresql/backup";
repo = "ssh://borg@despondos.nao.sh//mnt/slab/backup/wind/postgres";
encryption.mode = "repokey";
encryption.passCommand = "cat ${config.secrets.files.borg_pass_postgres.file}";
environment.BORG_RSH = "ssh -i ${config.secrets.files.ssh_key_postgres.file}";
compression = "auto,zstd";
startAt = "*-*-* 03:15:00";
user = "postgres";
};
synapse = {
paths = "/var/lib/matrix-synapse";
repo = "ssh://borg@despondos.nao.sh//mnt/slab/backup/wind/synapse";
encryption.mode = "repokey";
encryption.passCommand = "cat ${config.secrets.files.borg_pass_synapse.file}";
environment.BORG_RSH = "ssh -i ${config.secrets.files.ssh_key_synapse.file}";
compression = "auto,zstd";
startAt = "*-*-* 03:15:00";
user = "matrix-synapse";
};
};
}