From 8a980539a3fc71834d97394d6a457a194bce9f80 Mon Sep 17 00:00:00 2001 From: TheMightyV Date: Tue, 4 Jan 2022 22:59:56 +0100 Subject: fixed wrong hanling of provided backup_dir in server_restore made more outputs with VERBOSE=0 --- backends/borg.sh | 2 +- backends/bup.sh | 2 +- backends/tar.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'backends') diff --git a/backends/borg.sh b/backends/borg.sh index b8854a1..b0351a0 100644 --- a/backends/borg.sh +++ b/backends/borg.sh @@ -24,7 +24,7 @@ function borg_create_backup() { trap 'echo $( date ) Backup interrupted >&2; exit 2' INT TERM - echo_debug "borg: starting backup to \"$backup_dir\"" + echo "borg: backing up to \"$backup_dir\"" borg create \ "${backup_dir}::${BACKUP_NAME}_$(date +'%F_%H-%M-%S')" \ diff --git a/backends/bup.sh b/backends/bup.sh index 50c2b86..cae36fe 100644 --- a/backends/bup.sh +++ b/backends/bup.sh @@ -31,7 +31,7 @@ function bup_create_backup() { local retcode=1 for backup_dir in ${BACKUP_DIRS[*]} do - echo_debug "bup: backing up to \"$backup_dir\"" + echo "bup: backing up to \"$backup_dir\"" # try to save to remote bup -d "$(bup_local)" save -r "$backup_dir" -n "$BACKUP_NAME" "$WORLD_NAME" local status=$? diff --git a/backends/tar.sh b/backends/tar.sh index 00018c6..6f7a3d6 100644 --- a/backends/tar.sh +++ b/backends/tar.sh @@ -25,7 +25,7 @@ function tar_create_backup() { local retcode=1 for backup_dir in ${BACKUP_DIRS[*]} do - echo_debug "tar: pushing to \"$backup_dir\"" + echo "tar: backing up to \"$backup_dir\"" # scp acts as cp for local destination directories scp "$archname" "$backup_dir/" status=$? -- cgit v1.2.3