This topic describes how to restore the data of an ApsaraDB RDS for MySQL instance from a cross-region backup file to an existing or new RDS instance. The existing or new RDS instance must reside in the region to which the original RDS instance belongs or in the region where the cross-region backup file is stored.
Prerequisites
- For more information about how to restore the data of an ApsaraDB RDS for SQL Server instance cross regions, see Restore the data of an ApsaraDB RDS for SQL Server instance across regions.
- For more information about how to restore the data of an ApsaraDB RDS for PostgreSQL instance across regions, see Restore the data of an ApsaraDB RDS for PostgreSQL instance across regions.
Precautions
Before you can connect to the new RDS instance to which you want to restore data, you may need to reset the password of the logged-on account. This applies if the original RDS instance has the database proxy feature enabled and does not have a privileged account.
Restore data to a new RDS instance
Restore data to an existing RDS instance
References
After you create an RDS instance, you must configure IP address whitelists or security groups and create accounts. For more information, see Configure an IP address whitelist for an ApsaraDB RDS for MySQL instance and Create accounts and databases for an ApsaraDB RDS for MySQL instance. If you want to connect to the RDS instance over the Internet, you must also apply for a public endpoint. For more information, see Apply for or release a public endpoint on an ApsaraDB RDS for MySQL instance. After you complete these operations, you can connect to the RDS instance. For more information, see Connect to an ApsaraDB RDS for MySQL instance.
Related operations
Operation | Description |
---|---|
Check cross-region backup | Checks whether an ApsaraDB RDS instance has a cross-region data backup file that can be used to restore data across regions. |
Restore data to a new instance across regions | Restores the data of an ApsaraDB RDS instance to a new RDS instance that resides in a different region than the original RDS instance. |
Modify cross-region backup settings | Modifies the cross-region backup settings of an ApsaraDB RDS instance. |
Query cross-region backup settings | Queries the cross-region backup settings of an ApsaraDB RDS instance. |
Query cross-region data backup files | Queries the cross-region data backup files of an ApsaraDB RDS instance. |
Query cross-region log backup files | Queries the cross-region log backup files of an ApsaraDB RDS instance. |
Query regions that support cross-region backup | Queries the regions to which the cross-region backup files from the current region can be restored. |
Query the time range to which you can restore data by using a cross-region backup set | Queries the restorable time range that is supported by a cross-region backup file. |
Query ApsaraDB for RDS instances on which cross-region backup is enabled | Queries the ApsaraDB RDS instances for which the cross-region backup feature is enabled in a region and the cross-region backup settings of these instances. |