- Documentation
Cloud Backup and Recovery
User Guide
Public cloud backup
ECS local file backup
ECS local file backup overview
ECS local file backup
ECS local file backup overview
ECS local file backup overview
ECS file backup is a refined data protection feature provided by CBR, supporting backup and recovery of files or directories within ECS instances.
Tip
The ECS local file backup service is currently in invitation-only testing. Contact your account manager to enable the whitelist if you need access.
- Backup of key configuration files: regularly back up configuration files of applications such as Nginx, Apache, and Tomcat.
- Backup of application data and logs: back up business data directories and logs for archiving or auditing.
- Backup of database files: back up physical backup files exported by database dumps.
- Cross-instance data distribution: uses backup and restore functions to transfer data between different ECS instances.
ECS file backup offers both automatic and manual backup methods. Detailed explanations and differences between the two methods are as follows:
The steps for manually and automatically backing up ECS local files using the CBR Console are as follows.
Manual backup
Automatic backup
- Create an ECS local file backup source on the CBR console. The backup source is the backup target, which corresponds to the ECS instance. When creating an ECS instance, you must select install cloud assistant Agent on startup.
- Perform a manual backup on the target backup source. After creating the manual backup task, the system automatically generates the corresponding restore point.
- When an ECS instance or cloud disk is abnormal, select the target restore point to recover backup data.
- When files in an ECS instance are abnormal, you can restore files based on historical backup points. Supports restoring backed-up ECS files to the source instance or a new ECS instance.
- Create an ECS local file backup source in the CBR console. The backup source represents the backup object, corresponding to the ECS instance.
- Configure backup rules and backup retention rules in the backup policy.
- A backup plan links backup sources with backup policies. After successful creation, the system automatically performs scheduled backups on specified sources according to the policy, generating corresponding recovery points after each backup task completes.
- When an ECS instance or cloud disk encounters issues, select a target recovery point to restore the backup data.
- Example: Restore the recovery points of /src/b/, /src/b/1.txt, and /src/b/2.txt using the retain latest version policy to /dst/. If /dst/b/ is an immutable directory and its version is newer than /src/b/ in the recovery point, the restoration of /src/b/1.txt and /src/b/2.txt will fail because /dst/b/ cannot be written to. For optimal backup performance, it is recommended to run the CBR Agent on machines with dual-core or higher 64-bit CPUs and at least 8 GB of available memory.
- No fees will be charged if no backup operations are performed after activating the CBR service.
- Backing up ECS local files will incur storage costs for backup data. For more information, see Billing Notes.
Last updated: 2026.07.13 17:21:15