alibabacloud-ecs-disaster-recovery-snapshot
Installation
SKILL.md
ECS Snapshot-Based Disaster Recovery Backup
This skill provides snapshot-based disaster recovery backup for ECS instances. The original instance and all its resources remain untouched — this is a backup operation, not a migration. It supports two scenarios:
- Scenario A — Full Instance Backup: Backs up an entire ECS instance to a different availability zone. Multi-disk (system + ≥1 data disk): uses snapshot consistency group (CreateSnapshotGroup) for cross-disk consistency, then creates a full image (system + data disks) — run-instances directly from the image, data disks auto-restored. Single-disk (system only): uses individual snapshot (create-snapshot) + system-disk-only image. Use when: AZ failure, datacenter backup, full instance cloning.
- Scenario B — Disk-Level Backup: Takes a snapshot of specific disk(s) from a source instance, creates new disk(s) from the snapshot, and attaches them to an existing target instance. Use when: back up specific data disk to another instance, cross-instance disk backup, or attach source disk data to an existing DR instance.
Scenario Detection
At the start of the workflow, determine which scenario applies based on the user's intent: