- Percona xtrabackup
- Git
Clone repository (in both servers):
git clone https://github.com/alexmanno/xtrabackup-tools
Run:
sudo ~/xtrabackup-tools/percona_backup.sh
Warning: During the restore phase, the mysql service is disabled and the current data is deleted.
Run:
sudo ~/xtrabackup-tools/percona_restore.sh