Monday, November 11, 2019

Snapshotting disks


Azure VMs have a kind of snapshot capability whereby disk images can be saved and restored later if required.

In overview;

  • Create Snapshot of a (preferably offline) disk and a Snapshot object is created.
  • If required, create a new disk and reference the snapshot as the source for the disk.
  • To rollback to the snapshot disk, detach the existing disk from the VM and then attach the new disk created from the snapshot.