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

What Is Application-Consistent Backup?

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

Overview

There are three backup types in terms of backup consistency:

  • Inconsistent backup: Files in an inconsistent backup contain data taken from different points in time. This typically occurs if changes are made to your files or the data on your disks while backup is running. CBR cloud server backup uses the consistency snapshot technology for disks to protect data of ECSs. If you back up multiple EVS disks separately, the backup time points of the EVS disks are different. As a result, the backup data of the EVS disks is inconsistent.
  • Crash-consistent backup: A crash-consistent backup captures data that exists on disks as of the backup time, without backing up memory data or quiescing application systems. Backup consistency of application systems is not ensured. To complete this, disks are checked upon operating system restart to restore damaged data, for example, by using chkdsk, and log rollback is performed on databases to keep data consistent.
  • Application-consistent backup: An application-consistent backup is a backup of application data that allows applications to achieve a quiescent and consistent state. This type of backup captures the contents of the memory and any pending writes that occurred during the backup process.

Figure 1 compares these backup types in detail.

CBR supports both crash-consistent backup and application-consistent backup (also called database server backup).

If a MySQL or SAP HANA database is deployed on a server, you can use CBR application-consistent backup to back up the server data and application cache. Crash-consistent backup backs up only data and some application caches without interrupting services. If a system fails or data loss occurs, you can use an application-consistent backup to quickly restart services. A crash-consistent backup, however, may fail to restore some application configurations.

Figure 1 Backup consistency

Differences Between Application-Consistent Backup Cloud Server Backup

Item

Application-Consistent Backup

Cloud Server Backup

Backup and restore object

Cloud servers with MySQL or SAP HANA database deployed

Cloud servers excluding database applications

Backup unit

Cloud server

Cloud server

Vault type

Server backup vault

Server backup vault

Recommended scenario

Data of cloud servers as well as their deployed databases, such as MySQL or SAP HANA database needs to be backed up. All data and application configurations need to be restored in case of an error.

Only data of cloud servers needs to be backed up. All data needs to be restored in case of an error.

In the event that a cloud server backup is performed for a server deployed with a MySQL or SAP HANA database, if the backup is then used to restore data, some database configurations may fail to be restored, and issues may occur after the database is restarted.

Application Scope

Table 1 lists the OSs that support the installation of Agent.

Table 1 OSs that support installation of the Agent

Database

OS

Version

SQL Server 2008/2012

Windows

Windows Server 2008, 2008 R2, 2012, and 2012 R2 for x86_64

SQL Server 2014/2016/EE

Windows

Windows Server 2014, 2014 R2, and 2016 Datacenter for x86_64

MySQL 5.5/5.6/5.7

Red Hat

Red Hat Enterprise Linux 6 and 7 for x86_64

SUSE

SUSE Linux Enterprise Server 11 and 12 for x86_64

CentOS

CentOS 6 and 7 for x86_64

EulerOS

EulerOS 2.2 and 2.3 for x86_64

HANA 1.0/2.0

SUSE

SUSE Linux Enterprise Server 12 for x86_64

For the databases not included in this list, you can customize a script to perform application-consistent backup by referring to section "Using a Custom Script to Implement Application-Consistent Backup" in the Cloud Backup and Recovery Best Practices.

Process

Figure 2 shows the application-consistent backup process.

Figure 2 Application-consistent backup process
  1. Change the security group: Before performing an application-consistent backup task, change the security group of the server you want to back up. For details, see Changing a Security Group.
  2. Install the agent: Change the security group and install the agent in any sequence. Ensure that the two operations are completed before backing up the desired server. For details, see Installing the Agent.
  3. Create an application-consistent backup: After creating a server backup vault for storing application-consistent backups, associate it with the desired database server and then create an application-consistent backup. For details, see Creating an Application-Consistent Backup.
  4. Modify or compile a custom script: After backing up a database server on CBR Console, modify or compile a custom script on the database of the server. For details, see Best Practices.
  5. Verify the backup result: After the backup is performed, verify that the backup succeeds. For details, see Best Practices.
  6. Use the backup to restore server data: Use the application-consistent backup to restore server data. The restored database applications and data are the same as those at the backup point in time. For details, see Restoring Data Using a Cloud Server Backup.

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