Before you can back up a MySQL database on an ECS instance using Cloud Backup, you must register the database instance in the Cloud Backup console. During registration, Cloud Backup installs a backup client on the ECS instance. You can then back up the MySQL database.
Prerequisites
The Cloud Backup service is activated. Activating Cloud Backup is free. The following fees are charged when you use the Database Backup feature of Cloud Backup:
Database backup repository fee. This fee is waived for the first 30 days for each Alibaba Cloud account (UID) and includes 100 GB of free storage capacity per repository each month.
Database backup storage fee. This fee is based on the storage capacity that is used after deduplication and compression. This fee is waived for the first 30 days. After this period, tiered pricing applies.
- Note
If you only register the MySQL database in the console and do not create a backup plan, Cloud Backup does not charge any fees.
For more information about pricing, see Pricing.
You have completed the preparations.
Notes
If you only register the MySQL database in the console and do not create a backup plan, Cloud Backup does not charge any fees.
This feature has limits on the supported database versions, operating systems, and backup features. For example, you cannot back up MySQL databases that are deployed on Windows. For more information, see Compatibility list and limits.
The MySQL backup feature does not support anti-ransomware backup or backups of databases that are deployed in containers.
Procedure
Log on to the Cloud Backup console.
In the navigation pane on the left, choose , select a region, and then click MySQL. On the ECS Database Instance tab, click Register Database Instance.

In the Register MySQL Database Instance panel, on the Select Database Instance tab, select the database that you want to register and click Next.
NoteThe system automatically loads all database resources on ECS instances in the selected region. If you cannot find the database instance, click Discover Database. Cloud Assistant then automatically scans for and discovers database instances on your ECS instances.

On the Config Link Info tab, configure the parameters as described in the following table, and click OK.
Parameter
Description
Database Account
The username of the database instance.
The user must have the following least privileges: RELOAD, LOCK TABLES, REPLICATION, and PROCESS. For more information, see Preparations.
Password
The password of the user.
After the instance is registered, Cloud Backup installs a backup client on the ECS instance. You can view the installation status of the backup client on the ECS Database Instance tab. If a new client version is available, we recommend that you Upgrade the client at your earliest convenience.

Unregister a MySQL database
If you cancel the database backup, your backup data will be deleted and cannot be recovered. This action is irreversible.
If you no longer need to back up a MySQL database instance, go to the ECS Database Instance tab. In the Actions column for the instance, choose .
When you unregister a database instance, Cloud Backup automatically uninstalls the backup client from the ECS instance. No manual uninstallation is required.
FAQ
What to do next
References
For more information about the benefits, working principles, procedures, and limits of database backup, see Features (ECS databases) and Features (on-premises databases).