This topic describes how to use Hybrid Backup Recovery (HBR) to archive data from data sources. When you archive data, an archive vault is generated. You can save data in the archive vault for a long period of time. You can also search for and retrieve files based on your business requirements.

Prerequisites

A data source is added. For more information, see Add a data source.

Archive methods

HBR allows you to use one of the following methods to archive data from a data source that you add:

  • Visual Analysis and Archive

    When you add a data source, turn on Enable Data Source Analyze. You can use this method if you want to analyze data before you archive the data from a data source.

  • Directly archive data

    When you add a data source, turn off Enable Data Source Analyze. You can use this method if you want to directly archive the data from a data source.

Visual Analysis and Archive

  1. Log on to the HBR console.
  2. In the left-side navigation pane, click Archive.
  3. In the top navigation bar, select a region.
  4. On the Analyze and Archive tab, click Archive next to the data source whose data you want to archive.
  5. In the dialog box that appears, click Visual Analysis and Archive.
  6. In the Create Archive Plan panel, perform the following steps:
    1. Configure archive filters and click Next.
      You can configure filter conditions, such as the directory name, extension name, modification time, access time, and file size, to find the files that you want to archive. Click Add Archive Filter to add an archive filter. Repeat this step to add multiple archive filters.
    2. Configure the parameters and click OK. The following table describes the parameters.
      Category Parameter Description
      Basic settings 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 Start Time The time at which the archive plan starts. The time is accurate to seconds.
      Archive Run Interval The interval at which HBR archives data. Unit: days or weeks.
      Advanced settings Archive Sub-task Slice Size You can add multiple clients to a backup client group, and all clients can run an archive job at the same time. If you configure this parameter, the number of files that a client can archive is limited to the value that you specify. Excess files are archived by another client.
      Delete Original File After Archived Specifies whether to delete the original files after the archive plan is completed. By default, HBR does not delete the original files.
      When Same File Exists
      • Skip this file: The file is skipped and not archived.
      • Overwrite files in archive library: Archive the file again and overwrite the existing file in the archive vault.
      • Save as another version (default value): The file is archived as another version.
      Archive vault settings Config 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 HBR 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.
      Storage type This parameter is required only if you set the Config Archive Vault parameter to Create Archive Vault. This parameter specifies the storage type of archive data. Valid values:
      • Standard
      • IA
      • Archive
      Search Config This parameter is required only if you set the Config Archive Vault parameter to Create Archive Vault. This parameter specifies the search scope. Valid values:
      • Search Meta Only
      • Search Full Content
      Archive Retention Policy This parameter is required only if you set the Config Archive Vault parameter to Create Archive Vault. This parameter specifies the retention policy for archive data. Valid values:
      • Limited: Archive data is retained for a specified period of time. If you select Limited, you must configure the Archive Retention Period parameter.
      • Permanent: Archive data is retained for persistent storage.
      Archive Retention Period This parameter is required only if you set the Archive Retention Policy parameter to Limited. This parameter specifies the retention period of archive data. Unit: days, weeks, months, or years.
    After you create an archive plan, the archive plan is displayed on the Archive Plan tab. archiveplan

Directly archive data

  1. Log on to the HBR console.
  2. In the left-side navigation pane, click Archive.
  3. In the top navigation bar, select a region.
  4. On the Analyze and Archive tab, click Archive next to the data source whose data you want to archive.
  5. In the dialog box that appears, click Directly Archive.
  6. In the Create Archive Plan dialog box, configure the parameters and click OK. The following table describes the parameters.
    Category Parameter Description
    Archive vault settings Config 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 HBR 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.
    Storage type This parameter is required only if you set the Config Archive Vault parameter to Create Archive Vault. This parameter specifies the storage type for archive data. Valid values:
    • Standard
    • IA
    • Archive
    Search Config This parameter is required only if you set the Config Archive Vault parameter to Create Archive Vault. This parameter specifies the search scope. Valid values:
    • Search Meta Only
    • Search Full Content
    Archive Retention Policy This parameter is required only if you set the Archive Retention Policy parameter to Create Archive Vault. This parameter specifies the retention policy of archive data. Valid values:
    • Limited: Archive data is retained for a specified period of time. If you select Limited, you must configure the Archive Retention Period parameter.
    • Permanent: Archive data is retained for persistent storage.
    Archive Retention Period This parameter is required only if you set the Archive Retention Policy parameter to Limited. This parameter specifies the retention period of archive data. Unit: days, weeks, months, or years.
    Archive plan settings 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 File Path The path of the source files that you want to archive. Example: /myshare.
    Archive File Rules You can specify one of the following archive rules:
    • Include All Files: All files in the archive file path that you specify are archived.
    • Include Files or Exclude Files: You must enter the names of the files that you want to archive or exclude in the Enter Paths field. HBR archives files based on the rule that you specify.

      The file name that you enter in the Enter Paths field is equivalent to a sub-path of the archive file path. HBR matches the file names based on the following rules:

      • If you specify a file name that starts with a forward slash (/), HBR combines the sub-path and the archive file path into a complete path. All files in the complete path are included in or excluded from the archive plan.

        For example, if the Archive File Path parameter is set to /ifs/dataset and the Enter Paths parameter is set to /subdir/data, all files and directories in the /ifs/dataset/subdir/data directory are included in or excluded from the archive plan.

        For example, if the Archive File Path parameter is set to /ifs/dataset and the Enter Paths parameter is set to /abc*, files and directories whose names are prefixed by abc in the /ifs/dataset/abc directory are included in or excluded from the archive plan.

      • If you specify a file name that does not start with a forward slash (/), HBR uses the file name as a condition. All files and directories that match the condition in the archive file path are included in or excluded from the archive plan.

        For example, if the Archive File Path parameter is set to /ifs/dataset and the Enter Paths parameter is set to abc*, all files and directories whose names are prefixed by abc in the /ifs/dataset directory are included in or excluded from the archive plan.

        For example, if the Archive File Path parameter is set to /ifs/dataset and the Enter Paths parameter is set to abc, all files and directories whose names are abc in the /ifs/dataset directory are included in or excluded from the archive plan.

    Archive Start Time The time at which the archive plan starts. The time is accurate to seconds.
    Archive Run Interval The interval at which HBR archives data. Unit: days or weeks.
    Advanced settings Archive Sub-task Slice Size You can add multiple clients to a backup client group, and all clients can run an archive job at the same time. If you configure this parameter, the number of files that a client can archive is limited to the value that you specify. Excess files are archived by another client.
    Delete Original File After Archived Specifies whether to delete the original files after the archive plan is completed. By default, HBR does not delete the original files.
    When Same File Exists
    • Skip this file: The file is skipped and not archived.
    • Overwrite files in archive library: HBR archives the file again and overwrites the existing file in the archive vault.
    • Save as another version (default value): The file is archived as another version.
    After you create an archive plan, the archive plan is displayed on the Archive Plan tab. archiveplan

What to do next

After you create an archive plan, you can perform the operations as described in the following table on the archive plan.
Operation Description
Run Now Immediately runs an archive plan.
Modify Plan Modifies an archive plan.
Delete Plan Deletes an archive plan. If you no longer require an archive plan, you can perform this operation.

What to do next

Search and retrieve