Add a data source (CPFS)
When you use a CPFS client to back up data, after you install a backup client, you must add a data source in the Cloud Backup console. The data source is required before you can create a backup plan.
Prerequisites
You have activated the Alibaba Cloud Cloud Backup service. Activating Cloud Backup is free of charge, but using the CPFS backup feature of Cloud Backup incurs Cloud Backup storage capacity fees. For more information, see CPFS backup fees.
You have installed a backup client on the planned backup nodes. For more information, see Install a Cloud Backup client.
You have planned a path for the data source, for example,
/data.You have created a CPFS file system, an NFS protocol service, and an export directory, and obtained the mount address. For more information, see Quick start (CPFS-NFS).
Backup jobs consume resources such as CPU and memory and affect the performance of your business ECS instances. 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. Fees incurred for creating the ECS instance are charged by ECS. For more information, see ECS instance type billing.
Usage notes
If the ECS instance where the backup client is installed is in the same region as the CPFS file system, set the data network to VPC when you create a client group.
In the Actions column of the target client, click Settings.
In the Client Settings dialog box, set Data Network to VPC and click OK.
Procedure
-
On the CPFS Backup page, select a region at the top of the page, and then add a data source in either of the following ways:
Use the CPFS backup wizard: In the CPFS backup wizard area at the top of the page, click Add Data Source.
Use the CPFS Data Source tab: Click the CPFS Data Source tab, and then click Create Data Source.
NoteIf you use the previous console version (which shows Try New Version in the upper-right corner), click Create Data Source on the Data Source List tab.
-
In the Create Data Source panel, configure the following parameters.
CPFS supports automatic mounting for backups.
Parameter
Description
Source Type
Select Cloud Parallel File System (CPFS).
Data Source Name
Enter a name that is easy to identify for the data source, for example, cpfs-datasource.
Protocol Type
CPFS-NFS (fixed value, no selection required).
CPFS Mount Address
The mount address (that is, the network address) of the export directory for the NFS protocol service, for example, file-system-id.region.cpfs.aliyuncs.com.
NoteCreate an export directory for the NFS protocol service and generate a mount point in the CPFS console before you enter this address.
CPFS Shared Directory
The CPFS shared directory. The format is /share/yourpath.
Mount Options
You can click Enter the values of the default CPFS-NFS mount parameters. to use the default mount parameters, or click Set Mount Parameters to configure the parameters manually.
Backup Client Group
Select the client machines on which the backup client is installed.
You can add multiple clients to a backup client group to run a backup job concurrently.
-
Create Backup Client Group: You can click Create Backup Client Group, customize a Client Group Name, and select the clients that you want to add to the client group.
-
Select Backup Client Group: If the client that you want to select has already been added to another client group, you can select the existing client group.
In the client list of the client group, for each backup node, click Settings, change the data network to VPC, and save the settings.
ImportantMake sure that the CPFS-NFS client is installed on every client machine in the client group.
Note-
A healthy client is in the Activated state. If the status is abnormal, see Install a Cloud Backup client for troubleshooting.
For more information about how to install the client, see Install a Cloud Backup client.
-
-
Click OK.
After the data source is added, it appears on the CPFS Data Source tab. You must then create a backup plan for the data source to implement periodic backups. For more information, see Back up CPFS.
Manage CPFS data sources
On the CPFS Backup page, select a region and click the CPFS Data Source tab. You can then delete data sources and view or adjust client groups.
If you use the previous console version (which shows Try New Version in the upper-right corner), perform the relevant operations on the Data Source List tab.
Delete a CPFS data source
If the CPFS data source is associated with a backup plan or has backup data, you cannot delete it.
A deleted CPFS data source cannot be recovered. Proceed with caution.
In the Actions column of the CPFS data source, click Delete and confirm the deletion.
Manage client groups
Click View Client Groups.
-
In the View Client Groups panel, you can view client group information and adjust or delete client groups as needed.
Actions
Description
Adjust client group
Modify the client group name, or add clients to or remove clients from the client group.
In the Actions column of the target client group, click Edit. Then, modify the settings in the Edit Backup Client Group panel and save the changes.
NoteYou can also click Edit Backup Client Group in the Actions column of the CPFS data source, or click the client group ID to edit the group.
Delete client group
In the Actions column of the target client group, click Delete and confirm the deletion.
ImportantA deleted client group cannot be recovered. Proceed with caution.