Updated on 2024-07-15 GMT+08:00

Creating a Desktop Backup

Operation Process

Table 1 Operation process of creating a desktop backup

Step

Description

Making preparations

Register with Huawei Cloud, complete real-name authentication, top up your account, and create an IMA user.

Purchasing a desktop backup vault

Create a desktop backup vault to store desktop backups.

Associating desktops

Associate your desktops with a vault to back up and replicate data.

Creating a desktop backup

Create desktop backups to protect data.

Making Preparations

Registering with Huawei Cloud

If you already have a Huawei Cloud account, skip this part. If you do not have a Huawei Cloud account, perform the following steps to create one:

  1. Log in to the Huawei Cloud official website, and click Sign Up in the upper right corner.
  2. On the displayed page, register an account as prompted.

    After the registration is complete, you will be redirected to your personal information page.

Topping Up Your Account

Ensure that your account has sufficient balance.

To view detailed CBR pricing, see Product Pricing Details.

To top up an account, see Topping Up an Account.

Creating an IAM User

If you want to allow multiple users to manage your resources without sharing your password or private key, you can create IAM users and grant permissions to the users. These users can use specified links and their own accounts to access the public cloud and help you manage resources efficiently. You can also configure account security policies to ensure the security of these accounts.

If you have registered with the public cloud but have not created an IAM user, you can create one on the IAM console. For example, to create a CBR administrator, perform the following steps:

  1. Enter your username and password to log in to the management console.
  2. Hover the mouse over the username in the upper right corner and choose Identity and Access Management from the drop-down list.
  3. In the navigation pane on the left, choose Users.
  4. On the Users page, click Create User.
  5. Enter user information on the Create User page.
    • Username: Enter a username, for example, cbr_admin.
    • Email Address: Email address of the IAM user. This parameter is mandatory if the access type is specified as Set by user.
    • (Optional) Mobile Number: Mobile number of the IAM user.
    • (Optional) Description: Enter the description of the user, for example, CBR administrator.
  6. Select Management console access for Access Type and Set now for Password. Enter a password and click Next.

    A CBR administrator can log in to the management console and manage users. You are advised to select Set now for Password Type when you create a CBR administrator for your domain. If you create a CBR administrator for other users, you are advised to select Set by user for Password Type instead so that the users can set their own password.

  7. (Optional) Add the user to the admin user group and click Create.

    User group admin has all the operation permissions. If you want to grant fine-grained permissions to IAM users, see Creating a User and Granting CBR Permissions.

    The user is displayed in the user list. You can click the IAM user login link to log in to the console.

Purchasing a Desktop Backup Vault

This section describes how to create a desktop backup vault.

  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 > Desktop Backups.

  2. In the upper right corner of the page, click Buy Desktop Backup Vault.
  3. Select a billing mode.

    • Yearly/monthly is a prepaid billing mode. You are billed based on the subscription duration you specify. This mode is ideal when the resource use duration is predictable. A longer subscription often means a lower cost.
    • Pay-per-use is a postpaid billing mode. You are billed based on your resource usage and you can increase or delete resources anytime. Fees are deducted from your account balance.

  4. In the desktop list, select the Workspace desktops you want to back up. After desktops are selected, they are added to the list of selected desktops. See Figure 1.

    Figure 1 Selecting desktops
    • The selected desktops must have not been associated with any vault and must be in the Available or In-use state.
    • You can also associate desktops with the vault you are creating later if you skip this step.

  5. Specify the vault capacity. This capacity indicates the total size of the desktops that you want to associate with this vault. You need to properly plan the vault capacity, which must be at least the same as the size of the desktops you want to back up. The capacity ranges from 10 GB to 10485760 GB.

    As the vault's used space grows, you can expand the vault capacity if it becomes insufficient.

  6. Configure auto backup.

    • If you select Configure, a backup policy can be applied to this vault. Desktops associated with this vault will be automatically backed up based on the policy. You can select an existing backup policy or create a new one.
    • If you select Skip, desktops associated with this vault will not be automatically backed up until you apply a backup policy to the vault.

  7. If you have subscribed to Enterprise Project, add the vault to an existing enterprise project.

    EPS provides a unified method to manage cloud resources by project, allowing you to manage resources, users, and user groups in your projects. The default enterprise project is default.

    If the CBR FullAccess permissions have been assigned to IAM users, enterprise projects will not be displayed for you to choose from when you create a vault. Go to the Enterprise Project Management console and assign the CBR FullAccess permissions to the target user group.

  8. (Optional) Add tags to the vault. For details, see managing vault tags.
  9. Specify a name for the vault.

    A name must contain 1 to 64 characters including digits, letters, underscores (_), or hyphens (-), for example, vault-612c.

    You can also use the default name vault_xxxx.

  10. Specify the required duration if you select yearly/monthly billing. The validity period ranges from 1 month to 5 years.

    Determine whether to enable auto renewal. If you select Auto Renewal:

    • Your subscription will be renewed each month for monthly billing.
    • Your subscription will be renewed each year for yearly billing.

  11. Complete the payment as prompted.
  12. Return to the Desktop Backups page. You can see the created vault in the vault list.

    You can associate Workspace desktops to the new vault or perform backup for the desktops. For details, see Vault Management.

Associating Desktops

If you have associated desktops when purchasing a vault, skip this step.

If no resource is associated, see associating a resource with the vault.

Creating a Desktop Backup

This section describes how to quickly create a desktop backup.

Peak hours of the backup service are from 22:00 to 08:00, during which there may be delays. So you are advised to evaluate your service types and schedule backups in discrete time periods.

Prerequisites

A Workspace desktop can be backed up only when its status is Available or In-use. If you have performed operations such as expanding, attaching, detaching, or deleting a desktop, refresh the page first to ensure that the operation is complete and then determine whether to back up the desktop.

Procedure

  1. On the Desktop Backups page, click the Vaults tab and find the vault to which the desktop is associated.
  2. Click Perform Backup in the Operation column. In the desktop list, select the desktop you want to back up. After a desktop is selected, it is added to the list of selected desktops. See Figure 2.

    Figure 2 Selecting desktops

  3. Set Name and Description for the backup. Table 2 describes the parameters.

    Table 2 Parameter description

    Parameter

    Description

    Example Value

    Name

    Name of the backup you are creating.

    A name must contain 1 to 64 characters including digits, letters, underscores (_), or hyphens (-).

    NOTE:

    You can also use the default name manualbk_xxxx.

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

    manualbk_d819

    Description

    Description of the backup.

    It cannot exceed 255 characters.

    --

  4. Click the vault name to go to the vault details page. On the Associated Desktops tab page, locate the target desktop. Click Perform Backup in the Operation column of the desktop. See Figure 3.

    Figure 3 Performing backup

  5. Click OK. CBR automatically creates a backup for the desktop.

    On the Backups tab page, if the status of the backup is Available, the backup task is successful.

    If you delete data from the desktop during the backup, the deleted data may fail to be backed up. Therefore, to ensure data integrity, delete the target data after the backup is complete, and then perform the backup.

Related Information