Updated on 2024-11-26 GMT+08:00

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 or cluster DCS instance is in the Running state.

Procedure

  1. Log in to the DCS console.
  2. Click in the upper left corner and select a region and a project.
  3. In the navigation pane, choose Cache Manager.
  4. Click the name of the DCS instance to display more details about the DCS instance.
  5. On the instance details page, click Backups & Restorations.
  6. 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

    The 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.

  7. Click OK.
  8. 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.

    If the error "111400104 The DCS instance is recovering from an internal fault. Please try again." is displayed, contact O&M personnel.