Updated on 2024-12-02 GMT+08:00

Overview

GeminiDB Redis allows you to back up instances to protect your data. After an instance is deleted, the manual backup data is retained. Automatic backup data is released together with instances. Backup data cannot be downloaded or exported.

Usage Notes

Backing up data consumes a few CPUs. Uploading backup files to OBS occupies bandwidth of compute nodes, causing slight latency and jitter.

Backup Methods

Both automatic backup and manual backup are supported.

  • Automated backup

    You can modify backup policy on the GeminiDB console, and the system will automatically back up your instance data based on the time window and backup cycle you configure in the backup policy and will store the data for a length of time you specify.

    Automated backups cannot be manually deleted. You can adjust their retention period by referring to Modifying an Automated Backup Policy, and backups that expire will be automatically deleted.

  • Manual backup

    A manual backup is a full backup of a DB instance and can be retained until you manually delete it. Manual backup can be triggered at any time to meet your service requirements.

    Regularly backing up your database is recommended. If your database becomes faulty or data is corrupted, you can restore it from backup.

    Table 1 Backup methods

    Method

    Scenario

    Automated backup

    After you set a backup policy, the system automatically backs up your database based on the policy. You can also modify the policy based on service requirements.

    Manual backup

    You can manually create full backups for your instance based on service requirements.

How Backup Works

GeminiDB Redis API uses an architecture with decoupled storage and compute. Figure 1 shows how GeminiDB Redis API backs up data. GeminiDB Redis API takes snapshots of data in the DFV storage pool in seconds and transmits them to the compute layer, which will then pass them to OBS. Snapshots are stored as compressed files in OBS buckets and do not occupy any storage space of your instance. Snapshot creation and deletion have no impacts on the computing layer. When snapshots are uploaded, some compute resources are consumed, so the instance CPU and memory usage may go high.

GeminiDB Redis backs up data faster than Redis and does not produce jitter.

Figure 1 Backup process

Backup Storage

Backups are stored in OBS buckets to provide disaster recovery and save storage space.

After you purchase an instance, GeminiDB Redis will provide additional backup storage of the same size as what you purchased. For example, if you purchase an instance with 100 GB of storage, you will obtain additional 100 GB of storage free of charge. If the backup data does not exceed 100 GB, it is stored on OBS free of charge. If there is more than 100 GB of data, you will be billed at standard OBS rates.