diff --git a/conf/backup_method.j2 b/conf/backup_method.j2 index 74d6e63..35ed6a1 100644 --- a/conf/backup_method.j2 +++ b/conf/backup_method.j2 @@ -31,7 +31,7 @@ do_backup() { current_date=$(date +"%d_%m_%y_%H:%M") pushd $work_dir set +e - if borg init -e repokey $repo 2>&1 >/dev/null | log_with_timestamp; then + if borg init -e repokey $repo ; then #human_size=`echo $size | awk '{ suffix=" KMGT"; for(i=1; $1>1024 && i < length(suffix); i++) $1/=1024; print int($1) substr(suffix, i, 1), $3; }'` # Speed in Kbps #speed=1000