Before you use Cloud Backup to back up a MySQL database deployed on an Elastic Compute Service (ECS) instance, you must register the MySQL database in the Cloud Backup console. When you register a MySQL database, Cloud Backup installs a client on the ECS instance. Then, you can back up the MySQL database.
Prerequisites
Cloud Backup is activated. You are not charged for activating Cloud Backup. You are charged for using the database backup feature of Cloud Backup based on the following billable items:
Rental of database backup vaults. Backup vaults are free of charge for each UID for 30 days. A free capacity of 100 GB is provided for each backup vault per month.
Storage usage of database backup vaults. You are charged for the backup storage based on the storage space occupied by the data that is deduplicated and compressed. Backup vaults are free of charge for 30 days. After the free trial period ends, you are charged based on tiered pricing.
NoteYou are not charged for using Cloud Backup if you only register a MySQL database in the Cloud Backup console.
For more information, see Pricing of Cloud Backup.
The preparations for using Cloud Backup are complete. For more information, see Before you begin.
Usage notes
You are not charged for using Cloud Backup if you only register a MySQL database in the Cloud Backup console.
Cloud Backup supports a limited number of database versions, operating systems, and backup features. For example, Cloud Backup does not support backup of a MySQL database deployed on Windows. For more information, see the "Supported database versions" section in Overview (ECS-hosted databases).
The MySQL backup feature does not support anti-ransomware policies for databases or databases that are deployed in containers.
Procedure
Log on to the Cloud Backup console.
In the left-side navigation pane, choose
. In the top navigation bar, select a region. On the Database Backup page, click the MySQL tab. On the ECS Database Instance tab, click Register Database Instance.On the Select Database Instance tab in the Register MySQL database instance panel, select the database that you want to register and click Next.
NoteAll the ECS-hosted databases in the current region are displayed. If you cannot find the database that you want to register, you can click Discover Database. Cloud Assistant automatically scans all databases and discovers the ECS-hosted databases.
In the Config Link Info step, configure the parameters and click OK. The following table describes the parameters.
Parameter
Description
Database Account
The username of the database instance.
The minimum permission set of the user is RELOAD, LOCK TABLES, REPLICATION, and PROCESS. For more information, see Before you begin.
Password
The user password.
After you register the MySQL database, Cloud Backup installs a client for ECS backup on each node of the MySQL database. On the ECS Database Instance tab, you can view the installation status of the Cloud Backup client on each node of the MySQL database. If a new client version is available, we recommend that you Upgrade the client at the earliest opportunity.
Unregister a MySQL database
After you cancel database backup, your backup data is deleted and cannot be restored. Proceed with caution.
If you no longer need to back up a MySQL database, perform the following operations to unregister the database: Click the ECS Database Instance tab. Then, choose
in the Actions column of the database.When you unregister the database, Cloud Backup automatically uninstalls the Cloud Backup client from the ECS instance.
FAQ
What to do next
References
For more information about the benefits, working mechanisms, procedures, and limits of the database backup feature, see Overview (ECS-hosted databases) and Overview (on-premises databases).