My Oracle Support Banner

How to Use MySQL Enterprise Backup (MEB) to Backup from Slave And Restore to Master (Doc ID 2042092.1)

Last updated on MARCH 24, 2020

Applies to:

MySQL Enterprise Backup - Version 3.10 and later
MySQL Server - Version 5.6 and later
Generic Linux


How to use MySQL Enterprise Backup (MEB) to backup from Slave and restore to Master.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document
 1- Create backup from slave
 2- Copy backup to master
 On the Master:
 3- Shut down MySQL on master
 4- Remove the old data
 5- Restore the data
 6- Change mysql directory ownership to mysql user
 7- If you're using SELinux
 8- Prevent writes
 9- Start mysql service
 10- Then you need to change master on the slave based on the master's new coordinates:
 11- Re-enable writing on the master then restart MySQL

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.