Updated on 2024-04-19 GMT+08:00

Creating an Application-Consistent Backup

Cloud server backup supports application-consistent backup in addition to crash-consistent backup. You can use cloud server backup to back up ECSs running MySQL or SAP HANA databases, because application-consistent backup ensures that the backed-up data is transactionally consistent.

Constraints

  • Application-consistent backup is currently not supported for cluster applications, such as, MySQL Cluster. It is supported only for applications on standalone servers.
  • You are advised to perform application-consistent backup in off-peak hours.

Procedure

  1. Log in to the CBR console.

    1. Log in to the management console.
    2. Click in the upper left corner and select a region.
    3. Click and choose Storage > Cloud Backup and Recovery. Select a backup type from the left navigation pane.

  2. Create a vault for application-consistent backups by referring to Creating a Server Backup Vault. Select Enable for Application-Consistent Backup.
  3. Associate the cloud servers with the created vault. Ensure that the Agent has been installed on the servers.
  4. Create a cloud server backup by referring to Creating a Cloud Server Backup.

    • If an application-consistent backup is created successfully, a blue letter "A" is displayed next to the backup name in the backup list.
    • If an application-consistent backup fails to be created, the system automatically creates a cloud server backup instead and stores the backup in the vault, and a gray letter "A" is displayed next to the backup name in the backup list. You can view the failure cause in the Management Information area on the backup details page.

  5. Return to the cloud server backup page as prompted. If the backup execution fails, rectify the fault based on the failure details shown on the page.

Follow-up Procedure

If data is lost due to virus attacks or database faults, you can restore the data by following instructions in Restoring from a Cloud Server Backup and Creating an Image from a Cloud Server Backup.