We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 49dcbfe + 2ee30c5 commit 6b637cdCopy full SHA for 6b637cd
importDBdmpFile/getDump.sh
@@ -1,16 +1,8 @@
1
#!/bin/bash
2
3
-# Set some things that cause this script to exit on a failure,
4
-# rather than carry on blindly.
5
-# -e Exit on any error
6
-# -u Classify unset variables as errors
7
-set -eu
8
-
9
# Get useful variables to refer to later in this script.
10
source /etc/gocdb/failover.sh
11
12
# Copy the DB dump file.
13
/usr/bin/scp $DB_DUMP_FROM $DB_DUMP_TO
14
15
-# unset things to not affect the rest of the Failover process.
16
-set +eu
0 commit comments