This topic describes how to configure a Database Backup (DBS) backup instance. You need to add the databases that you want to back up to a backup instance. Then, DBS automatically backs up these databases.
Prerequisites
The data source is an ApsaraDB RDS for MySQL instance.
A backup instance is purchased, and an authorized account is added to the backup instance. For more information, see Purchase a backup instance and Add a database account.
NoteMake sure that the account has the permissions required to back up and restore the specified databases. For more information, see Account permissions.
Usage notes
Cross-region backup is not supported.
When DBS backs up a database, the performance of the database is affected. We recommend that you run backup tasks during off-peak hours.
DBS automatically creates the following default backup policy when you configure a backup instance. You do not need to specify the backup cycle or retention period for backup sets.
Data backup: This feature is enabled by default and cannot be disabled. Data is backed up every Monday, Wednesday, Friday, and Sunday. The retention period of data backup sets is seven days. You can modify the backup policy for data backup based on your business requirements after you configure a backup instance. For more information, see View or modify the backup policy of a backup instance.
Log backup: By default, this feature is enabled, and logs are readable. You cannot disable this feature. The retention period of log backup sets is 30 days and cannot be changed.
Billing
After you start a backup instance, you are charged for backup fees and storage fees of backup sets. You cannot use resource plans to offset the fees of backup instances. No fees are charged if you configure a backup instance but do not start it.
Billable item | Description |
Backup fees | The free quota for data backup varies based on backup instance specifications. If the volume of backup data does not exceed the free quota for data backup, you are not charged any fees. If the volume of backup data exceeds the free quota, you are charged for the excess data. For more information, see Backup fees. |
Storage fees | The backup sets generated by a backup instance are stored in the DBS built-in storage. You are charged storage fees. For more information, see Storage fees. |
Procedure
Access the Data Source page in the DBS console. In the top navigation bar, select a region. Then, click the ID of the desired instance.
In the left-side navigation pane, click Backup Policy.
On the Backup Policy page, click the Logical Backup tab.
Click Configure Backup Policy.

In the Select Backup Schedule step, select the backup instance that you want to configure and click Next.

In the Select Account to Authorize step, select the database account that you want to use and click Next.
If no account is displayed, you can click Add Account to Authorize to add an account before you proceed to the next step. Make sure that the account has the permissions required to back up and restore the specified databases. For more information, see Account permissions.
In the Select Database and Table step, select the databases and tables that you want to back up, click the
icon to move them to the Selected Objects section, and then click Submit. 
Wait until the precheck is complete. Then, click Start in the Precheck dialog box.
NoteIf you want to perform other operations first, such as modifying the backup policy, you can choose not to immediately start the backup instance. However, DBS will automatically start the backup instance based on the backup policy.
You can click Start next to Backup Status on the Logical Backup tab to manually start the backup instance. After you click Start, DBS immediately initiates a full and incremental backup task.
Optional. View the progress of the backup task.
In the left-side navigation pane, click Task Management. On the Backup Task tab, view the progress of the backup task.
References
FAQ
What do I do if a database account fails to pass the mysql JDBC Connect diagnostics when I add the database account?
The database account or password is incorrectly entered, or the database password contains special characters. For more information about how to troubleshoot this issue, see the "Usage notes" section of the Add a database account topic.