Skip to content

Commit 0bab3cd

Browse files
authored
Auto-repair all databases before backuping all accounts
1 parent fce6abd commit 0bab3cd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

bin/v-backup-users

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ source $VESTA/conf/vesta.conf
2424

2525
$BIN/v-check-vesta-license >/dev/null
2626

27+
# Auto-repair all databases before backuping all accounts
28+
mysqlrepair --all-databases --check --auto-repair
29+
2730
if [ -z "$BACKUP_SYSTEM" ]; then
2831
exit
2932
fi

0 commit comments

Comments
 (0)