From 0bab3cdf97df00d69e0547fad1007ae71ce5082d Mon Sep 17 00:00:00 2001 From: myvesta <38690722+myvesta@users.noreply.github.com> Date: Mon, 29 Oct 2018 12:52:43 +0100 Subject: [PATCH] Auto-repair all databases before backuping all accounts --- bin/v-backup-users | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bin/v-backup-users b/bin/v-backup-users index a4ecd37d..f27b9195 100755 --- a/bin/v-backup-users +++ b/bin/v-backup-users @@ -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