Download a data backup or a log backup

更新时间:
复制 MD 格式

ApsaraDB for MyBase lets you download unencrypted data and log backups directly to an Elastic Compute Service (ECS) instance or your local machine. Use downloaded backups to restore data to an on-premises database or archive them for long-term retention.

Prerequisites

Before you begin, make sure you have:

  • An ApsaraDB for MyBase MySQL instance with at least one data backup or log backup

  • (Optional) An ECS instance in the same virtual private cloud (VPC) as your database instance, if you want to use the internal network for faster downloads

Download a data backup

  1. Log on to the ApsaraDB for MyBase console.

  2. In the upper-left corner of the page, select a region.

  3. In the left-side navigation pane, choose Instances > MySQL.

  4. Find the instance you want to manage, and click Details in the Actions column.

  5. In the left-side navigation pane, click Backup and Restoration.

  6. On the Data Backup tab, select a start date and an end date from the drop-down list to filter backups.

  7. Find the backup you want to download, and click Download Instance Backup in the Actions column.

  8. In the dialog box that appears, choose a download method:

    MethodWhen to use
    DownloadDownloads immediately using the public network. Works from any machine.
    Copy Internal URLCopies the internal endpoint. Use this on an ECS instance in the same VPC for faster, more reliable downloads.
    Copy Public URLCopies the public endpoint. Use this when internal network access is not available.
Snapshot backups cannot be downloaded.

Download a log backup

  1. Log on to the ApsaraDB for MyBase console.

  2. In the upper-left corner of the page, select a region.

  3. In the left-side navigation pane, choose Instances > MySQL.

  4. Find the instance you want to manage, and click Details in the Actions column.

  5. In the left-side navigation pane, click Backup and Restoration.

  6. Click the Log Backup tab. Select a start date and an end date from the drop-down list to filter backups.

  7. Find the backup you want to download, and click Download in the Actions column.

  8. In the dialog box that appears, choose a download method:

    MethodWhen to use
    DownloadDownloads immediately using the public network. Works from any machine.
    Copy Internal URLCopies the internal endpoint. Use this on an ECS instance in the same VPC for faster, more reliable downloads.
    Copy Public URLCopies the public endpoint. Use this when internal network access is not available.

What to do next

After downloading the backup, you can:

  • Restore the data to an on-premises database.

  • Archive the backup files for long-term storage.