Update pg_backup.sh
This commit is contained in:
@ -4,9 +4,7 @@
|
|||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# discourse/postgres keeps the live cluster at a versioned PGDATA under the
|
# constants
|
||||||
# /var/lib/postgresql mount. Write the dump at the volume root so backupbot's
|
|
||||||
# `postgresql_data.path: backup.sql` label captures it.
|
|
||||||
BACKUP_FILE='/var/lib/postgresql/backup.sql'
|
BACKUP_FILE='/var/lib/postgresql/backup.sql'
|
||||||
DATADIR="${PGDATA:-/var/lib/postgresql/18/docker}"
|
DATADIR="${PGDATA:-/var/lib/postgresql/18/docker}"
|
||||||
DB_NAME="${POSTGRES_DB:-discourse}"
|
DB_NAME="${POSTGRES_DB:-discourse}"
|
||||||
|
|||||||
Reference in New Issue
Block a user