aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/infrastructure/scripts/backup.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/infrastructure/scripts/backup.sh b/src/infrastructure/scripts/backup.sh
index 6a2a4ff..bea63b2 100755
--- a/src/infrastructure/scripts/backup.sh
+++ b/src/infrastructure/scripts/backup.sh
@@ -16,7 +16,7 @@ help() {
Options:
-q disable verbose mode, useful for batch sessions
-C COMMENT the comment text to be attached to the archive
- -x disable checking the repository after creating the backup
+ -x enable checking the repository after creating the backup
-h, --help show this message
ARCHIVE_TAG the tag used to create the new
@@ -52,7 +52,7 @@ help() {
$ backup -q cronjob
- Create backup with a comment, a tag, and verbose mode active, and do not
+ Create backup with a comment, a tag, and verbose mode active, and do
verify the repository afterwards:
$ backup -xC 'The backup has a comment'
@@ -77,7 +77,7 @@ done
VERBOSE_FLAGS='--verbose --progress'
COMMENT=' '
-CHECK=true
+CHECK=false
while getopts 'qC:xh' flag; do
case "$flag" in
q)
@@ -87,7 +87,7 @@ while getopts 'qC:xh' flag; do
COMMENT="$OPTARG"
;;
x)
- CHECK=false
+ CHECK=true
;;
h)
usage