Feature overview

Updated at:

This topic describes the ECS file backup Standard Edition of Cloud Backup, including its key advantages, how it works, procedures, and billing.

Introduction

The ECS file backup Standard Edition is a Cloud Backup solution that protects file systems on ECS instances. This solution lets you restore data from the backup vault if your production data is lost due to incidents such as accidental deletion or ransomware attacks.

Important

This feature has specific limitations. For more information, see Compatible system list and limits.

Key advantages

  • Automatic client installation

    After you select an ECS instance to back up, Cloud Backup automatically installs the client.

  • Cross-account backup

    After you grant the required permissions, you can use Account A to back up data from Account B. This helps enterprises centralize data protection management.

  • Deduplication and compression

    The Cloud Backup client performs source-side deduplication and compression on backup data. This reduces backup storage consumption and accelerates backups.

  • Backup lock

    Cloud Backup provides a backup lock feature for backup vaults. No account or method can delete backup data before the configured retention period expires.

  • Cross-region or cross-account backup

    You can use the cross-region backup or cross-account backup vault replication feature to quickly copy critical data to different regions or accounts for multi-layered disaster recovery protection.

How it works

Backup principle

Cloud Backup backs up data by automatically deploying a client on an ECS instance. The client uses Cloud Assistant for installation and management. Make sure the Cloud Assistant Agent is installed on the ECS instance. The client then backs up specified folders based on the backup plan configuration.

The backup process uses a forever-incremental mechanism. The first job performs a full backup. Subsequent jobs are incremental and upload only changed data. The service then synthesizes a complete full backup in the cloud. The client scans the specified folders to identify files that need to be backed up, and then performs data deduplication and compression to reduce network traffic.

Client O&M

Cloud Backup uses Cloud Assistant to install, uninstall, and check the status of the backup client. If the client is in an abnormal state, Cloud Backup attempts to repair it by using Cloud Assistant. These maintenance operations use the following scripts:

  • Installation: The installation script pre-checks file system permissions, network connectivity, and software dependencies. If the pre-checks pass, the script downloads the installation package to a local disk and runs the installation.

    After installation, two new services are added.

    • Windows: Alibaba Cloud Backup Service and Alibaba Cloud Backup Update Service

      Open services.msc and verify that the status of these two services is Running and the startup type is Automatic (Delayed Start).

    • Linux: hbrclient.service and hbrclientupdater.service. The process names are hbrclient and updater.

      # Obtain information about all services and their processes that contain "hbr".
      systemctl list-units | grep hbr | awk '{print $1}' | xargs -I {} sh -c 'echo Service: {}; systemctl show {} -p MainPID | grep MainPID=; ps -p $(systemctl show {} -p MainPID | grep MainPID= | cut -d "=" -f2) -o pid,comm,cmd'
      # The following result is returned:
      Service: hbrclient.service
      MainPID=2170
          PID COMMAND         CMD
         2170 hbrclient       /opt/alibabacloud/hbrclient/client/hbrclient run
      Service: hbrclientupdater.service
      MainPID=2246
          PID COMMAND         CMD
         2246 updater         /opt/alibabacloud/hbrclient/update/updater
  • Uninstallation: The uninstallation script uninstalls the client.

    After uninstallation, the system removes the hbrclient and hbrclientupdater services and processes.

  • Restart: The restart script restarts the hbrclient and hbrclientupdater services. If the system fails to restart the services, the script attempts to restart them by killing the processes.

  • Check: The diagnostic script checks the client version, error logs, network reachability, disk space, mount information, and system time.

Procedure

The following procedure shows how to back up ECS files in the Cloud Backup console.

image
  1. Activate Cloud Backup

    You are not charged for activating Cloud Backup. You are charged software usage fees (file backup software fees) and storage capacity fees for Cloud Backup. For billing details, see Billing overview.

  2. Back up ECS files

    Create a backup plan and configure the backup vault, backup content, backup cycle, and backup retention period. When you create a backup plan, Cloud Backup automatically installs the backup client on the ECS instance. You do not need to install the client manually. Cloud Backup starts the plan and continuously backs up files on the ECS instance based on the plan.

    Important
    • If the region that you select supports backup policies, you can create a backup plan only by associating it with a backup policy. Cloud Backup backs up ECS files periodically based on the backup policy.

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

    • Legacy backup plans have been fully upgraded to backup policies. When you edit a legacy backup plan, the system displays an upgrade prompt. Click OK to complete the upgrade automatically. You do not need to manually bind the plan to a backup policy. After the upgrade, the existing configurations (including the backup vault, backup cycle, and retention period) are fully retained. Existing historical backup points are not affected and are stored in the same backup vault as the new backup points created after the upgrade, so that you can view the backup history with ease. After the upgrade, you cannot roll back to a legacy backup plan.

  3. Restore ECS files

    If files on an ECS instance are lost or abnormal, you can restore them from historical backup points. You can restore backed-up files to the original ECS instance, a new ECS instance, or an on-premises server.

    Important
    • If you restore files to a new ECS instance, an additional file backup software fee is charged for the client.

    • If you restore files to an on-premises server, an additional file backup software fee is charged for the client, along with outbound Internet traffic fees.

Billing

The ECS file backup Standard Edition involves two main types of fees:

  • File backup software fees: These fees are charged based on the number of ECS instances on which a client is installed.

  • Storage capacity fees: These fees are charged based on the storage capacity that is consumed by backup data in a backup vault.

    View the backup vault details on the Overview page of the Cloud Backup console.

In addition, other fees may be incurred for specific backup configurations or operations when you use Cloud Backup. For example, if another file system, such as an OSS bucket mounted by using ossfs, is mounted to the backup directory, additional request fees may be incurred. These fees are charged by the corresponding service provider, such as the OSS service provider. For more information, see Billing methods and billable items.

Important

When you use a mounted file system, review the billing rules of the service provider to avoid unexpected fees.

For more information about the pricing of each billable item, see Pricing.

References