From 070f23d62a83791a9bf3326fa72d6734ff0b484f Mon Sep 17 00:00:00 2001 From: t6 <t6@tachyon.admin.hfbk.net> Date: Fri, 24 Apr 2020 10:02:52 +0200 Subject: [PATCH] removed debug code from greenlight-postgres-backup --- greenlight-postgres-backup | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/greenlight-postgres-backup b/greenlight-postgres-backup index 4330448..da7684e 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} -- GitLab