Updated on 2024-10-17 GMT+08:00

Backing up DCS Instances Automatically

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.

Configuring Automated Backup Policies

  1. Log in to the DCS console.
  2. Click in the upper left corner of the management console and select the region where your instance is located.
  3. 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.

  4. Click the name of the desired DCS instance to go to the instance details page.
  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

    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.

    The automated backup can be disabled. The backup policies can be modified.

  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.