You can use Cloud Backup to back up files in a Cloud Parallel File Storage (CPFS) file system and restore the files when needed. Before you back up files, install a Cloud Backup client on each backup node of the CPFS file system. You can add multiple Cloud Backup clients to a client group to improve backup and restoration performance.
Before you install and uninstall a Cloud Backup client, check the client installation path:
If a CPFS directory is mounted to the installation path, unmount the CPFS directory. This prevents files from being accidentally deleted.
If other important directories and files exist in the installation path, move them to another path. This prevents these directories and files from being accidentally deleted.
Before you begin
To back up a CPFS file system, you must perform the following operations:
Prepare one or more physical machines, virtual machines, or Elastic Compute Service (ECS) instances as backup nodes. You must ensure network connectivity between the backup nodes and your file system (CPFS file system, CPFS for Lingjun file system, or other large-scale file system).
Before you back up a CPFS file system, make sure that a CPFS-NFS client is installed on all ECS instances.
Before you back up a CPFS for Lingjun file system, contact the CPFS team to confirm that all ECS instances used as backup nodes can be mounted with CPFS.
Download and activate a Cloud Backup client for Windows
Log on to the Cloud Backup console.
In the left-side navigation pane, choose Backup > CPFS Backup.
In the top navigation bar, select the region in which the file system is deployed.
NoteThe CPFS backup feature is available only in some regions and will be available in more regions in the future. You can log on to the Cloud Backup console to view the regions in which the CPFS backup feature is available.
On the CPFS Backup page, click Add Client.
Download the Cloud Backup client for Windows.
You can download the installation package of the Cloud Backup client for Windows (64-bit) or Windows (32-bit). Record the activation code. The activation code is used to install and activate the Cloud Backup client.
Install and activate the Cloud Backup client for Windows.
Double-click the installation package of the Cloud Backup client and select the language that you want to use.
Select the path in which you want to install the Cloud Backup client, and click Next.
Select Local client connecting to Alibaba Cloud and click Next.
For more information, see How do I select a component and account when I install a Cloud Backup client?
Configure the logon identity.
Files in a CPFS file system are shared over a network. To back up or archive files in a CPFS file system, select This user as the logon identity. The user must meet the following requirements:
The user has the permissions of the local administrator.
The user has the permissions to log on as a service.
To configure the logon user, perform the following steps:
Open the Control Panel. In the window that appears, click Administrative Tools.
Open Local Security Policy and choose
.Turn on Log on as a service. In the dialog box that appears, add a user.
The user has the permissions to access files that are shared over a network.
For more information, see How do I select a component and account when I install a Cloud Backup client?
If you want to use a proxy server, enter the IP address of the proxy server. Click Next.
Enter the activation code that you recorded in the Activation token field. Then, click Next.
Click Install.
After the client is installed, you can view and select the client when you add a data source.
Download and activate a Cloud Backup client for Linux
Log on to the Cloud Backup console.
In the left-side navigation pane, choose Backup > CPFS Backup.
In the top navigation bar, select the region where the on-premises NAS file system is deployed.
NoteAlibaba Cloud continuously updates Cloud Backup to support more regions. You can log on to the Cloud Backup console to view the regions in which Cloud Backup is supported.
On the CPFS Backup page, click Add Client.
Automatically activate the Cloud Backup client for Linux.
Copy one of the commands based on your network. Then, paste and run the command on the Cloud Backup client for Linux to activate the client.