add ionice

This commit is contained in:
paul 2017-08-25 20:27:54 +02:00 committed by Hive
parent c4f09a98dc
commit 29cfcf28b7
1 changed files with 2 additions and 2 deletions

View File

@ -88,9 +88,9 @@ fi
export RESTIC_PASSWORD=${BACKUP_PASSWORD}
echo "Backup path: $SNAPSHOTDIR/$BDIR"
# backup the snapshot
# backup the snapshot (without freezing the filesystem)
# use -q for quiet mode (when run as a cron job)
$RESTIC --repo $URI $EXCLUDE $QUIET backup $SNAPSHOTDIR/$BDIR
ionice -c 3 $RESTIC --repo $URI $EXCLUDE $QUIET backup $SNAPSHOTDIR/$BDIR
./lock.sh unlock $uuid