diff --git a/greenlight-postgres-backup b/greenlight-postgres-backup index 433044823fec3d4bec8899bc141b09db1665b132..da7684ed4ea2351636f01d8154ae8825d17a816b 100755 --- a/greenlight-postgres-backup +++ b/greenlight-postgres-backup @@ -2,7 +2,6 @@ # backup the greenlight postgres dbs # (c) 2020-2038 cc-by-nc-sa wotwot -set -x now=`date +%Y%m%d-%H%M` host=`hostname -s` file="postgres-${host}-${now}.sql" @@ -20,7 +19,7 @@ cd /root/greenlight || \ exit } -docker ps || exit +#docker ps || exit docker exec -u postgres ${dbname} pg_dumpall > ${file}