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

Backing up DCS Instances Manually

You can manually back up data in DCS instances in a timely manner. This section describes how to manually back up data in master/standby instances using the DCS console.

The latest backup files (up to 24) are always stored unless they are manually deleted.

  • A total of 24 latest backups (automatic and manual) can be stored. To store the 25th backup, the earliest one will be automatically deleted.
  • Deleting an instance removes its backups. To restore them, download and save them in advance.

Prerequisites

A master/standby, cluster, or read/write splitting DCS instance is in the Running state.

Backing up DCS Instances Manually

  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 details page.
  5. On the instance details page, click Backups & Restorations.
  6. Click Create Backup.
  7. Select RDB or AOF for the backup file format.

    Basic and professional (performance) edition DCS Redis 4.0, 5.0, and 6.0 instances support backup files in RDB or AOF formats. Professional (storage) edition instances support the RDB format. DCS Redis 3.0 instances support only the RDB format.

    If you select AOF, data will be backed up on the standby node first. The standby node's AOF will be rewritten.

  8. In the Create Backup dialog box, click OK.

    Information in the Description text box cannot exceed 128 bytes.

    Instance backup takes 10 to 15 minutes. The data added or modified during the backup process will not be backed up.