added user backup/restore logging

This commit is contained in:
Serghey Rodin 2013-10-21 17:47:10 +03:00
commit bfa65982ca
2 changed files with 6 additions and 3 deletions

View file

@ -34,7 +34,9 @@ is_backup_scheduled 'backup'
#----------------------------------------------------------#
# Adding backup task to the queue
echo "$BIN/v-backup-user $user yes" >> $VESTA/data/queue/backup.pipe
log=$VESTA/log/backup.log
echo "$BIN/v-backup-user $user yes >> $log 2>&1" >>\
$VESTA/data/queue/backup.pipe
#----------------------------------------------------------#