This topic describes how to search for and retrieve files of a data source or an archive vault.
Prerequisites
The data of a data source is archived. For more information, see Archive data.
Background information
Cloud Backup allows you to search for files in a data source or an archive vault.
You can archive the files that you obtain from a data source.
You can restore the files that you obtain from an archive vault to a data source.
Search for files
Log on to the Cloud Backup console.
In the left-side navigation pane, click Archive.
In the top navigation bar, select a region.
Enter a file name or a folder name in the search box and click Search.
If you cannot find the required files by using the preceding search method, you can use the full-text and advanced search features.
Full-text search
If you turn on Full-Text Search, the search scope includes the content of each file. Otherwise, the system searches only the names of files and directories.
ImportantYou can use the full-text search feature to search for only the files that are stored in archive vaults. If you turn on Full-Text Search, select Archive Vault from the Search Type drop-down list.
If you set the Source Type parameter to HDFS, the full-text search feature is not supported.
Advanced search
Turn on Advanced Search, configure one or more of the following parameters, and then click Search.
Parameter
Description
From Data Source
Select a data source. If you want to search for files from a data source, select the data source from the drop-down list.
Archived Time
Specify a time range during which the files were archived.
Search Type
Specify whether you want to search for files or folders. Valid values:
File
Folder
Belongs to Vault
Select an archive vault. If you want to search for files from an archive vault, select the archive vault from the drop-down list.
Modify Time
The time range during which the files were modified.
Min Size
The minimum size of a file. Unit: KB, MB, or GB.
Archive Status
The archive status of the files. Valid values: No Limitation, Archived, and Not Archived.
Creation Time
The time range during which the files were created.
Max Size
The maximum size of a file. Unit: KB, MB, or GB.
Owner
The owners of the files. Separate multiple values with commas (,).
Extension
The extensions of the files. Separate multiple values with commas (,).
Group
The user groups of the files. Separate multiple values with commas (,).
The search results show the details of each file. The following table describes the parameters in the search results.
Parameter
Description
Filename/Path
The name of a file or directory.
File Location
The archive vault or data source in which the file is stored.
File Info
The information about the file. The information includes the creation time, modification time, size, and owner.
Archive files from a data source
If you search for a data source by name, you can archive the files that are returned in the search results. You can archive one or all files in the search results.
Select the files that you want to archive.
Click Archive Selected File.
To archive all the files from a data source, click Archive All Result.
ImportantTo archive all files, select the data source whose files you want to archive in the advanced search options.
In the Create Archive Plan dialog box, configure the parameters and click Next. The following table describes the parameters.
In this example, an existing archive vault is selected.
Parameter
Description
Configure Archive Vault
Select an existing archive vault. If no archive vault is available, create an archive vault. Select Create Archive Vault and enter a name for the new archive vault. The name must be 1 to 64 characters in length.
NoteAn archive vault is a cloud repository that is used by Cloud Backup to store archive data. Archive data that is collected by multiple clients can be stored in the same archive vault. Archive vaults can reside in different regions. You can select or create an archive vault only in the region that you specify.
Archive Vault Name
The name of the archive vault. If you do not configure this parameter, a random name is specified.
Archive Plan Name
The name of the archive plan. If you do not configure this parameter, a random name is specified.
Archive Content
The files that you want to archive. The files that you want to archive are automatically selected.
Archive Type
The archive type. Valid values:
Archive Once: If you select this option, the file is archived only once.
Archive On Schedule: If you select this option, you must configure the Archive Start Time and Archive Run Interval parameters. After you configure the preceding parameters, Cloud Backup runs the first archive job at the point in time that is specified by the Archive Start Time parameter. Then, Cloud Backup runs subsequent archive jobs at the interval that is specified by the Archive Run Interval parameter.
After you create an archive plan, the archive plan is displayed on the Archive Plan tab.
Retrieve files from an archive vault
You can search for an archive vault by name. You can restore the files that you obtain from the archive vault to a data source.
Select the files that you want to retrieve.
Click Retrive Selected File in the upper-right corner.
To retrieve files from one or more archive vaults, click Retrive All Result.
ImportantTo retrieve all files, select the archive vault whose files you want to retrieve in the advanced search options.
In the Create Restore Job panel, perform the following steps:
Confirm the files that you want to retrieve and click Next.
The files that you want to retrieve are automatically selected.
Select a restore destination and click Next.
Select a NAS file system to which you want to restore the files.
Specify a recovery path and click OK.
You can restore the files to the original path or specify a new path. For example, you can specify
/home/usr
.
After you create a retrieval job, the retrieval job is displayed on the Job List tab.