MySQL 8 has recently released clone plugin which makes DBA’s task of rebuilding the DB servers more easy.
- Cloning is a process of creating an exact copy of the original. In technical terms cloning alias to (Backup + Recovery), MySQL database cloning requires a sequence of actions to be performed manually or in a scripted fashion with and without the tools involved.
- Cloning is the first step when you want to configure the replication slave or Joining a new server to the InnoDB cluster. There was no native support for auto provisioning earlier. Percona XtraDB Cluster (MySQL + Galera Cluster) does cloning using xtrabackup tool by default when a new node joins the cluster.
- Now MySQL simplified this task, In this post, We will see how to clone the database using clone plugin and its internals.