Restoring a DB Instance from a Cross-region Backup
Scenarios
GaussDB(for MySQL) can store backups in a different region from your DB instance. If your DB instance is faulty, you can use a backup to restore data to a new DB instance in the region where the backup is stored.
Prerequisites
A cross-region backup has been created. For details, see Configuring a Cross-Region Backup Policy.
Procedure
- Log in to the management console.
- Click in the upper left corner and select a region and project.
- Click in the upper left corner of the page and choose Databases > GaussDB(for MySQL).
- In the upper left corner of the page, select the region where the backup is located.
- In the navigation pane, choose Backups. On the displayed page, click the Cross-Region Backups tab.
- Locate the target DB instance and click View Cross-Region Backup in the Operation column.
Figure 1 Cross-region backups
- On the displayed page, select the backup to be restored.
Currently, full and incremental backups can be restored to new DB instances.
Restoring a full backup- Locate the target backup and click Restore in the Operation column.
Figure 2 Restoring a full backup
- In the displayed dialog box, confirm instance details and click OK.
Figure 3 Restoring a full backup to a new DB instance
- On the displayed page, set the parameters of the new DB instance and click Next.
- The region, DB engine, and DB engine version are the same as those of the original DB instance and cannot be changed.
- The default database port is 3306.
- Other settings are the same as those of the original DB instance by default but can be modified. For details, see Buying a DB Instance.
Restoring an incremental backup
- Click Restore to Point in Time.
Figure 4 Restoring an incremental backup
- Select the date and time range, and select or enter a time point within the time range.
Figure 5 Restoring an incremental backup to a point in time
- Click OK.
- On the displayed page, set the parameters of the new DB instance and click Next.
- The region, DB engine, and DB engine version are the same as those of the original DB instance and cannot be changed.
- The default database port is 3306.
- Other settings are the same as those of the original DB instance by default but can be modified. For details, see Buying a DB Instance.
- Locate the target backup and click Restore in the Operation column.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot