mirror of
https://github.com/myvesta/vesta
synced 2025-07-05 12:36:23 -07:00
schedule restore nice and ionice
This commit is contained in:
parent
f969909866
commit
9400592892
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ is_backup_scheduled 'restore'
|
|||
# Adding restore task to the queue
|
||||
log=$VESTA/log/restore.log
|
||||
options="'$web' '$dns' '$mail' '$db' '$cron' '$udir'"
|
||||
echo "$BIN/v-restore-user $user $backup $options yes >> $log 2>&1" >>\
|
||||
echo "nice -n 19 ionice -c 3 $BIN/v-restore-user $user $backup $options yes >> $log 2>&1" >>\
|
||||
$VESTA/data/queue/backup.pipe
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue