Skip to content

Commit

Permalink
substitute borg --progress by borg -v
Browse files Browse the repository at this point in the history
Signed-off-by: Simon L <szaimen@e.mail.de>
  • Loading branch information
szaimen committed Jan 4, 2023
1 parent d8f24b8 commit 1605431
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Containers/borgbackup/backupscript.sh
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ if [ "$BORG_MODE" = backup ]; then
# Borg options
# auto,zstd compression seems to has the best ratio based on:
# https://forum.level1techs.com/t/optimal-compression-for-borg-backups/145870/6
BORG_OPTS=(--progress --stats --compression "auto,zstd" --exclude-caches --checkpoint-interval 86400)
BORG_OPTS=(-v --stats --compression "auto,zstd" --exclude-caches --checkpoint-interval 86400)

# Create the backup
echo "Starting the backup..."
Expand Down Expand Up @@ -353,7 +353,7 @@ if [ "$BORG_MODE" = check ]; then
echo "Checking the backup integrity..."

# Perform the check
if ! borg check --progress --verify-data "$BORG_BACKUP_DIRECTORY"; then
if ! borg check -v --verify-data "$BORG_BACKUP_DIRECTORY"; then
echo "Some errors were found while checking the backup integrity!"
exit 1
fi
Expand Down

0 comments on commit 1605431

Please sign in to comment.