mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-22 06:14:19 -07:00
Fix for: mv: cannot stat '/usr/local/vesta/log/backup.log'
This commit is contained in:
parent
9a746ea484
commit
82d00b4a5c
1 changed files with 1 additions and 1 deletions
|
@ -39,9 +39,9 @@ log=$VESTA/log/backup.log
|
|||
|
||||
$BIN/v-check-vesta-license >/dev/null
|
||||
|
||||
touch $log
|
||||
if [ ! -z "$NOTIFY_ADMIN_FULL_BACKUP" ]; then
|
||||
mv $log $log-`date +"%Y-%m-%d--%H:%M:%S"`
|
||||
touch $log
|
||||
fi
|
||||
|
||||
# Auto-repair all databases before backuping all accounts
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue