All Products
Search
Document Center

ApsaraDB for Memcache:Backup and recovery

最終更新日:Aug 08, 2023

Automatic backup (backup policy setting)

  1. Log on to the Memcache console and locate the target instance.

  2. Click the instance ID or Manage to go to the Instance Information page.

  3. Select Backup and Recovery in the left-side navigation pane.

  4. Click Backup Settings.

  5. Click Edit to set Backup cycle and Backup time.

    Note

    Note: By default, backup data is retained for 7 days. This setting cannot be modified.

  6. Click OK to complete automatic backup settings.

Manual backup (instant backup)

In addition to the general backup settings, you can initiate a manual backup request on the console at any time.

  1. Log on to the Memcache console and locate the target instance.

  2. Click the instance ID or Manage to go to the Instance Information page.

  3. Select Backup and Recovery in the left-side navigation pane.

  4. Click Create Backup in the upper right corner.

  5. Click OK to instantly back up the instance.

    Note

    Note: you can select a time range on the Backup Data page to view historical backup data. By default, backup data is retained for 7 days, so you can query historical backup data from the last 7 days.

Data recovery

The data recovery function minimizes the damage caused by database misoperations. Now, ApsaraDB for Memcache supports data recovery from backups.

  1. Log on to the Memcache console and locate the target instance.

  2. Click the instance ID or Manage to go to the Instance Information page.

  3. Select Backup and Recovery in the left-side navigation pane.

  4. Click the Backup Data tab on the Backup and Recovery page.

  5. Find the backup file that you want to recover and click Data Recovery.

  6. In the data recovery window, click OK to recover the data directly to the original instance. Alternatively, you can choose Clone Instance to recover the backup data to a new instance. After verifying that the recovered data is correct, you can recover the data to the original instance.

    Note

    Note: As the data recovery operation is highly risky, we suggest using the clone instance method if time permits. This method creates a Pay-As-You-Go instance based on the backup data set to be recovered. After verifying that the data is correct, you can recover the data to the original instance.