aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/backup2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/backup b/bin/backup
index 8d40b42..e8d4b73 100755
--- a/bin/backup
+++ b/bin/backup
@@ -100,6 +100,7 @@ assert_arg "$ARCHIVE_TAG" 'ARCHIVE_TAG'
run() {
+ set -x
borg create \
$VERBOSE_FLAGS \
--comment "$COMMENT" \
@@ -110,6 +111,7 @@ run() {
"::{hostname}-{now}-$ARCHIVE_TAG" \
~/
STATUS=$?
+ set +x
if [ "$STATUS" = 0 ]; then
return 0