You can restore files to an Elastic Compute Service (ECS) instance from a backup of the ECS instance, or from another ECS instance in the same backup vault. You can also restore files to an ECS instance from a backup of an on-premises client.

Prerequisites

Files are backed up from ECS instances. For more information, see Back up files from ECS instances.

Create a restoration job

  1. Log on to the HBR console.
  2. In the left-side navigation pane, choose Backup > ECS File Backup.
  3. In the top navigation bar of the page, select the region where the instance is deployed.
  4. On the ECS File Backup page, click New Version.
  5. On the Backup Plans tab, click the jiahao icon on the left of a completed backup plan.
  6. Specify a point in time and click Restore.
  7. In the Create Restore Job dialog box, configure the following settings as prompted:
    1. Set the restoration parameters and click Next.
      You can set the following three parameters:
      Parameter Description
      Restore Items The files or directories that you want to restore.
      • Include All Files: All files on the client are restored.
      • Include Files: Select the files or folders that you want to restore.

        You can also click Enter Paths to specify the file that you want to restore. In the text box, enter the paths to the folders or files that you want to restore. HBR restores files in the client based on the specified restoration policy.

        In the text box, enter one path in each line and ensure that each path starts with the lowest-level folder in the directory that is backed up. For example, if the files in folder/test/data are backed up and you want to restore the file.txt and abc.png files in the data folder, enter the following paths:
        /data/file.txt
        /data/abc.png
      • Exclude Files: Select the files or folders that you do not want to restore.

        You can also click Enter Paths to specify the file that you want to restore. In the text box, enter the paths to the folders or files that you want to restore. HBR restores files in the client based on the specified restoration policy.

        In the text box, enter one path in each line and ensure that each path starts with the lowest-level folder in the directory that is backed up. For example, if the files in folder/test/data are backed up and you want to restore the file.txt and abc.png files in the data folder, enter the following paths:
        /data/file.txt
        /data/abc.png
    2. Configure a destination for data restoration and click Next.
      Parameter Description
      Destination Type Select the type of the destination to which files are restored.
      Client Name The client to which files are restored.
    3. Specify the restoration path and click Start Restore.
      Parameter Description
      Restore Path Type
      • Specify Path: restores files to a path that you specify.
      • Origin Path: restores files to the path from which the files are backed up.
      Destination Path This parameter is required only if the Restore Path Type parameter is set to Specify Path. You can specify a path to which files are restored.
    After the restoration job is created, you can view the job progress in the Status column on the Restore Jobs tab.