Creating a CSBS Backup

This section explains how to create CSBS backup jobs to protect server data.

Prerequisites

You are advised to perform application-consistent backup in off-peak hours.

Procedure

  1. Log in to the HUAWEI CLOUD website at http://www.huaweicloud.com/en-us/. Register a HUAWEI CLOUD account.
  2. Log in to the CSBS management console.

    1. Log in to the management console.
    2. Under Storage > Cloud Server Backup Service.

  3. In the upper right corner of the page, click Create CSBS Backup.
  4. In the available server list, select the servers you want to back up. After servers are selected, they appear in the list of selected servers. See Figure 1.

    To ensure post-restoration data consistency, you are advised to back up entire servers.

    If you want to back up specific disks on a server to reduce costs, ensure that data on these disks is independent of the rest. Otherwise, data inconsistency may occur.

    For example, data of the Oracle application is scattered across different disks. If only some of the disks are backed up, restoration restores only the data of the disks that have been backed up, with the rest of the data unchanged. As a result, data inconsistency occurs and the application cannot be started.

    Figure 1 Selecting servers
    • The selected servers must be in the Running or Stopped state.
    • Shared EVS disks in servers can be backed up.

  5. In the Configure Backup area, configure a backup scheme for the selected servers. See Figure 2.

    Figure 2 Configuring backup schemes
    • Auto Backup:

      In the Backup Policy drop-down list, select a backup policy. Alternatively, click Create Policy to create a backup policy.

      If you have configured a replication policy, backups generated based on the backup policy will be replicated according to the replication policy.

      After a backup job is created, the selected servers are associated with the backup policy and will be periodically backed up according to the backup policy.

      If a selected server has been associated with another backup policy, it will be disassociated from the original backup policy automatically and then associated with the new backup policy.

    • Immediate Backup:

      After a backup job is created, all selected servers will be backed up immediately for once.

      Set the Name and Description of the backup, as described in Table 1.

      Table 1 Parameter description

      Parameter

      Description

      Remarks

      Name

      Name of the backup you are creating.

      It is a string of 1 to 255 characters that can contain only digits, letters, underscores (_), and hyphens (-).

      NOTE:

      You can use the default name, which is in the format of manualbk_xxxx.

      If multiple servers are to be backed up, the system automatically adds suffixes to their names, for example, backup-0001 and backup-0002.

      manualbk_cbf0

      Description

      Supplementary information about the backup.

      It cannot exceed 255 characters.

      --

    You can select both the backup methods at the same time.

  6. Determine whether to select Enable next to Application-Consistent Backup. (This option is available for one-off backup.) If selected, the system will perform application-consistent backups. If you select Continue to back up data after the application-consistent backup fails. at the same time, the system will perform crash-consistent backup if the application-consistent backup job fails. Otherwise, the whole backup operation fails. Figure 3 displays an example.

    Before using application-consistent backup, change the security group and install the Agent. For details, see Enabling Application-Consistent Backup.

    Figure 3 Application-consistent backup

  7. Click Next.
  8. On the Confirm page, confirm resource details and click Submit.
  9. Return to the CSBS page as prompted.

    • Auto Backup

      On the Policies tab page, click on the left of the backup policy name. If all selected servers are displayed under Associated Servers, they are associated with the backup policy successfully, and automatic backup will be periodically performed as scheduled.

    • Immediate Backup

      On the Backups tab page, if the generated backups are in the Available state, the one-off backup job is successful.