Configuring an Automatic Backup Policy
On the DCS console, you can configure an automatic backup policy. The system then backs up data in your instances according to the backup policy.
By default, automatic backup is disabled. To enable it, perform the operations described in this section. Single-node instances do not support backup and restoration.
If automatic backup is not required, disable the automatic backup function in the backup policy.
Prerequisites
A master/standby, cluster, or read/write splitting DCS instance is in the Running state.
Procedure
- Log in to the management console, and choose Application > Distributed Cache Service in the service list.
- Click in the upper left corner of the management console and select the region where your instance is located.
- In the navigation pane, choose Cache Manager.
Filter DCS instances to find the desired DCS instance. Currently, you can search instances by name, specification, ID, IP address, AZ, status, instance type, cache engine, and many other attributes.
- Click the name of the desired DCS instance to go to the details page.
- On the instance details page, click Backups & Restorations.
- Slide to the right to enable automatic backup. Backup policies will be displayed.
Table 1 Parameters in a backup policy Parameter
Description
Backup Schedule
Day of a week on which data in the chosen DCS instance is automatically backed up.
You can select one or multiple days of a week.
Retention Period (days)
The number of days that automatically backed up data is retained.
Backup data will be permanently deleted at the end of retention period and cannot be restored. Value range: 1–7.
Start Time
Time at which automatic backup starts. Value: the full hour between 00:00 to 23:00
DCS checks backup policies once every hour. If the backup start time in a backup policy has arrived, data in the corresponding instance is backed up.
NOTE:Instance backup takes 5 to 30 minutes. The data added or modified during the backup process will not be backed up. To reduce the impact of backup on services, it is recommended that data should be backed up during off-peak periods.
Only instances in the Running state can be backed up.
- Click OK.
- Automatic backup starts at the scheduled time. You can view backup records on the current page.
After the backup is complete, click Download, Restore, or Delete next to the backup record as required.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.