Ali cloud RDS backup files to restore self-built database (mysql)

1, refer to the official document: https: //help.aliyun.com/knowledge_detail/41817.html spm = 5176.11065259.1996646101.searchclickresult.c7c7321cwLnuFj?

 

2, centos7 four-step installation mysql5.6

    rpm -Uvh http://dev.mysql.com/get/mysql-community-release-el7-5.noarch.rpm

    yum repolist enabled | grep "mysql * - community *.." (see mysql installation resources currently available)

    yum -y install mysql-community-server

    Start mysqld systemctl
    # Tips: default path is /etc/my.cnf,datadir my.cnf mysql installation path / var / lib / mysql

 

3, Centos 7 mounted xtrabackup-2.4.8 General Packet, yum installation, full backup, incremental backup

    [root@001 ~]# yum install http://www.percona.com/downloads/percona-release/redhat/0.1-4/percona-release-0.1-4.noarch.rpm

    [root@001 ~]# yum list | grep percona

    [root@001 ~]# yum install percona-xtrabackup-24 -y # 卸载命令:yum remove percona-xtrabackup 

 

Note: MySQL 5.6 and earlier versions will need to install Percona XtraBackup 2.3.
       MySQL 5.7 version needs to be installed Percona XtraBackup 2.4.

Guess you like

Origin blog.csdn.net/qq_25594727/article/details/87723305
Recommended