All Products
Search
Document Center

Automatically archive backup sets to backup servers

Last Updated: May 30, 2020

Database Backup (DBS) can automatically archive backup sets to backup servers. Backup sets under an internal RDS account can be archived to servers under a backup account. This way, data of the two accounts is isolated from each other to avoid the risk of data loss caused by database deletion. This topic describes how to automatically archive ApsaraDB for RDS backup sets to ECS instances.

Click here to request a free trial of DBS>>.

How it works

DBS can automatically download backup sets. Backup sets within an internal RDS account can be automatically archived to servers under a backup account. Disabling automatic download of backup sets through the internal RDS account does not affect the automatic archiving of backup sets to backup servers.

  • Use an internal RDS account to create a DBS backup schedule and enable automatic backup.
  • Use a backup account to purchase an ECS instance as a backup server.
  • Install a backup gateway on the ECS instance through the AccessKey pair of the internal RDS account.
  • Use the internal RDS account to enable automatic download of backup sets.

Procedure

1. Create a backup schedule through an internal RDS account

Go to the DBS buy page to create a backup schedule. For more information, see Create a backup schedule.

2. Configure the backup schedule through the internal RDS account

Log on to the DBS console and click Backup Schedules in the left-side navigation pane. On the Backup Schedules page, click Configure Backup Schedule in the Actions column corresponding to the backup schedule. In the Configure Backup Source and Destination step of the Configure Backup Schedule wizard, select RDS Instance from the Database Location drop-down list. 1

For more information, see Configure a backup schedule.

3. Install a backup gateway through a backup account

Log on to the DBS console, obtain the installation command of the backup gateway, and then install the backup gateway on the ECS instance.

Install the backup gateway.

Enter the AccessKey pair of the internal RDS account.

4. Enable automatic download of backup sets through the internal RDS account

Log on to the DBS console and click Backup Schedules in the left-side navigation pane. On the Backup Schedules page, click the backup schedule to go to the Configure Task page. In the Backup set download section, click Set backup set download rules.2

5. View the download progress of backup sets through the internal RDS account

In the left-side navigation pane of the Configure Task page, click Backup Set Download. On the page that appears, view the download progress of backup sets.