All Products
Search
Document Center

Cloud Backup:Restore files to an ECS instance

Last Updated:Sep 21, 2023

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 an ECS instance.

Create a restore job

  1. Log on to the Cloud Backup 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. Configure the Restore Items parameter and click Next.

      The following table describes the valid values of the parameter.

      Parameter

      Description

      Restore Items

      The files or folders 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 files that you want to restore. In the text box, enter the paths of the files or folders that you want to restore. Cloud Backup restores files in the client based on the specified restore policy.

        In the text box, enter one path in each line and make sure that the first folder in each path is 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, specify 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 files that you want to restore. In the text box, enter the paths of the files or folders that you want to restore. Cloud Backup restores files in the client based on the specified restore policy.

        In the text box, enter one path in each line and make sure that the first folder in each path is 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, specify the following paths:

        /data/file.txt
        /data/abc.png
    2. Specify a destination for data restoration and click Next. The following table describes the parameters.

      Parameter

      Description

      Destination Type

      Select Backup Clients for ECS.

      Client Name

      The name of the client to which you want to restore the files.

    3. Specify the restore path and click Start Restore. The following table describes the parameters.

      Parameter

      Description

      Restore Path Type

      • Specify Path: restores files to the path that you specified.

      • 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 you want to restore files.

      File Conflict Policy

      • Skip This File

      • Overwrite The File (default value)

      • Keep Latest File

    After the restore job is created, you can view the progress of the restore job in the Status column on the Restore Jobs tab.