Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Situation Awareness
Managed Threat Detection
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive

Managing Automated Backups

Updated on 2025-01-26 GMT+08:00

Automated backups can be created to ensure data reliability. If a database or table is deleted, maliciously or accidentally, backups can help restore your data.

Usage Notes

  • Backup files are saved as packages in OBS buckets. Upload of backup files and service reads both consume bandwidth, so the upload bandwidth of OBS is limited. The bandwidth of a single node ranges from 20 MB/s to 70 MB/s.

    For better performance, you need to specify appropriate nodes for an instance and take into account the bandwidth for uploading backups.

  • The CPU usage may increase 5% to 15% because uploading backups consumes CPU resources.
  • The memory usage may increase by about 300 MB during the upload of backups. The increase depends on the instance's data volume. The increased memory mainly caches data during backup upload and service read. After the backup upload is complete, the memory recovers.
  • You can manually modify incremental backups of a GeminiDB Cassandra instance.
  • To enable the incremental backup function, choose Service Tickets > Create Service Ticket in the upper right corner of the console and contact customer service.
  • After the incremental backup function is enabled, differential backup is selected by default. To enable PITR, choose Service Tickets > Create Service Ticket in the upper right corner of the console and contact customer service.

Automated Backup Policy

Automated backups are generated according to a backup policy and saved as packages in OBS buckets to ensure data confidentiality and durability. You are advised to regularly back up your database, in case it becomes faulty or damaged. However, backing up data might affect the database read and write performance so it is recommended that you enable automated backups during off-peak hours.

When you create an instance, an automated backup policy is enabled by default.

Figure 1 Enabling the automated backup policy
  • Incremental Backup: Incremental backup is enabled by default. You can click to manually enable or disable Incremental Backup. After incremental backup is enabled, the system stores backup data in OBS. Select an incremental backup type. Differential backup is selected by default.
    • Differential backup: Data can be restored to a specific point in time.
    • PITR backup: Data can be restored to any point in time.
      Figure 2 Selecting an incremental backup type
    Enabling Incremental Backup will take effect in the next full backup. You are advised to select Create a backup immediately after the incremental backup policy is modified.
    • If you select it, the full backup request is delivered immediately, and the incremental backup takes effect.
    • If you do not select it, the incremental backup will take effect in the next full backup.
      Figure 3 Selecting Create a backup immediately after the incremental backup policy is modified
  • Incremental Backup Interval: Incremental backups are generated every 15 minutes.
  • Retention Period: Automated backup files are saved for seven days by default. The retention period ranges from 1 to 3660 days. Full backups are retained till the retention period expires. However, even if the retention period has expired, the most recent backup will be retained.
    • Extending the retention period improves data reliability. You can extend the retention period as needed.
    • If you shorten the retention period, the new backup policy takes effect for existing backups. Any automated backups (including full and incremental backups) that have expired will be automatically deleted. Manual backups will not be automatically deleted but you can delete them manually.
    NOTE:
    • If the retention period is less than seven days, the system automatically backs up data every day.
    • The system checks existing automated backup files and deletes the files that exceed the backup retention period you set.
    • Time Window: A one-hour period the backup will be scheduled within 24 hours, such as 00:00–01:00. The backup time is in GMT format. If the DST or standard time is switched, the backup time segment changes with the time zone.

    If Retention Period is set to 2, full and incremental backups that have been stored for more than two days will be automatically deleted. That is, the backup generated on Monday will be deleted on Wednesday. Similarly, the backup generated on Tuesday will be deleted on Thursday.

    Policy for automatically deleting full backups:

    To ensure data integrity, even after the retention period expires, the most recent backup will be retained, for example,

    If Backup Cycle was set to Monday and Tuesday and the Retention Period was set to 2:

    • The full backup generated on Monday will be automatically deleted on Thursday. The reasons are as follows:

      The full backup generated on Monday expires on Wednesday, but it is the last backup, so it will be retained until a new backup expires. The next backup will be generated on Tuesday and will expire on Thursday. So the full backup generated on Monday will not be automatically deleted until Thursday.

    • The full backup generated on Tuesday will be automatically deleted on the following Wednesday. The reasons are as follows:

      The backup generated on Tuesday will expire on Thursday, but as it is the last backup, so it will be retained until a new backup expires. The next backup will be generated on the following Monday and will expire on the following Wednesday. So the full backup generated on Tuesday will not be automatically deleted until the following Wednesday.

  • Backup Cycle: By default, each day of the week is selected.
    • All: Each day of the week is selected. The system automatically backs up data every day.
    • You can select one or more days in a week. The system automatically backs up data at the specified time.
    NOTE:

    A full backup starts within one hour of the time you specify. The amount of time required for the backup depends on the amount of data to be backed up. The more data has to be backed up, the longer it will take.

  • After the DB instance is created, you can modify the automated backup policy as needed. You can change the time window after the DB instance is created. The system backs up data based on the automated backup policy you have set.
  • If Automated Backup is disabled, any automated backups in progress stop immediately.

Modifying an Automated Backup Policy

  1. Log in to the Huawei Cloud console.
  2. In the service list, choose Databases > GeminiDB Cassandra API.
  3. On the Instances page, click the instance whose backup policy you want to modify and click its name.
  4. Choose Backups & Restorations in the navigation pane one the left, and click Modify Backup Policy. In the displayed dialog box, set the backup policy and click OK.

    For details, see Automated Backup Policy.

    Figure 4 Modifying a backup policy

  5. Check or manage the generated backups on the Backups or Backups & Restorations page.

Viewing Incremental Backups

You can view incremental backups and their size of a GeminiDB Cassandra instance.

  • To view the size and records of incremental backups, choose Service Tickets > Create Service Ticket in the upper right corner of the console and contact customer service.
  • You can view incremental backups and their size only after you enable Incremental Backup, or no data is displayed.
  1. Log in to the Huawei Cloud console.
  2. In the service list, choose Databases > GeminiDB Cassandra API.
  3. On the Instances page, click the target instance name to access the Basic Information page.
  4. In the navigation pane, choose Backups & Restorations.
  5. On the Backups & Restorations page, click Incremental Backup.

    Figure 5 Incremental backup

  6. View incremental backups and their size.

Disabling Incremental Backup

  1. Log in to the Huawei Cloud console.
  2. In the service list, choose Databases > GeminiDB Cassandra API.
  3. On the Instances page, click the target instance. The Basic Information page is displayed.
  4. In the navigation pane, choose Backups & Restorations. On the displayed page, click Modify Backup Policy and click next to Incremental Backup.

    Figure 6 Disabling Incremental Backup

Disabling an Automated Backup Policy

  1. Log in to the Huawei Cloud console.
  2. In the service list, choose Databases > GeminiDB Cassandra API.
  3. On the Instances page, locate the instance that you want to disable automated backup for and click its name.
  4. Choose Backups & Restorations in the navigation pane one the left, and click Modify Backup Policy.
  5. In the displayed dialog box, click and click OK.

    Figure 7 Disabling backup policies

    When your disable automated backup, specify whether to delete the automated backups:
    • If you select Delete automated backups, all backup files within the retention period will be deleted. There are no automated backups displayed until you enable automated backup again.
    • If you do not select Delete automated backups, backup files within the retention period will be retained, but you can still manually delete them later if needed. For details, see Deleting an Automated Backup.

    If Automated Backup is disabled, any automated backups in progress stop immediately.

Deleting an Automated Backup

If automated backup is disabled, you can delete stored automated backups to free up storage space.

If automated backup is enabled, the system will delete automated backups when they expire. You cannot delete them manually.

NOTICE:

Deleted backups cannot be recovered. Exercise caution when performing this operation.

  • Method 1
    1. Log in to the Huawei Cloud console.
    2. In the service list, choose Databases > GeminiDB Cassandra API.
    3. On the Instances page, click the instance whose automated backups you want to delete and click its name.
    4. Choose Backups & Restorations in the navigation pane on the left, locate the backup you want to delete and click Delete in the Operation column.
    5. In the displayed dialog box, confirm the backup details and click Yes.
  • Method 2
    1. Log in to the Huawei Cloud console.
    2. In the service list, choose Databases > GeminiDB Cassandra API.
    3. On the Backups page, locate the backup that you want to delete and click Delete in the Operation column.
    4. In the displayed dialog box, confirm the backup details and click Yes.

We use cookies to improve our site and your experience. By continuing to browse our site you accept our cookie policy. Find out more

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback