From 5e239681e344d938ef86eeec35d5755d4f9b2aac Mon Sep 17 00:00:00 2001 From: Johan Lundberg Date: Mon, 20 Apr 2015 15:25:43 +0200 Subject: Added stop on first error to postgres backup script --- sto-tug-kvm2.swamid.se/overlay/usr/local/bin/postgres_backup | 1 + 1 file changed, 1 insertion(+) diff --git a/sto-tug-kvm2.swamid.se/overlay/usr/local/bin/postgres_backup b/sto-tug-kvm2.swamid.se/overlay/usr/local/bin/postgres_backup index ebf052c..a2b4986 100755 --- a/sto-tug-kvm2.swamid.se/overlay/usr/local/bin/postgres_backup +++ b/sto-tug-kvm2.swamid.se/overlay/usr/local/bin/postgres_backup @@ -2,6 +2,7 @@ # # Simplistic postgres backup # +set -e BACKUPROOT="/var/docker/postgresql_data/backup" DBCONTAINER="flog_db" -- cgit v1.1