Clone database with Percona xtrabackup

Links: https://www.percona.com/doc/percona-xtrabackup/LATEST/installation/apt_repo.html https://www.percona.com/doc/percona-xtrabackup/LATEST/howtos/setting_up_replication.html Steps: try to switch mysql user using sudo su mysql if it does not work you will have to...