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
- 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.
- 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.
- Back up local disk data.
Back up the data stored in local disks to the new EVS disk that is attached to the ECS.
- 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.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot