Updated on 2022-09-16 GMT+08:00

Restoring Metadata

Overview

The metadata backup policy requires DDM to automatically back up DDM instance metadata from 02:00 to 03:00 every day and retain the backup data for 30 days.

When you delete a schema by mistake or your RDS for MySQL instance becomes abnormal, metadata restoration allows you to restore your DDM instance metadata and match the metadata with the RDS instance that has PITR completed to re-establish the relationship between your DDM instance and RDS instance. The metadata restoration supports only RDS for MySQL.

Constraints

  • The destination DDM instance is not associated with any RDS for MySQL instance and has no schemas and accounts.
  • Ensure that the selected RDS for MySQL instance has PITR completed.
  • Restoration is not supported if the DDM instance is in the primary network and the destination RDS for MySQL instance is in the extended network.

Prerequisites

  • You have logged in to the DDM console.
  • The target DDM instance is available and running normally.

Procedure

  1. Buy a new DDM instance. For details, see Buying a DDM Instance.
  2. In the DDM instance list, locate the newly-created instance and click its name.
  3. In the navigation pane on the left, choose Backups & Restorations. Click Restore Metadata.
  4. Specify a time point. DDM will select an appropriate DDM metadata backup closest to the time point.
  5. Select the destination instance created in 1. If there are no instances available, click Create DDM Instance to create one.
  6. Select the RDS for MySQL instance that has PITR completed and click OK.
  7. Check for a message that indicates the request is submitted.