Updated on 2022-02-22 GMT+08:00

Creating a CSBS Backup

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

Prerequisites

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

Procedure

  1. Log in to the CSBS management console.

    1. Log in to the management console.
    2. Click . Under Storage, click Cloud Server Backup Service.

  2. In the upper right corner of the page, click Create CSBS Backup.
  3. In the ECS list, select the ECSs you want to back up. After ECSs are selected, they are added to the list of selected ECSs. See Figure 1.

    Figure 1 Selecting servers
    • The selected ECSs must be in the Running or Stopped state.
    • An ECS with shared EVS disks cannot be backed up.

  4. In the Configure Backup area, configure a backup scheme for the selected ECSs. 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.

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

      If a selected ECS 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 ECSs 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 ECSs 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.

  5. 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

  6. Click Next.
  7. On the Confirm page, confirm resource details and click Submit.
  8. 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 ECSs 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.