Snapshot is an exact copy of your disk at a point in time used to backup a full image of your persistent disks.
Snapshots are differential, that means they work in the following way: The first snapshot of a persistent disk is a full snapshot that contains all the data on the persistent disk. The second snapshot only contains any new data or modified data since the first snapshot. Data that hasn't changed since snapshot 1 aren't included. Instead, snapshot 2 contains references to snapshot 1 for any unchanged data. Snapshot 3 contains any new or changed data since snapshot 2, and references to blocks in snapshot 1 and snapshot 2 for any unchanged data.
File system cache will not be present in the snapshot, meaning a snapshot is equivalent to a disk that underwent an unclean shutdown. Google uses compression to save your data and even if it's the first snapshot of the server, the amount will be less than the actual size of the VM.
Snapshot storage price: $0.026 per GB /month
Compute Engine encrypts and compresses the data. Multiple copies of each snapshot are stored redundantly across multiple locations with automatic checksums to ensure the integrity of your data. Therefore, in case there's any damage to your data center, your snapshots are still safe.
Snapshots on Google are multi-zone. For example, you can have an instance in us-east4-c, create a snapshot, delete the server, and then you can create a new server in australia-southeast1-a using the snapshot from the instance you just deleted.
Per Google limitation, VSS is not available for Windows boot disks.
We recommend to have a secondary backup solution in place that is more convenient for fast file/ folder restores like Microsoft Volume Shadow Copy.
Schedule a Snapshot
In itopia's Cloud manager section under Snapshots, you can schedule your snapshot preferences. Click the green + sign to create a new snapshot:
Add plan window will open to configure your new plan details. Put a Name and a Description.
In Retention section, specify the number of snapshots you need to have saved and available. When the number of snapshots gets higher than your retention criteria, the system will start deleting them from the oldest one.
In the Schedule configuration, you can choose the time and the frequency of snapshots. It will be automatically applied to the time zone you selected when creating the deployment. Lastly, select servers for the specified schedule and hit Save.
Your new snapshot plan will appear in Plans tab and you can modify it (pencil icon) or delete it (trash bin icon) anytime.
In Snapshots tab you will see the list of your successful snapshots:
IMPORTANT: It's recommended to have standard backup solution in place (e.g. VSS/ Windows backups) as an addition to Snapshots to be able to recover files without reverting the disk back to an older snapshot.
Delete the snapshot plan
You can either delete the snapshot plan and keep the snapshots that were already created under the schedule, or delete the existing snapshots as well along with the plan.
To delete the snapshots, mark the snapshot plan you want to delete and hit the trash bin icon. In the confirmation message you will have an option to delete the existing images that were created under the plan. Mark the option if that's what you want to do, if not, leave it unchecked.
Related articles: How to restore from a Snapshot