Alibaba Cloud Cloud Backup provides data synchronization for unstructured file storage. To synchronize data for the first time, you must add source and destination data sources in the Cloud Backup console. Supported data source types include Object Storage Service (OSS), Cloud Parallel File Storage (CPFS), and OSS-Compatible Storage.
Prerequisites
You have activated the Alibaba Cloud Cloud Backup service, which is free. The data synchronization feature is in public preview and is also free of charge.
You have granted the required permissions and have installed and activated the client. For more information, see Preparations.
Procedure
Log on to the Cloud Backup console.
In the left-side navigation pane, choose Synchronization > Data Synchronization.
In the top navigation bar, select a region.
On the Data Source List tab, click Create Data Source.
In the Create Data Source panel, configure the following parameters and click OK.
Object storage service (OSS)
Parameter
Description
Source Type
The type of the data source. Select Alibaba Cloud Object Storage Service (OSS).
Data Source Name
Enter a custom name for the data source.
Use HTTPS
Specifies whether to transfer data over HTTPS. HTTPS provides higher security than HTTP.
OSS Bucket
Select the OSS Bucket to synchronize. Cloud Backup automatically retrieves a list of buckets in the current region.
OSS Endpoint
Select the endpoint of the OSS Bucket from the drop-down list. For more information about OSS endpoints in each region, see Regions and endpoints.
If you synchronize data over the public internet, select the public endpoint of the bucket. For example, the public endpoint for the China (Beijing) region is
oss-cn-beijing.aliyuncs.com.If you synchronize data over an Alibaba Cloud VPC, select the internal endpoint of the bucket. For example, the internal endpoint for the China (Beijing) region is
oss-cn-beijing-internal.aliyuncs.com.
Cloud parallel file storage (CPFS)
Parameter
Description
Data Source Name
Enter a custom name for the data source.
CPFS Mount Path
The mount path of the CPFS file system. For example,
/cpfs/00d0******1b-000001.If you have not added a POSIX mount target or installed the CPFS-POSIX client, do so first.
You can run the following commands on the CPFS cluster management node to query the status of the CPFS cluster instance and the mount path.
OSS-compatible storage
Parameter
Description
Source Type
The type of the data source. Select OSS Compatible Storage.
Data Source Name
Enter a custom name for the data source.
Use HTTPS
Specifies whether to transfer data over HTTPS. HTTPS provides higher security than HTTP.
OSS Bucket
Enter the bucket name provided by your OSS-compatible storage provider.
OSS Endpoint
The endpoint provided by your storage service provider.
AccessKey ID
The AccessKey ID and AccessKey Secret from your storage service provider. Obtain the access key pair from the administrator of your OSS-Compatible Storage. The access key pair must have the permissions to read data from the OSS-Compatible Storage.
AccessKey Secret
Related operations
After you add the source and destination data sources, you can create a synchronization plan.
On the Data Source List tab, find the target data source, click More in the Actions column, and perform one of the following operations:
Actions
Description
Edit Data Source
Modify the configuration parameters of the data source.
Unregister Data Source
If you no longer need to synchronize data, you can unregister the data source.
On the Sync Plan tab, delete all synchronization plans that are associated with the data source.
On the Data Source List tab, find the target data source, and click to unregister it.
In the View Client Groups panel, delete the client that is used for the synchronization task.
On the machine where the client is installed, uninstall the Cloud Backup client.