From a081d1dba074cb53b6fd0cdb49f899eee25ed361 Mon Sep 17 00:00:00 2001 From: notplants Date: Mon, 22 Jun 2026 18:37:15 +0000 Subject: [PATCH] Update pg_backup.sh --- pg_backup.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pg_backup.sh b/pg_backup.sh index 8044e43..a99c70c 100755 --- a/pg_backup.sh +++ b/pg_backup.sh @@ -4,9 +4,7 @@ set -e -# discourse/postgres keeps the live cluster at a versioned PGDATA under the -# /var/lib/postgresql mount. Write the dump at the volume root so backupbot's -# `postgresql_data.path: backup.sql` label captures it. +# constants BACKUP_FILE='/var/lib/postgresql/backup.sql' DATADIR="${PGDATA:-/var/lib/postgresql/18/docker}" DB_NAME="${POSTGRES_DB:-discourse}"