diff options
author | Johan Lundberg <lundberg@nordu.net> | 2015-04-20 15:25:43 +0200 |
---|---|---|
committer | Johan Lundberg <lundberg@nordu.net> | 2015-04-20 15:25:43 +0200 |
commit | 5e239681e344d938ef86eeec35d5755d4f9b2aac (patch) | |
tree | fed14c0d2a19471673dccb67b763b2a0a894f9ee /sto-tug-kvm2.swamid.se/overlay/usr | |
parent | 6e424635df6521d5a1b9c1aa8379fb4c0215c1ca (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-x | sto-tug-kvm2.swamid.se/overlay/usr/local/bin/postgres_backup | 1 |
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" |