From e82dc50c0f2f595da2428f0cefcab1a1b36a5a94 Mon Sep 17 00:00:00 2001 From: Olli Graf Date: Fri, 23 Jan 2026 06:30:29 +0100 Subject: [PATCH] =?UTF-8?q?doppelte=20Dateil=C3=B6schung=20entfernt.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backupsd | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/backupsd b/backupsd index 57dd5b1..aedeabe 100755 --- a/backupsd +++ b/backupsd @@ -2,7 +2,7 @@ BACKUP_REPO="/tank/Backup-Repo" TEMP_DIR="${HOME}/backup" -VERSION="2.08" +VERSION="2.09" #CMD_COMPRESS='pbzip2' CMD_COMPRESS='zstd -T0 -5' verbose=false @@ -58,7 +58,7 @@ fi echo "compressing image with ${CMD_COMPRESS}" -${CMD_COMPRESS} ${FILE} && rm ${FILE} +${CMD_COMPRESS} ${FILE} REPO_DIR="${BACKUP_REPO}/${HOSTNAME}" echo "moving compressed image to repo" if [ ! -d "${REPO_DIR}" ]; then mkdir "${REPO_DIR}"; fi @@ -122,6 +122,4 @@ echo "FILE=${FILE}" echo "SD-Card Backup ${VERSION}" start_backup -echo "cleaning up..." -rm -v "${TEMP_DIR}/${HOSTNAME}.sha256" exit 0