Updated on 2024-06-20 GMT+08:00

Manually Backing Up a DCS Instance

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.

Procedure

  1. Log in to the management console, and choose Application > Distributed Cache Service in the service list.
  2. Click in the upper left corner of the 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.

    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.