What happened if you make changes while creating a live snapshot?

May 2, 2018 134 views
Backups Ubuntu 16.04

Let's say I start the creation a live snapshot (without turning off server) at 5:00 PM, and it finishes at 5:05 PM.

If I made changes to the server between the period of 5:00 to 5:05 PM, will those changes be seen in the snapshot? Or does the snapshot reflect the state of the droplet at exactly the moment the snapshot creation process begins (at 5:00 PM in this case)?

1 Answer

This would largely be true for all virtualizations


You can take a snapshot of an attached volume that is in use. However, snapshots only capture data that has been written to your Amazon EBS volume at the time the snapshot command is issued. This might exclude any data that has been cached by any applications or the operating system. If you can pause any file writes to the volume long enough to take a snapshot, your snapshot should be complete. However, if you can't pause all file writes to the volume, you should unmount the volume from within the instance, issue the snapshot command, and then remount the volume to ensure a consistent and complete snapshot. You can remount and use your volume while the snapshot status is pending.

Have another answer? Share your knowledge.