Get started with CPFS backup

Updated at:

You can quickly back up files in CPFS from the Cloud Backup console. Backing up CPFS for AI does not require compute resources or a backup client. Backing up CPFS General-purpose (including large-scale file systems) requires compute resources to install a backup client for agent-based backup. This topic describes the quick start process for both methods.

Procedure

CPFS for AI

  1. Activating Cloud Backup is free of charge. After you use the service, you are billed based on the backup storage capacity. For billing details, see Billing methods and billable items.

  2. On the CPFS Backup page, click the CPFS for AI tab, select the target file system, configure the backup file path and filter rules, and associate a backup policy to create a backup plan. Cloud Backup starts the plan and continuously backs up the file system according to the plan.

    Important
    • When you create a backup plan or associate a backup policy for the first time, Cloud Backup automatically creates the service-linked role AliyunServiceRoleForHbrNasBackup to obtain the required resource permissions. In the authorization dialog box that appears, complete the authorization as prompted.

    • After a backup plan is created, the first backup job is a full backup. Subsequent jobs are incremental by default.

    • For information about how to interpret backup policy parameters, see Policy Center.

  3. If files in the file system are lost or damaged, you can restore all files or files that meet the specified conditions from a historical backup point to the source file system or to a new CPFS for AI file system.

CPFS General-purpose

image
  1. Activate Cloud Backup

    Activating Cloud Backup is free of charge. After you use the service, you are billed based on the backup storage capacity. For billing details, see Billing methods and billable items.

  2. Install a Cloud Backup client

    The backup client establishes communication and control services between your on-premises server and Cloud Backup.

  3. Add a data source (CPFS)

    Add CPFS as a data source in the Cloud Backup console.

  4. Back up CPFS General-purpose

    On the CPFS Backup page, click the CPFS General-purpose tab, select the target data source, configure the backup file path and filter rules, and associate a backup policy to create a backup plan. Cloud Backup starts the plan and continuously backs up the file system according to the plan.

    Important
    • After a backup plan is created, the first backup job is a full backup. Subsequent jobs are incremental by default.

    • If the region you selected supports backup policies, you can set a backup schedule only by associating a backup policy. Cloud Backup backs up the file system periodically according to the backup policy.

    • In the left-side navigation pane of the console, click Policy Center to view the regions that support backup policies. For more information about how to create a backup policy, see Create a backup policy.

  5. Restore CPFS General-purpose

    If files in the file system are lost or damaged, you can restore all files or files that meet the specified conditions from a historical backup point to the source file system or to a new CPFS file system.