Updated on 2023-11-21 GMT+08:00

Restoring Data to a New Instance

Scenarios

GeminiDB Influx allows you to use an existing automated or manual backup to restore data to a new instance. The restored instance will have the same data as before.

A full backup will be downloaded from OBS for restoration. The time required depends on the amount of data to be restored.

Precautions

  • The new instances must have at least as many nodes as the original instance.
  • The new instance must have at least as much storage as the original instance.
  • Incremental backup and PITR are not supported.
  • Restoration to the current instance is not supported.
  • You can scale in the memory, but the memory decrease cannot become less than the actual memory used during the backup.
  • The restored instance uses the same parameter group as the original instance.

Procedure

  1. Log in to the management console.
  2. In the service list, choose Databases > GeminiDB.
  3. Restore an instance from the backup.

    Method 1

    1. On the Instances page, locate the instance whose backup you want to restore and click its name.
    2. Choose Backups & Restorations in the navigation pane on the left, locate the backup that you want to restore, and click Restore in the Operation column.
    Figure 1 Restoring data using a backup

    Method 2

    On the Backups page, locate the backup that you want to restore and click Restore in the Operation column.
    Figure 2 Backup management

  4. In the displayed dialog box, confirm the current instance details and restoration method and click OK.

    Figure 3 Restoring data to a new instance
    • The default API type and DB engine version are the same as those of the original instance and cannot be changed.
    • GeminiDB automatically calculates the minimum storage space required for restoration based on the size of the selected backup file. The storage capacity depends on the instance specifications, and must be an integer.
    • You need to set a new administrator password.

  5. View the restoration results.

    A new instance is created using the backup data. The instance status changes from Creating to Available.

    A full backup is triggered after the new DB instance is created.

    The new DB instance is independent from the original one.