Configuring an Intra-Region Backup Policy
If a DB instance fails or its data is damaged, you can restore it from backups to ensure data reliability. You can customize an intra-region backup policy as required and then RDS backs up data based on the backup policy you configured. This section describes how to configure an intra-region backup policy.
Notes
- The backups generated using the intra-region backup policy are full backups. Binlog backups are incremental backups automatically generated by RDS every 5 minutes.
- RDS backs up data at the DB instance level, rather than the database level.
- Backups are saved as packages in OBS buckets to ensure data confidentiality and durability.
- When you create an RDS DB instance, intra-region backup is enabled by default. For security purposes, this function cannot be disabled after the instance is created.
Precautions
- Since backing up data affects database read and write performance, the backup time window should be set to off-peak hours.
- Intra-region backups cannot be manually deleted. To delete them, you can adjust the retention period specified in your intra-region backup policy. Retained backup files will be automatically deleted at the end of the retention period.
Constraints
- Rebooting the instance is not allowed during full backup. Exercise caution when selecting a backup time window.
- The system verifies the connection to the DB instance when starting a full backup task. If either of the following conditions is met, the verification fails and a retry is automatically performed. If the retry fails, the backup will fail.
- DDL operations are being performed on the DB instance.
- The backup lock failed to be obtained from the DB instance.
Billing
Backups are saved as packages in OBS buckets.
Viewing or Modifying an Intra-Region Backup Policy
- Log in to the management console.
- Click in the upper left corner of the page and choose Databases > Relational Database Service.
- On the Instances page, click the DB instance name.
- In the navigation pane on the left, choose Backups & Restorations. On the displayed page, click Intra-Region Backup Policies.
Figure 1 Modifying a backup policy
- View the configured backup policy. To modify the backup policy, adjust the values of the following parameters:
Table 1 Parameter description Parameter
Description
Retention Period
How many days your automated full backups and binlog backups can be retained. The retention period is from 1 to 732 days and the default value is 7.
- Extending the retention period improves data reliability.
- Reducing the retention period takes effect for all backups. Any backups that have expired will be automatically deleted.
Time Window
A one-hour period the backup will be scheduled within 24 hours, such as 01:00-02:00 or 12:00-13:00.
The backup time window indicates when the backup starts. The backup duration depends on the data volume of your instance.
Backup Cycle
By default, each day of the week is selected. You can change the backup cycle and must select at least one day of the week.
- Click OK.
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