add ionice
This commit is contained in:
parent
c4f09a98dc
commit
29cfcf28b7
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue