summaryrefslogtreecommitdiff
path: root/sto-tug-kvm2.swamid.se/overlay/usr
diff options
context:
space:
mode:
authorJohan Lundberg <lundberg@nordu.net>2015-04-20 15:25:43 +0200
committerJohan Lundberg <lundberg@nordu.net>2015-04-20 15:25:43 +0200
commit5e239681e344d938ef86eeec35d5755d4f9b2aac (patch)
treefed14c0d2a19471673dccb67b763b2a0a894f9ee /sto-tug-kvm2.swamid.se/overlay/usr
parent6e424635df6521d5a1b9c1aa8379fb4c0215c1ca (diff)
Added stop on first error to postgres backup scriptsunet-ops-2015-04-20-v02
Diffstat (limited to 'sto-tug-kvm2.swamid.se/overlay/usr')
-rwxr-xr-xsto-tug-kvm2.swamid.se/overlay/usr/local/bin/postgres_backup1
1 files changed, 1 insertions, 0 deletions
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"