Skip to content
This repository was archived by the owner on May 16, 2019. It is now read-only.

Commit d9500c8

Browse files
danhunsakerGargron
authored andcommitted
[Nanobox] Fix DB backup task (mastodon#6766)
Not sure how I missed that it had been using the wrong evar this entire time...
1 parent f7c1668 commit d9500c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

boxfile.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ data.db:
193193
- id: backup
194194
schedule: '0 3 * * *'
195195
command: |
196-
PGPASSWORD=${DATA_POSTGRES_PASS} pg_dump -U ${DATA_POSTGRES_USER} -w -Fc -O gonano |
196+
PGPASSWORD=${DATA_DB_PASS} pg_dump -U ${DATA_DB_USER} -w -Fc -O gonano |
197197
gzip |
198198
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 @- &&
199199
curl -k -s -H "X-AUTH-TOKEN: ${WAREHOUSE_DATA_HOARDER_TOKEN}" https://${WAREHOUSE_DATA_HOARDER_HOST}:7410/blobs/ |

0 commit comments

Comments
 (0)