All Products
Search
Document Center

Cloud Backup:Add a data source

Last Updated:Nov 22, 2024

Cloud Backup provides the Cloud Parallel File Storage (CPFS) backup feature. You can back up data from a CPFS file system to a backup vault of Cloud Backup. After you install a Cloud Backup client, you must add a data source in the Cloud Backup console.

Prerequisites

  • Cloud Backup is activated. You are not charged for activating Cloud Backup. If you use the CPFS backup feature of Cloud Backup, you are charged for the storage usage of backup vaults. For more information, see Billing of the CPFS backup feature.

  • The CPFS file system can access Alibaba Cloud over the Internet. If Internet access is unavailable, make sure that the CPFS file system is connected to Alibaba Cloud virtual private clouds (VPCs) by using virtual private networks (VPNs) or Express Connect circuits. You must also make sure that you can use a Cloud Backup client to access one of the following CIDR blocks from an on-premises server: 100.64.0.0/10, 100.64.0.0/11, and 100.96.0.0/11. For more information, see Connect a VPC to a data center in single-tunnel mode.

  • A Cloud Backup client is installed on each backup node. For more information, see Install a Cloud Backup client.

  • The data source path for backup is prepared. Example: /mnt/cpfs.

  • Prerequisites for a CPFS for Lingjun file system: The source CPFS for Lingjun file system is created. For more information, see What is CPFS for Lingjun (invitational preview)? A VPC mount target is created and the domain name of the mount target is obtained. For more information about how to mount a CPFS for Lingjun file system, contact the CPFS team.

  • Prerequisites for a Cloud Parallel File Storage (CPFS) file system: The source Cloud Parallel File Storage (CPFS) file system is created. An NFS protocol service and an export directory are created. The domain name of the mount target is obtained.

  • Prerequisites for other large-scale file systems: The source file system is mounted on all backup nodes in the same path.

Important
  • Backup jobs consume resources such as CPU and memory and affect the performance of your Elastic Compute Service (ECS) instance. We recommend that you create a dedicated ECS instance to run backup jobs.

  • The new ECS instance must belong to the same VPC as the source file system (Cloud Parallel File Storage (CPFS) file system, CPFS for Lingjun file system, or other large-scale file systems). Creating an ECS instance incurs fees, which are included in your ECS bills. For more information, see Instance types.

  • If you need to back up a file system that is mounted by using the CPFS-POSIX client, set Source Type to Other large-scale file systems.

  • Before you back up a CPFS for Lingjun file system, contact the CPFS team to make sure that the CPFS for Lingjun file system can be mounted on the ECS instances where the client is installed.

Usage notes

If the ECS instance on which a Cloud Backup client is installed resides in the region where you use the CPFS backup feature, set the data network to VPC when you create a client group.

  1. Click Settings in the Actions column of the Cloud Backup client that you want to configure.

  2. In the Client Settings dialog box, set Data Network to VPC and click OK.

image

Procedure

Note

After you create a backup plan, the first backup job performs a full backup and subsequent backup jobs perform incremental backups.

  1. Log on to the Cloud Backup console.

  2. In the left-side navigation pane, choose Backup > CPFS Backup.

  3. In the top navigation bar, select a region.

  4. On the CPFS Backup page, click Create Data Source.

  5. In the Create Data Source panel, configure the parameters and click OK.

    Automatically mount a file system
    • Cloud Parallel File Storage (CPFS)

      Parameter

      Description

      Source Type

      Select Cloud Parallel File Storage (CPFS).

      Data Source Name

      The name of the CPFS data source. The name helps you quickly identify the data source. You can specify a name based on your business requirements. Example: cpfs-datasource.

      Protocol Type

      Only CPFS-NFS is supported.

      CPFS Endpoint

      Enter the domain name of the mount target. The domain name is generated when you create an NFS protocol service and an export directory. Example: file-system-id.region.cpfs.aliyuncs.com.

      CPFS Shared Directory

      The CPFS shared directory, in the format of /share/yourpath.

      Mount Options

      You can click Enter the values of the default CPFS-NFS mount parameters or Set Mount Parameters.

      Backup Client Group

      Select the hosts on which you have installed the Cloud Backup client.

      If you want multiple Cloud Backup clients to concurrently run a backup job, you can add the clients to a client group.

      • Create Backup Client Group: Click Create Backup Client Group, enter a name in the Client Group Name field, and select the clients that you want to add to the client group.

      • Select Backup Client Group: If the clients that you want to select have been added to an existing client group, select the client group.

      Note
      • The status of a normal client is Activated. If the status is abnormal, see Install a Cloud Backup client.

      • If you want to save costs during backup without using the Internet, you can change Data Network from Internet to VPC in Client Settings after you establish a VPC or VPN connection.

      For more information about how to install a Cloud Backup client, see Install a Cloud Backup client.

    • CPFS for Lingjun

      Parameter

      Description

      Source Type

      Select CPFS for Lingjun.

      Data Source Name

      The name of the CPFS data source. The name helps you quickly identify the data source. You can specify a name based on your business requirements. Example: cpfs-datasource.

      VPC Mount Target

      The domain name of the mount target. Example: cpfs-xxx.region.cpfs.aliyuncs.com.

      CPFS Shared Directory

      The shared directory that is exported from the VPC mount target of the CPFS for Lingjun file system. Default value: /.

      Backup Client Group

      Select the hosts on which you have installed the Cloud Backup client.

      If you want multiple Cloud Backup clients to concurrently run a backup job, you can add the clients to a client group.

      • Create Backup Client Group: Click Create Backup Client Group, enter a name in the Client Group Name field, and select the clients that you want to add to the client group.

      • Select Backup Client Group: If the clients that you want to select have been added to an existing client group, select the client group.

      Note
      • The status of a normal client is Activated. If the status is abnormal, see Install a Cloud Backup client.

      • If you want to save costs during backup without using the Internet, you can change Data Network from Internet to VPC in Client Settings after you establish a VPC or VPN connection.

      For more information about how to install a Cloud Backup client, see Install a Cloud Backup client.

    Manually mount a file system
    • Other large-scale file systems

      Parameter

      Description

      Source Type

      Select Other large-scale file systems.

      Data Source Name

      The name of the CPFS data source. The name helps you quickly identify the data source. You can specify a name based on your business requirements. Example: cpfs-datasource.

      Data Source Path

      The file path of the data source to be backed up on the backup node. Example: /mnt/cpfs.

      Important

      If you use multiple backup nodes to back up a CPFS file system, the CPFS file system must be mounted to the same directory of each backup node. If the mount paths are different, the backup fails.

      Backup Client Group

      Select the hosts on which you have installed the Cloud Backup client.

      If you want multiple Cloud Backup clients to concurrently run a backup job, you can add the clients to a client group.

      • Create Backup Client Group: Click Create Backup Client Group, enter a name in the Client Group Name field, and select the clients that you want to add to the client group.

      • Select Backup Client Group: If the clients that you want to select have been added to an existing client group, select the client group.

      Note
      • The status of a normal client is Activated. If the status is abnormal, see Install a Cloud Backup client.

      • If you want to save costs during backup without using the Internet, you can change Data Network from Internet to VPC in Client Settings after you establish a VPC or VPN connection.

      For more information about how to install a Cloud Backup client, see Install a Cloud Backup client.

    After you add a data source, the data source is displayed on the Data Source List tab. None is displayed in the Backup Plans column. You can then create a backup plan for the data source. For more information, see Create a backup plan.

    image