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 same ECS instance or another ECS instance that uses the same backup vault. You can also restore files to an ECS instance from a backup of an on-premises client. You can also use a mirror vault to restore files to an ECS instance in a different region or use a local backup client to restore files to the current ECS instance.

Prerequisites

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

Restore files to an ECS instance in the same region as the source ECS instance

To restore files to an ECS instance in the same region as the source ECS instance, perform the following steps:

  1. Log on to the Cloud Backup console.

  2. In the left-side navigation pane, choose Backup > ECS File Backup.

  3. On the ECS File Backup page, click the ECS Instances tab.

  4. On the ECS Instances tab, find the destination ECS instance, and click Restore in the Actions column.

  5. In the Create Restore Job pane, set the Restore From parameter to one of the following values:

    • Current ECS Instance

      Select this option if you need to restore files from the current ECS instance. Then, perform the following steps:

      1. Click Next.

      2. In the Select Backup step, select a backup and click Next.

      3. In the Configure Restore Policy step, enter a destination path, select a restore policy, specify the files that you want to restore based on the policy, and then click Create.

        To specify the files to restore, you can select files or enter a list of paths to directories and files.

        Select one of the following options as the restore policy:

        • Include All Files: Cloud Backup restores all files that are backed up from the source ECS instance.

        • Include Specified Files or Exclude Specified Files: In the text box, enter the paths to the directories and files that you want to restore. Cloud Backup restores files that are backed up from the source ECS instance based on the restore policy.

        In the text box, enter one path in each line and start each path with the source directory.

        If the source path is C:\Windows\ABC and you want to restore folder and folder\file.txt in the ABC directory, enter the following paths:

        \ABC\folder
        \ABC\folder\file.txt
    • Other ECS Instance

      Select this option if you need to restore files from another ECS instance that uses the same backup vault as the current ECS instance. Then, perform the following steps:

      1. Select the source ECS instance and click Next.

      2. In the Select Backup step, select a backup and click Next.

      3. In the Configure Restore Policy step, enter a destination path, select a restore policy, specify the files that you want to restore based on the policy, and then click Create.

        Note

        The method to configure a restore policy for data restoration from another ECS instance is the same as the method to configure a restore policy for data restoration from the current ECS instance.

    • On-premises Server

      Select this option if you need to restore files from an on-premises server. Then, perform the following steps:

      1. Select the client that is used to back up the files from the on-premises server and click Next.

      2. In the Select Backup step, select a backup and click Next.

      3. In the Configure Restore Policy step, enter a destination path, select a restore policy, specify the files that you want to restore based on the policy, and then click Create.

        Note

        The method to configure a restore policy for data restoration from an on-premises server is the same as the method to configure a restore policy for data restoration from the current ECS instance.

    Note

    You can view the progress of the created restore job on the Restore Jobs tab of the ECS File Backup page.

Restore files to an ECS instance in a different region from the source ECS instance

A backup vault is a repository that Cloud Backup uses to store backup data in the cloud. A mirror vault is the mirror of a backup vault. The two vaults reside in different regions. You can restore files of ECS instances across regions by using a mirror vault to implement disaster recovery.

Before you can restore files to an ECS instance in another region, you must create a mirror vault for the backup vault of the source ECS instance. For information about how to create a mirror vault, see Back up data across regions.

To restore files to an ECS instance in another region, perform the following steps:

  1. Log on to the Cloud Backup console.

  2. In the left-side navigation pane, choose Backup > ECS File Backup.

  3. Select the region where the mirror vault resides.

  4. On the ECS Instances tab, install a backup client on the destination ECS instance.

    Note

    You must select an existing mirror vault. Mirror vaults are tagged with [COPY]. For more information about how to set other parameters when installing the backup client, see Install Cloud Backup clients on multiple ECS instances.

  5. Click Restore in the Actions column.

    Select Other ECS Instance or On-premises Server as Restore From. For information about how to set the other parameters, see Restore files to an ECS instance in the same region as the source ECS instance.