From c3651c3e2fba09e4f86759c993b8724afdbf7439 Mon Sep 17 00:00:00 2001 From: "ljf (zamentur)" Date: Wed, 2 Dec 2020 17:50:06 +0100 Subject: [PATCH 1/2] [fix] Temp fix to avoid first email each time --- conf/backup_method.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 From 14f8f83248d1361129f6ac83914287789be3930c Mon Sep 17 00:00:00 2001 From: "ljf (zamentur)" Date: Wed, 2 Dec 2020 17:51:51 +0100 Subject: [PATCH 2/2] [fix] Update version --- manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest.json b/manifest.json index de0a0d8..af09fb3 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Backup your server on a host server using Borg.", "fr": "Sauvegardez votre serveur sur un serveur distant avec Borg." }, - "version": "1.1.13~ynh1", + "version": "1.1.13~ynh2", "url": "https://borgbackup.readthedocs.io", "license": "BSD-3-Clause", "maintainer": {