mirror of
https://github.com/myvesta/vesta
synced 2025-08-20 13:24:25 -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
|
$BIN/v-check-vesta-license >/dev/null
|
||||||
|
|
||||||
|
touch $log
|
||||||
if [ ! -z "$NOTIFY_ADMIN_FULL_BACKUP" ]; then
|
if [ ! -z "$NOTIFY_ADMIN_FULL_BACKUP" ]; then
|
||||||
mv $log $log-`date +"%Y-%m-%d--%H:%M:%S"`
|
mv $log $log-`date +"%Y-%m-%d--%H:%M:%S"`
|
||||||
touch $log
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Auto-repair all databases before backuping all accounts
|
# Auto-repair all databases before backuping all accounts
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue