Create a data source
Alibaba Cloud Cloud Backup backs up data from CPFS file systems to a Cloud Backup vault. After you install a backup client, create 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 Single-tunnel mode.
-
You have installed the backup client on the planned backup nodes. For more information, see Install a backup client.
The data source path for backup is prepared. Example:
/mnt/cpfs.-
To back up a CPFS file system mounted by a CPFS-NFS client, you must have an NFS protocol service Export Directory and its Mount address. For more information, see Quick start (CPFS-NFS) (recommended).
-
To back up a CPFS file system mounted by a CPFS-POSIX client, all backup nodes must have mounted the file system to the same path.
-
Backup jobs consume resources such as CPU and memory, which can affect the performance of your production ECS instance. We recommend that you create a dedicated ECS instance for backup jobs.
-
The new ECS instance must be in the same VPC as the CPFS file system. Creating an ECS instance incurs costs. For more information, see Instance type billing.
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.
Click Settings in the Actions column of the Cloud Backup client that you want to configure.
In the Client Settings dialog box, set Data Network to VPC and click OK.

Procedure
After you create a backup plan, the first backup job performs a full backup and subsequent backup jobs perform incremental backups.
-
Log on to the Cloud Backup console.
-
In the left-side navigation pane, choose Back Up > CPFS Backup.
In the top navigation bar, select a region.
-
On the CPFS Backup page, click Create Data Source.
-
In the Create Data Source panel, configure the following parameters and click OK.
CPFS-NFS client
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.
NoteThe 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-POSIX client
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.ImportantIf 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.
NoteThe 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 creating the data source, you can view it on the Data Source List tab. The value in the Backup Plans column is None. You can then create a backup plan for the data source. For more information, see Back up CPFS files.