blob: 6e59da6d43a2551be92592b56666d4aac811b6c4 (
plain)
1
2
3
4
5
6
7
8
9
|
GRANT ALL PRIVILEGES on *.* TO backup_user IDENTIFIED by 'x' REQUIRE SSL;
FLUSH PRIVILEGES;
# xtrabackup backup
# xtrabackup prepare
# shutdown server
# remove datadir
# xtrabackup move back
# restart server
DROP USER backup_user;
|