Register a MySQL database (ECS)
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 start backing up the MySQL database.
Prerequisites
-
You have activated the Alibaba Cloud Cloud Backup service. Activating Cloud Backup is free. Using the Database Backup feature of Cloud Backup incurs the following fees:
-
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 Before you begin step.
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.
-
The supported database versions, operating systems, and backup features are subject to limits. For example, MySQL databases deployed on Windows cannot be backed up. 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, click , 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 tab, configure the following settings.
-
Select the account to which the resource that you want to back up belongs.
Specified Account: Specifies the account from which the resource to back up comes. The current account is selected by default. You can select an account that has been added for backup. Only one account can be selected. To manage cross-account backup, click Back up across accounts.
-
Select the target database 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 to use Cloud Assistant to automatically scan for and discover database instances on your ECS instances.
-
-
On the Config Link Info tab, enter the required information as described in the following table and click OK.
Parameter
Description
Database Account
The username of the database instance.
The user must have at least the following privileges: RELOAD, LOCK TABLES, REPLICATION CLIENT, REPLICATION SLAVE, and PROCESS. For more information, see Before you begin.
Password
The password of the user.
After the instance is registered, Cloud Backup installs a backup client on the MySQL node. You can view the installation status of the backup client for nodes in the MySQL instance on the ECS Database Instance tab. If you are prompted that a new client version is available, we recommend that you Upgrade the client as soon as possible.
Unregister a MySQL database
If you cancel the database backup, your backup data is deleted and cannot be recovered. Evaluate the impact carefully before you proceed.
If you no longer need to back up a MySQL database instance, on the ECS Database Instance tab, choose in the Actions column to the right of the instance.
When you unregister a database instance, Cloud Backup automatically uninstalls the backup client from the ECS instance. You do not need to uninstall it manually.
FAQ
What to do next
References
-
For more information about the benefits, working principles, procedures, and limits of database backup, see ECS database backup and On-premises database backup.