Here’s a look at using MySQL Enterprise Backup in a specific example:
Consider a Backup Policy – Full Backup of the environment. – Complemental Incremental backups & online BinLogs. And the Restore: – Logical Restore. – Online, Zero impact. – Partial, single database, group of tables. The Backup A working environment, with 4 databases, of which 2 will require restoration. Full backup with MySQL Enterprise Backup:
mysqlbackup --user=root --socket=/tmp/mysql.sock \ --backup-dir=/home/mysql/voju5/backup/ \ --with-timestamp backup
Test preparation Create 4 different databases, where the structure & content is the same.
create database v5_1; use v5_1; create table `voju5` ( `ID` int(7) NOT NULL AUTO_INCREMENT, `Name` char(20) NOT NULL DEFAULT '‘, PRIMARY KEY (`ID`) ) ENGINE=InnoDB; create database v5_2; use v5_2; create table `voju5` (..); create database v5_3; use v5_3; create …[Read more]