Alibaba Cloud Cloud Backup provides a data synchronization feature for unstructured file systems. This feature lets you synchronize data from various sources to a destination on Alibaba Cloud. The supported sources include File Storage NAS (NAS), Hadoop Distributed File System (HDFS), S3-compatible storage, Object Storage Service (OSS), Cloud Parallel File Storage (CPFS), and OSS protocol-compatible storage. This topic describes the data synchronization feature of Cloud Backup, including an introduction, how it works, the procedure, and billing.
Introduction
The data synchronization feature is an online data synchronization service provided by Alibaba Cloud Cloud Backup. This feature helps you synchronize data from various data sources to a destination on Alibaba Cloud. The supported sources include NAS, HDFS, S3-compatible storage, OSS, CPFS, and OSS protocol-compatible storage.
The Cloud Backup client for Windows does not support mounting NAS using the NFS protocol. If the source or destination includes an NFS-based NAS, select the Cloud Backup client for Linux when you create a sync task.
OSS and S3 do not support synchronizing objects of the Archive storage class. Only the object data is copied, including files pointed to by symbolic links (symlinks). Metadata, such as read and write permissions, is not copied.
Key advantages
Incremental synchronization
This feature supports an incremental policy that allows sync tasks to run automatically at scheduled times. During incremental synchronization, only changed files are synchronized, which significantly improves efficiency.
Simple operations
Native support for cloud data sources simplifies configuration.
Excellent performance
The optimized data transmission link provides significantly better performance than traditional copy tools.
How it works
First, you install and activate the Cloud Backup client on one or more on-premises servers. Then, you log on to the Cloud Backup console to add the source and destination data sources.
After you create a sync task, the Cloud Backup client group scans the specified folders, detects the files that require synchronization, and uploads the incremental data to the cloud to complete the synchronization.
Cloud Backup supports data synchronization to Alibaba Cloud over the Internet, a VPN, or a leased line. For synchronization over the Internet, the server where the Cloud Backup client is installed requires only Internet access. You do not need to expose the server's IP address to the Internet.
Procedure
The procedure for data synchronization in the Cloud Backup console is as follows:
Before you synchronize data from HDFS, on-premises NAS, S3-compatible storage, CPFS, OSS, or OSS protocol-compatible storage, you must install a client on the server where the data source is located. The client is used to establish data and management connections with Cloud Backup.
Activating Cloud Backup is free, and Cloud Backup does not charge any fees for this feature. Alibaba Cloud NAS charges for reading files over the Internet and for file storage. Alibaba Cloud OSS also charges for file storage. For more information about billing, see Billing overview of Alibaba Cloud NAS and Billing overview of Alibaba Cloud OSS.
Before you synchronize data from HDFS, on-premises NAS, S3-compatible storage, CPFS, OSS, or OSS protocol-compatible storage, you must install the client on the server that runs the sync task. The server must be able to communicate with the data source node over the network. The client is used to establish communication and management services with Cloud Backup.
In the Cloud Backup console, add HDFS, on-premises NAS, S3-compatible storage, CPFS, OSS, or OSS protocol-compatible storage as a data source.
Create a data sync task. Cloud Backup starts the task and continuously synchronizes data based on the specified schedule. The data synchronization service is responsible only for data synchronization and cannot guarantee data consistency or integrity. After a sync task is complete, you must perform a full data consistency verification between the source and destination.
After a data sync task is complete, you must verify the destination data to ensure its accuracy. You are solely responsible for any data loss or other consequences that result from deleting the source data before you verify the accuracy of the destination data.
Limits
The Cloud Backup client for Windows does not support mounting NAS using the NFS protocol. If the source or destination includes an NFS-based NAS, select the Cloud Backup client for Linux when you create a sync task.
OSS and S3 do not support synchronizing objects of the Archive storage class. Only the object data is copied, including files pointed to by symbolic links (symlinks). Metadata, such as read and write permissions, is not copied.
Incremental file list (ChangeList)
Synchronizing data based on an incremental file list eliminates the need for a full scan of the file system. This reduces file scanning costs and improves synchronization efficiency. When you create a sync task, if you select OSS or S3-compatible storage as the data source, you can use the incremental file list feature.
An incremental file list is a CSV file that contains information about the files on the data source that need to be synchronized. Each row represents a file. The Name field specifies the relative path of the file from the root of the synchronization path. For example, the following figure shows a file named
changeList1.csv. The Name field is a required column that lists the files to be synchronized. Other columns are not supported.
NoteThe values in the Name column must be unique. Otherwise, files may be overwritten during data synchronization.
The value in the Name column must be a file path, not a folder path.
When you create a data sync task, specify the path to the folder that contains the incremental file list. When the data sync task starts, it reads and parses all CSV files in that path on the source data source. Then, it transfers the specified files to the destination.
NoteFor example, when you create an OSS-to-NAS sync task, you can use an incremental file list to specify the files to be synchronized. If the incremental file lists
changeList1.csvandchangeList2.csvare saved in the/changelistfolder in the source, set the incremental file list path to/changelist.After all files listed in a CSV file are processed, the CSV file is moved to a subfolder named
/Completedto indicate that the processing is complete.CSV file folder before processing
CSV file folder after processing
/changelist/changeList1.csv /changelist/changeList2.csv
/changelist/Completed/changeList1.csv /changelist/Completed/changeList2.csv
Billing
Cloud Backup does not charge any fees for this feature.
If you use Alibaba Cloud NAS, NAS charges storage fees. For more information, see Billing overview of Alibaba Cloud NAS.
If you use Alibaba Cloud OSS, OSS charges storage fees. For more information, see Billing overview of Alibaba Cloud OSS.
If you use Alibaba Cloud CPFS, CPFS charges storage fees based on the storage class, provisioned capacity, and usage duration. For more information, see Billing overview of Alibaba Cloud CPFS.