about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDaniel Hunsaker <danhunsaker@gmail.com>2018-03-12 23:07:02 -0600
committerEugen Rochko <eugen@zeonfederated.com>2018-03-13 06:07:02 +0100
commitd9500c8a3bee85cd74d8a42f21ff349cebdd5ade (patch)
tree50b55cdc3fdb2ce573d4e2a41ec11d377cc02206
parentf7c1668bf6927d9723fe4468091c8b794c0ed305 (diff)
[Nanobox] Fix DB backup task (#6766)
Not sure how I missed that it had been using the wrong evar this entire time...
-rw-r--r--boxfile.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/boxfile.yml b/boxfile.yml
index bb4149e70..70774dac9 100644
--- a/boxfile.yml
+++ b/boxfile.yml
@@ -193,7 +193,7 @@ data.db:
     - id: backup
       schedule: '0 3 * * *'
       command: |
-        PGPASSWORD=${DATA_POSTGRES_PASS} pg_dump -U ${DATA_POSTGRES_USER} -w -Fc -O gonano |
+        PGPASSWORD=${DATA_DB_PASS} pg_dump -U ${DATA_DB_USER} -w -Fc -O gonano |
         gzip |
         curl -k -H "X-AUTH-TOKEN: ${WAREHOUSE_DATA_HOARDER_TOKEN}" https://${WAREHOUSE_DATA_HOARDER_HOST}:7410/blobs/backup-${HOSTNAME}-$(date -u +%Y-%m-%d.%H-%M-%S).sql.gz --data-binary @- &&
         curl -k -s -H "X-AUTH-TOKEN: ${WAREHOUSE_DATA_HOARDER_TOKEN}" https://${WAREHOUSE_DATA_HOARDER_HOST}:7410/blobs/ |