You can use Hybrid Backup Recovery (HBR) to back up files from Elastic Compute Service (ECS) and restore the files if needed. This topic describes how to back up files from ECS instances.
Prerequisites
Preparations are completed.
Back up files from an ECS instance
To back up files from an ECS instance, perform the following steps:
Back up files from multiple ECS instances
You can create multiple backup plans back up files from multiple ECS instances. To create multiple backup plans in a batch, perform the following steps:
Query files that are backed up
In the HBR console, you can query the list of files that are backed up in each backup plan.
What to do next
Operation | Procedure |
---|---|
View an error report | Find the backup plan and view the backup progress in the Status column. If the backup of some files fail, click View in the Actions column. In the Errors column, click the Download icon to download the error report. |
Start a backup job | Find the backup plan, and choose Actions column. | in the
Cancel a running backup job | Find the backup plan, and choose Actions column. | in the
Pause a running backup job | Find the backup plan, and choose Actions column. | in the
Resume a paused backup job | Find the backup plan, and choose Actions column. | in the
Modify a backup plan | Find the backup plan, and choose Actions column. | in the
Delete a backup plan | Find the backup plan, and choose Actions column. After you delete the backup plan, HBR no longer runs backup jobs for the plan but the backup data is retained. | in the
FAQ
If file backup fails due to an unstable network connection, you can perform the following operations and try again:
- Log on to the ECS instance from which files need to be backed up.
- Go to the installation directory of the HBR backup client.
- In the
client
folder, create a file namedhbr.config
.Note Thehbr.config
file must be in the same directory as thehybridebackup
andids
executable files. - Add the following parameters to the
hbr.config
file.Parameter Description retry_times The number of file backup retries. Default value: 3. retry_interval The interval at which file backup is retried. Default value: 100 ms. skip_error_files Specifies whether to skip files that fail to be backed up. Default value: false. - false: does not skip the failed files.
- true: skips the failed files.
The following script shows example configurations of the parameters in the hbr.config file.
retry_times=3
retry_interval=100
skip_error_files=false