Help Center/ Elastic Cloud Server/ FAQs/ Data Backup and Restoration FAQ/ How Can I Back Up Local Disk Data?
Updated on 2024-09-29 GMT+08:00

How Can I Back Up Local Disk Data?

Scenarios

For ECSs that have local disks attached, data stored in local disks may be deleted during the event execution, such as instance redeployment or local disk replacement. To ensure data security, back up local disk data before authorizing the events.

Data stored in local disks cannot be backed up directly. You need to attach an EVS disk to the ECS and then migrate the local disk data to the EVS disk.

Procedure

  1. Add an EVS disk.

    Add an EVS disk based on the amount of the local disk data to be backed up.

    The new EVS disk must be in the same region and AZ as the ECS for which you want to back up the local disk data.

    For details, see Adding a Disk to an ECS.

  2. Attach the EVS disk to the ECS.

    Attach the created EVS disk to the ECS.

    For details, see Attaching an EVS Disk to an ECS.

  3. Back up local disk data.

    Back up the data stored in local disks to the new EVS disk that is attached to the ECS.

  4. Detach the EVS disk from the ECS.

    After the local disk data is backed up, detach the EVS disk attached to the ECS in step 2.

    For details, see Detaching an EVS Disk from a Running ECS.

    After the event is handled, attach that EVS disk to the ECS again and restore the backup data to the local disk.