All Products
Search
Document Center

Cloud Backup:Search and retrieve

Last Updated:Sep 21, 2023

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 use the files that you obtain from an archive vault to restore the related files to a data source.

Search for files

  1. Log on to the Cloud Backup console.

  2. In the left-side navigation pane, click Archive.

  3. In the top navigation bar, select a region.

  4. 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.

    searchbox
    • Full-text search

      If you turn on Fulltext Search, the search scope includes the content of each file. Otherwise, the system searches only the names of files and directories.

      Important
      • You can use the full-text search feature to search only for the files that are stored in archive vaults. To perform a full-text search, select Search Archive Vault in the advanced search options.

      • If you set the Source Type parameter to HDFS, the full-text feature is not supported.

    • Advanced search

      Turn on Advanced Search, configure one or more of the following parameters, and then click Search. The following table describes the parameters.

      Parameter

      Description

      From Data Source

      Select Search Datasource. If you want to search a data source, select the data source from the drop-down list.

      Archived Time

      Specify a time range during which the destination object was archived.

      Search Type

      The type of the destination object. Valid values:

      • File: searches for a file.

      • Folder: searches for a folder.

      Belongs to Vault

      Select Search Archive Vault. If you want to search an archive vault, select the archive vault from the drop-down list.

      Modify Time

      The time range during which the file was modified.

      Min Size

      The minimum size of a file. Unit: KB, MB, or GB.

      Archive Status

      The archive status of the destination file. Valid values: No Limitation, Archived, and Not Archived.

      Creation Time

      The time range during which the file was created.

      Max Size

      The maximum size of the file. Unit: KB, MB, or GB.

      Owner

      The owner of the file. Separate multiple values with commas (,).

      Extension

      The extension of the file. Separate multiple values with commas (,).

      User Group

      The user group of the file. Separate multiple values with commas (,).

    The search results show the details of each file. The following table describes the parameters in the search results.

    Name

    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 a file from a data source

If you search a data source by name, you can archive a file that is returned in the search results. You can archive one or all files in the search results.

  1. Select the file that you want to archive.

  2. Click Archive Selected File.

    To archive files from the same data source, click Archive All Result.

    Important

    To archive all files, select the data source whose files you want to archive in the advanced search options.

  3. In the Create Archive Plan panel, configure the parameters and click OK. The following table describes the parameters.

    In this example, the Select Archive Vault option is selected.

    Parameter

    Description

    Configure Archive Vault

    You can 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.

    Note

    An 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 for the archive vault.

    Archive Plan Name

    The name of the archive plan. If you do not configure this parameter, a random name is specified for the archive plan.

    Archive Content

    The file that you want to archive. By default, the file that you want to archive is specified.

    Archive Type

    The archive type. Valid values:

    • Archive Once: If this option is selected, the file is archived only once.

    • Archive On Schedule: If this option is selected, 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 use the files that you obtain from the returned archive vault to restore the related files to a data source.

  1. Select the file that you want to archive.

  2. In the upper-right corner of the page, click Retrive Selected File.

    To select files from one or more archive vaults, click Retrive All Result.

    Important

    To retrieve all files, select the archive vault whose files you want to retrieve in the advanced search options.

  3. In the Create Restore Job panel, configure the following settings:

    1. Confirm the files that you want to retrieve and click Next.

      By default, the files that you want to retrieve are specified.

    2. Select a restore destination and click Next.

      Select a NAS file system to which you want to restore the files.

    3. Specify a restore path and click OK.

      You can restore the files to the original path or specify a new path. You can specify a new path, for example, /home/usr.

    After you create a retrieval job, the retrieval job is displayed on the Job List tab.