status=progress bei dd gesetzt.

This commit is contained in:
Olli Graf
2024-11-08 09:35:19 +01:00
parent 09e4e1c8fe
commit d1d4d01eb6

View File

@@ -2,7 +2,7 @@
BACKUP_REPO="/tank/Backup-Repo"
TEMP_DIR="${HOME}/backup"
VERSION="2.01"
VERSION="2.02"
CMD_COMPRESS='pbzip2'
verbose=false
testmode=false
@@ -37,7 +37,7 @@ tdate=$(date '+%y-%m-%d')
function start_backup {
echo "starting Backup"
sudo dd if=${DEVICE} bs=8M | tee ${FILE} | sha256sum > ${TEMP_DIR}/sdcard.sha256
sudo dd if=${DEVICE} status=progress bs=8M | tee ${FILE} | sha256sum > ${TEMP_DIR}/sdcard.sha256
echo "validating the image..."