Auto-repair all databases before backuping all accounts

This commit is contained in:
myvesta 2018-10-29 12:52:43 +01:00 committed by GitHub
commit 0bab3cdf97
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -24,6 +24,9 @@ source $VESTA/conf/vesta.conf
$BIN/v-check-vesta-license >/dev/null
# Auto-repair all databases before backuping all accounts
mysqlrepair --all-databases --check --auto-repair
if [ -z "$BACKUP_SYSTEM" ]; then
exit
fi