mirror of
https://github.com/myvesta/vesta.git
synced 2025-03-12 04:35:23 -07:00
Fix for: mv: cannot stat '/usr/local/vesta/log/backup.log'
This commit is contained in:
parent
9a746ea484
commit
82d00b4a5c
@ -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…
x
Reference in New Issue
Block a user