All Products
Search
Document Center

ApsaraDB RDS:Restore data across regions

Last Updated:Mar 28, 2026

When a source region becomes unavailable or data is accidentally modified, cross-region backups let you restore your ApsaraDB RDS for MySQL instance in a different region. Use this guide to restore data to a new instance (local disk or cloud disk) or to an existing instance.

Prerequisites

Before you begin, ensure that you have:

For other database engines, see Restore data across regions for SQL Server and Restore data across regions for PostgreSQL. For an overview of all restoration options, see Data restoration solution overview.

Usage notes

  • Database proxy and password reset: If the source instance has the database proxy feature enabled but no privileged account configured, reset the password before connecting to the restored instance.

  • Log backup synchronization and RPO: Cross-region log backups are synchronized in near real time. The system scans for changes in local binary logs (binlogs) every 2 seconds and incrementally uploads them to the destination region. Because of a short delay in scanning and transmission, you may not be able to recover data from the last second before a full regional outage.

Choose your restore path

This document covers three restore paths. Identify yours before proceeding:

GoalDisk typeGo to
Restore to a new instanceHigh-performance local diskRestore to a new instance — local disk
Restore to a new instanceCloud diskRestore to a new instance — cloud disk
Restore to an existing instanceHigh-performance local disk onlyRestore to an existing instance

Restore to a new instance

Restoring to a new instance does not affect the performance of the source instance. Both high-performance local disks and cloud disks are supported.

Restore to a new instance — local disk

Applies to: Instances that use high-performance local disks.

  1. Log in to the ApsaraDB RDS console. In the top navigation bar, select the region where the source instance is located.

  2. In the left navigation pane, click Backups.

  3. On the Cross-region Backup tab, click the Backup Instances tab, then click the ID of the source instance to open the Cross-region Backup Recovery page.

  4. In the Actions column of the target backup set, click Restore.

  5. Select Restore To New Instance and click OK.

  6. On the Restore Database page, configure the following parameters.

    The database engine, version, and edition match the source instance and cannot be changed.
    ParameterDescription
    Billing MethodSubscription: Pay upfront for a set term. More cost-effective for long-term use. Pay-as-you-go: Billed hourly. Release the instance at any time to stop charges. Suitable for short-term use.
    Restoration ModeBy Backup Set: Restore from a specific backup set. By Time Point: Restore to any point in time within the log backup retention period.
    By Backup SetWhen Restoration Mode is set to By Backup Set, select the backup set to restore from.
    Restore TimeWhen Restoration Mode is set to By Time Point, specify the target point in time. Both local and cross-region log backups are supported for point-in-time restore.
    RegionThe region where the new instance will be created.
    ZoneSingle-zone Deployment: The primary and standby nodes are in the same zone. Multi-zone Deployment (Recommended): The primary and standby nodes are deployed across different zones for disaster recovery. Not available for RDS Basic Edition.
    Note

    After the RDS instance is created, you can view information about the new RDS instance and its secondary RDS instance on the Service Availability page.

    Instance TypeDetermines the number of CPU cores, memory, maximum connections, and maximum IOPS. See Primary ApsaraDB RDS instance types.
    Storage CapacityIncludes space for data, system files, binary log files, and transaction files.
  7. Click Next: Instance Configuration, then configure the network type, resource group, and the following parameters.

    ParameterDescription
    Network TypeClassic Network: Traditional network type. VPC (Recommended): A virtual private cloud (VPC) provides higher security and better performance. Requires selecting the VPC and Primary Node vSwitch. The RDS instance and the ECS instance it connects to must use the same network type. If both use VPC, they must be in the same VPC.
    Resource GroupAssign the instance to a resource group to simplify resource and permission management. Select an existing group, create a new one, or use the Default Resource Group.
  8. Click Next: Confirm Order.

  9. In the Parameters section, review the configuration. Set the Purchase Plan and Duration (required for subscription billing), accept the Terms of Service, click Pay Now, and complete the payment.

    For subscription instances, enable Auto-Renew Enabled to avoid service interruptions if a payment becomes overdue.
  10. (Optional) Log in to the new instance and verify the data. See Connect to an ApsaraDB RDS for MySQL instance.

Restore to a new instance — cloud disk

Applies to: Instances that use cloud disks.

  1. Go to the Instances page. In the top navigation bar, select the region where the source instance is located, then click the instance ID.

  2. In the left navigation pane, click Backup and Restoration.

  3. Click the Cross-region Backups tab, then select a region from the Region of Backup Set list.

  4. In the Actions column of the target backup set, click Restore.

  5. On the Restore Database page, configure the following parameters.

    ParameterDescription
    Billing MethodSubscription: Pay upfront for a set term. More cost-effective for long-term use. Pay-as-you-go: Billed hourly. Release the instance at any time to stop charges. Suitable for short-term use.
    Restoration ModeBy Backup Set: Restore from a specific backup set. By Point In Time: Restore to any point in time within the log backup retention period.
    By Backup SetWhen Restoration Mode is set to By Backup Set, select the backup set to restore from.
    Restore TimeWhen Restoration Mode is set to By Point In Time, select the target point in time. Both local and cross-region log backups are supported for point-in-time restore.
    RegionThe region where the new instance will be created.
    ZoneAn independent physical area within a region. Place the new RDS instance and its connected ECS instance in the same zone or different zones based on your availability requirements.
    Instance TypeDetermines the number of CPU cores, memory, maximum connections, and maximum IOPS. See Primary instance types.
    Storage CapacityIncludes space for data, system files, binary log files, and transaction files.
  6. Click Next: Instance Configuration, then configure the network type, resource group, and the following parameters.

    ParameterDescription
    Network TypeClassic Network: Traditional network type. VPC (Recommended): A virtual private cloud (VPC) provides higher security and better performance. Requires selecting the VPC and Primary Node vSwitch. The RDS instance and the ECS instance it connects to must use the same network type. If both use VPC, they must be in the same VPC.
    Resource GroupAssign the instance to a resource group to simplify resource and permission management. Select an existing group, create a new one, or use the Default Resource Group.
  7. Click Next: Confirm Order.

  8. In the Parameters section, review the configuration. Set the Purchase Plan and Duration (required for subscription billing), accept the Terms of Service, click Pay Now, and complete the payment.

    For subscription instances, enable Auto-Renew Enabled to avoid service interruptions if a payment becomes overdue.
  9. (Optional) Log in to the new instance and verify the data. See Connect to an ApsaraDB RDS for MySQL instance.

Restore to an existing instance

Applies to: Instances that use high-performance local disks only. Cloud disk instances do not support cross-region restore to an existing instance.

Before you begin, ensure that the destination instance has at least one available database- and table-level backup set.

  1. Log in to the ApsaraDB RDS console. In the top navigation bar, select the region where the source instance is located.

  2. In the left navigation pane, click Backups.

  3. On the Cross-region Backup tab, click the Backup Instances tab, then click the ID of the source instance to open the Cross-region Backup Recovery page.

  4. In the Actions column of the target backup set, click Restore.

  5. Select Restore To Existing Instance and click OK.

  6. In the dialog box that appears, configure the following parameters.

    ParameterDescription
    Restore MethodBy Backup Set: Restore from a specific backup set. By Point In Time: Restore to a point in time within the log backup retention period.
    RegionThe region where the destination instance is located.
    Destination Instance NameThe destination instance to restore data to.
    Databases And Tables To RestoreSelect the databases and tables to restore.
    Selected Databases And TablesSet names for the restored databases and tables. The suffix _backup is appended to the original names by default.
  7. Click OK.

What to do next

After the new instance is created, complete the following steps before connecting to it:

  1. Configure a whitelist to allow inbound connections.

  2. Create a database account.

  3. (Optional) Apply for a public endpoint if you need to connect over the internet.

  4. Connect to the instance.

API reference

APIDescription
Precheck a cross-region backupChecks whether an RDS instance has a cross-region backup set available for cross-region restore.
Restore data to a new instance across regionsRestores data to a new instance across regions.
Modify cross-region backup settingsModifies the cross-region backup settings of an RDS instance.
Query cross-region backup settingsQueries the cross-region backup settings of an RDS instance.
Query cross-region data backup filesQueries the list of cross-region data backup files.
Query cross-region log backup filesQueries the list of cross-region log backup files.
Query available cross-region backup regionsQueries the destination regions available for cross-region backup from a selected source region.
Query the restorable time rangeQueries the time range to which data can be restored using a cross-region backup set.
Query cross-region backup instancesQueries the instances with cross-region backup enabled in a specified region.

References