aboutsummaryrefslogtreecommitdiff
path: root/cluster/prod/app/backup
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2023-05-09 12:20:35 +0200
committerAlex Auvolat <alex@adnab.me>2023-05-09 12:20:35 +0200
commit24cf7ddd91e4b726d2ed276787947e104e26b53b (patch)
treeaeeec287fa80593ec83f0022d246a7defbf72c92 /cluster/prod/app/backup
parent6c07a429781d4a26a546e3f3049b41e0b968b033 (diff)
parent24192cc61a982402e201d6dde4fa5ac2994e025f (diff)
downloadnixcfg-24cf7ddd91e4b726d2ed276787947e104e26b53b.tar.gz
nixcfg-24cf7ddd91e4b726d2ed276787947e104e26b53b.zip
Merge branch 'main' into simplify-network-config
Diffstat (limited to 'cluster/prod/app/backup')
-rw-r--r--cluster/prod/app/backup/deploy/backup-weekly.hcl4
1 files changed, 2 insertions, 2 deletions
diff --git a/cluster/prod/app/backup/deploy/backup-weekly.hcl b/cluster/prod/app/backup/deploy/backup-weekly.hcl
index 36a507a..6a00507 100644
--- a/cluster/prod/app/backup/deploy/backup-weekly.hcl
+++ b/cluster/prod/app/backup/deploy/backup-weekly.hcl
@@ -1,5 +1,5 @@
job "backup_weekly" {
- datacenters = ["orion"]
+ datacenters = ["orion", "neptune", "bespin"]
type = "batch"
priority = "60"
@@ -30,7 +30,7 @@ AWS_ENDPOINT=s3.deuxfleurs.shirokumo.net
AWS_ACCESS_KEY_ID={{ key "secrets/postgres/backup/aws_access_key_id" }}
AWS_SECRET_ACCESS_KEY={{ key "secrets/postgres/backup/aws_secret_access_key" }}
CRYPT_PUBLIC_KEY={{ key "secrets/postgres/backup/crypt_public_key" }}
-PSQL_HOST=psql-proxy.service.prod.consul
+PSQL_HOST={{ env "meta.site" }}.psql-proxy.service.prod.consul
PSQL_USER={{ key "secrets/postgres/keeper/pg_repl_username" }}
PGPASSWORD={{ key "secrets/postgres/keeper/pg_repl_pwd" }}
EOH