After you back up files from a Cloud Parallel File Storage (CPFS) file system to a backup vault by using Cloud Backup, you can restore the files based on historical backup points if the files are lost or damaged. You can restore all backup files or files that meet the specified conditions. You can restore backup files to the source CPFS file system or restore backup files to a new CPFS file system.
Prerequisites
A CPFS file system is backed up. For more information, see Back up a CPFS file system.
Billing
You are not charged for the restore feature. For more information, see Billing methods and billable items.
Usage notes
The backup speed and recovery speed of Cloud Backup are obtained in a test environment. The values are provided for reference only. For more information, see Backup speed and recovery speed.
To restore a CPFS file system to a new CPFS file system, you must add the destination data source in the Cloud Backup console.
Create a restore job
Log on to the Cloud Backup console.
In the left-side navigation pane, choose Backup > CPFS Backup.
In the top navigation bar, select a region.
On the CPFS Backup page, find the data source that you want to restore and click the icon.
Click an available historical backup point and then click Restore.
In the Create Restore Job panel, perform the following steps.
In the Select Restore Items step, configure the Restore Items parameter and click Next.
Parameter
Description
Restore Items
The files or folders that you want to restore. The following restore policies are supported:
Include All Files: All files on the client are restored.
Include Files or Exclude Files: You can select or enter the paths of directories or files that you want to include in or exclude from the restore job. Cloud Backup restores files on the client based on the specified restore policy.
Select the files that you want to include in or exclude from the restore job
Specify the files that you want to include in or exclude from the restore job
Enter one path in each line and make sure that each path starts with the lowest-level directory in the source path that is backed up.
Restore specific files
For example, if you want to restore the file.txt and abc.png files in the folder/test/data directory, enter the following paths:
/data/file.txt /data/abc.png
Restore specific directories
For example, if you want to restore all the files and subdirectories in the folder/test/data directory, enter the following path:
/data/
Restore files or directories that match a condition containing wildcards
For example, if you want to restore the files and subdirectories whose names are prefixed with abc in the folder/test/data directory, enter the following path:
/data/abc*
In the Restore Destination step, specify a destination for data restoration and click Next.
Parameter
Description
Destination Type
Only CPFS is supported. The destination can be the source CPFS file system or a new CPFS file system. To use a new CPFS file system as the destination, you must add the file system as a data source in the Cloud Backup console in advance.
In the Destination Path step, specify the recovery path and click OK.
ImportantYou must make sure that the recovery path exists. Otherwise, the restore job fails.
Parameter
Description
Restore Path Type
Specify Path: restores files to the path that you specify. This parameter is required only if you set the Restore Path Type parameter to Specify Path. This parameter specifies the path to which the files are restored.
Origin Path: restores files to the path from which the files are backed up.
After a restore job is created, you can view the progress of the restore job in the Status column on the Restore Jobs tab.