Add a data source (large-scale file system)
When you back up a large-scale file system, after you install the backup client, you must add a data source in the Cloud Backup console. The data source is a prerequisite for creating a backup plan.
Prerequisites
You have activated the Alibaba Cloud Cloud Backup service. Activating Cloud Backup is free of charge. Using the CPFS backup feature of Cloud Backup incurs Cloud Backup storage capacity fees. For more information, see CPFS backup fees.
The file system can access Alibaba Cloud over the public network. If no public network is available, the file system must already be connected to the Alibaba Cloud virtual private cloud (VPC), with routes over a leased line or VPN (on-premises to cloud: 100.64.0.0/10 or 100.64.0.0/11 and 100.96.0.0/11). For more information, see Single-tunnel mode.
The backup client has been installed on the planned backup nodes. For more information, see Install a backup client (large-scale file system).
The data source path to back up has been planned, for example,
/data.Make sure that the file system to back up is mounted at the same path on all backup nodes.
Backup jobs consume resources such as CPU and memory, which may affect the performance of your business machines. We recommend that you use dedicated machines to run backup jobs.
If you use an ECS instance as a backup node, the VPC to which the instance belongs must be the same as the VPC in which the large-scale file system resides. Creating an ECS instance incurs fees, which are charged by ECS. For more information, see ECS instance billing .
Precautions
A large-scale file system can be deployed in environments such as on-premises IDCs, and the backup client can connect to Alibaba Cloud over the public network or a leased line (VPN). Set the data network based on how the client actually connects to Alibaba Cloud: set it to Public network when the client accesses Alibaba Cloud over the public network, or to VPC when the client connects to the VPC over a leased line or VPN.
In the Actions column of the target client, click Settings.
In the Client Settings dialog box, set Data Network to Public network or VPC, and then click OK.
Procedure
-
On the CPFS Backup page, click the CPFS general-purpose edition (agent-based backup) tab. Select a region at the top of the page, and then add a data source in either of the following ways (select Large-scale file system for Data source type):
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 old console (Try New Version is displayed 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.
For large-scale file systems, only manual mounting is supported for backup.
Parameter
Description
Source Type
Select Large-scale file system.
Data Source Name
Enter an easily identifiable name for the data source, for example, cpfs-datasource.
Data Source Path
The file path of the data source to back up on the backup client node. For example,
/data.ImportantIf you use multiple backup nodes to back up the same file system, the file system to back up must be mounted at the same directory on each backup node. If the mount paths are different, the backup fails.
Backup Client Group
Select the client machines on which the backup client is installed.
A backup client group can contain multiple clients to run a backup job concurrently.
-
Create Backup Client Group: You can click Create Backup Client Group, specify a Client Group Name, and then 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 already been added to another client group, you can select the existing client group.
Note-
The status of a healthy client should be Activated. If the status is abnormal, see Install a backup client (large-scale file system).
-
To save public network fees by backing up over a VPC or a VPN leased line, in the Client Settings, change Data Network from Internet to VPC.
For the detailed procedure for installing the backup client, see Install a backup client (large-scale file system).
-
-
Click OK.
After you add the data source, you can view it on the CPFS data source tab. You must then create a backup plan for the data source to enable periodic backups.
For more information, see Back up a large-scale file system.
CPFS data source management
On the CPFS Backup page, select a region at the top of the page, and then click the CPFS data source tab. On this tab, you can delete data sources and view and adjust client groups.
If you use the old console (Try New Version is displayed in the upper-right corner), perform the operations on the Data Source List tab.
Delete a CPFS data source
If a CPFS data source is already 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.
Operation
Description
Adjust a client group
Change the client group name, add clients to the client group, or remove clients from the client group.
In the Actions column of the target client group, click Edit, and 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 client group.
Delete a 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.