Restore to CPFS for Lingjun

Updated at:

Backup points of CPFS General-purpose (agent-based backup) can be restored to a CPFS for Lingjun file system. This topic describes how to select the CPFS for Lingjun (Agentless Backup) destination type in the restore wizard to restore CPFS General-purpose backup data directly to a CPFS for Lingjun file system, without preparing a backup node (ECS).

Prerequisites

  • You have completed a CPFS General-purpose backup. For more information, see Back up CPFS General-purpose.

  • You have obtained the permissions required to use Cloud Backup. If you use a RAM user, make sure that the RAM user is granted the required Cloud Backup permissions.

Billing

The restore feature is free of charge. For more information, see Billing methods and billable items.

Notes

  • The file restore speed depends on the number and size of files. Restoring a large number of files may take a long time. For more information, see File backup and restore speeds (test environment data, for reference only).

  • You can restore data only to a CPFS for Lingjun file system. Restoring data to the source file system is not supported.

  • Virus detection during restore is not supported.

  • When you restore files to a specified path, if files with the same name exist in the destination path, the existing files are overwritten. We recommend that you check the existing data in the destination path before you restore files.

Create a restore job

  1. Log on to the Cloud Backup console.

  2. In the navigation pane on the left, choose Back Up>CPFS Backup.

  3. In the upper-left corner of the top menu bar, select the region where your data is located.

  4. On the Protected CPFS Sources tab, find the target CPFS data source and click View Details on the right.

  5. In Backup History, click Restore in the Actions column of the target backup point.

    Note

    Select an appropriate historical backup point. The backup data of different backup points may vary.

  6. In the Create Restore Job panel, follow the configuration wizard to complete the following operations.

    1. Select Restore Items, then click Next.

      Parameter

      Description

      Restore Items

      Configure the files or folders to restore. The restore rules include the following three options. The options are mutually exclusive, and only one can take effect at a time:

      • Include All Files: Restores all files from the source client.

      • Include Files or Exclude Files: Select the files to include or exclude, or enter a list of files to include or exclude. Cloud Backup then restores the specified files from the selected source client based on the rule.

        • Select files manually

        • Enter a file list manually

          Enter one path per line in the file list. Each line must start with the last folder of the source backup path.

          • Restore specified files

            For example, if the backup path is folder/test/data and you want to restore file.txt and abc.png in the data directory, enter the following in the file list:

            /data/file.txt
            /data/abc.png
          • Restore specified directories

            For example, if the backup path is folder/test/data and you want to restore all files or subdirectories in the data directory, enter the following in the file list:

            /data/
          • Restore files or directories that match a wildcard character

            For example, if the backup path is folder/test/data and you want to restore files or subdirectories in the data directory that start with abc, enter the following in the file list:

            /data/abc*
    2. Configure the Restore Destination, then click Next.

      Parameter

      Description

      Destination Type

      Select CPFS for Lingjun (Agentless Backup). You do not need to prepare a backup node (ECS). The backup point data is restored directly to the CPFS for Lingjun file system.

      File System

      Select the target file system from the list. You can restore to another CPFS for Lingjun file system within the same account without adding a data source in advance.

      Important

      Restoring to the source file system is not supported.

    3. Configure the Destination Path, then click OK.

      Important

      Make sure that the restore path exists. Otherwise, the restore job fails.

      Parameter

      Description

      Restore Path Type

      • Specify Path: Restores files to a specified path. After you select this option, enter the absolute path within the target file system in Destination Path.

      • Origin Path: Restores files to the original path where the files were located when they were backed up.

    After the restore job is created, go to the Restore Jobs tab, filter Destination Type to CPFS for Lingjun (Agentless Backup), and view the restore job progress in the Status column.

    Note

    To cancel an in-progress restore job, click Cancel in the Actions column and confirm the cancellation.