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

Restoring Data to a New Instance

GeminiDB Cassandra API allows you to use an existing backup to restore data to a new instance.

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.
  • During the instance restoration, backups are downloaded from OBS buckets to the data directory of the restored instance. The download bandwidth of OBS is 40 MB/s.

Procedure

  1. Log in to the GeminiDB console.
  2. In the service list, choose Databases > GeminiDB Cassandra API.
  3. Restore an instance from 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 Backups and restorations

    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.
    • The administrator password needs to be reset.
    • To modify other parameters, see the description of buying instances of other DB engines in Getting Started.

  5. View the results.

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

    After the restoration, the system will perform a full backup.

    The new instance is independent from the original one.