What are Hyper-V Checkpoints, Snapshots, and VSS?
Are you getting confused (like everyone else) about checkpoints, snapshots, VSS snapshots, Hyper-V snapshots, and SAN snapshots?
It is confusing thanks to Microsoft and a couple of others….
Let’s get to work:
Hyper-V Snapshots are Now Called Checkpoints
Hyper-V snapshots were called snapshots in Windows Server 2008 and Windows Server 2008 R2.
Then Microsoft renamed them “to prevent confusion” to Hyper-V Checkpoints.
Hyper-V snapshots are essentially the same thing as VMware snapshots and VirtualBox snapshots.
The state of a virtual machine is saved, creating a restore point so you can go back in time and quickly restore the hard drive and actual VM state of a particular point in the past, when the snapshot was created.
Hyper-V checkpoints are for demo and test purposes only. They are not meant to be used on a production system.
Caveats
This section describes potential issues with checkpoints.
Data corruption
This ‘going back in time’ feature sound good and useful but you need to know what you are doing. First, some transaction and replication-based services and applications may fail big time if you ‘set the clock back’. If the internal state goes back to a prior state, but the data has been already replicated elsewhere…there will be problems on the horizon.
Data Loss
The quality of snapshots and their management depend solely on the virtualization platform used. It’s not unusual for snapshots to end up becoming unbootable or even completely disappear from the system. There are bugs in Windows, in Hyper-V, in VMware, etc. that haven’t been fixed yet and that can lead to data loss scenarios. It’s always a good idea not to blindly trust and deploy those features without have a good backup first.
Loss of Links:
Obviously–or not immediately as obvious–the VM will lose current internet and network connections if reverted back to the past. It’s like beaming yourself to a different place when you don’t expect it. Client TCP links for example will need to be reset when a VM is reverted to an old state and the service application needs to be capable of handling that, too.
Performance:
Virtual differencing disks are being used to accomplish snapshot functionality. Most of the time these disks are also dynamically expanding. A big no-no on production systems. You can easily clog your server with a couple of these snapshots. Expect a performance degradation of 300 to 1000% when using snapshots versus a single, fixed sized VHDX.
Volume Shadow Copy Service (VSS) Snapshots, aka. Shadows
VSS snapshots (shadows) are point-in-time background images of hard drives used by the Volume Shadow Copy Service in Windows.
These snapshots are necessary when you want Hyper-V live backups to take place. VSS is a framework that allows services to register and prepare for live backup. Without VSS there wouldn’t be a way to run backups while Windows (and services) are running and ensure the backup is application and crash consistent.
VSS snapshots have absolutely nothing to do with Hyper-V snapshots and checkpoints.
A bad performing server may have dozens of shadows in the system. As with Hyper-V virtual machine checkpoints, VSS shadows can case an enormous resource spike and performance degradation, even when no backups are running. Because every hard disk block access needs to be virtualized and potentially rerouted, this backup technique adds considerable stress to your servers. You would definitely want to check you don’t have orphaned VSS shadows on your servers. In addition, you may want to consider turning off System Restore and not using Windows Server Backup, as these technologies create lots of persistent shadows periodically.
SAN Snapshots
SAN snapshots are a technique similar to VSS snapshots, and may in fact be coupled to VSS, such that VSS shadows are delegated to a SAN device. A hardware-based implementation of a disk shadow is performing far better; however, you will find that there are plenty of compatibility issues from SAN to SAN and VSS. You’ll want to check your file backup software to make sure it works with the SAN drivers you have.
Conclusion
Snapshots aka checkpoints, VSS shadows and SAN snapshots are all great tools; yet, they should be used with caution. Ideally the IT admin should be aware of potential issues that may emerge from using them.
As always, it’s always a good idea to use a good backup solution for Hyper-V and VMware and protect your hard work!
Backup Software Overview
Server Backup SoftwareDownload BackupChain
Cloud Backup
Backup VMware Workstation
Backup FTP
Backup VirtualBox
Backup File Server
Hyper-V Backup
Backup Hyper-VPopular
- Hyper-V Links, Guides, Tutorials & Comparisons
- Veeam Alternative
- How to Back up Cluster Shared Volumes
- DriveMaker: Map FTP, SFTP, S3 Site to a Drive Letter (Freeware)
Resources
- Free Hyper-V Server
- Remote Desktop Services Blog
- SCDPM Blog
- SCOM Blog
- V4 Articles
- Knowledge Base
- FAQ
- Sitemap
- Backup Education
- Archive 2024
- Archive 2022
- Archive 2021
- Archive 2020
- Archive 2018
- Archive 2017
- Archive 2016
- Archive 2015
- Archive 2014
- Archive 2013
- Hyper-V Scripts in PowerShell
- FastNeuron
- BackupChain (Greek)
- BackupChain (Deutsch)
- BackupChain (Spanish)
- BackupChain (French)
- BackupChain (Dutch)
- BackupChain (Italian)
Backup Software List
BackupChain
Veeam
Unitrends
Symantec Backup Exec
BackupAssist
Acronis
Zetta
Altaro
Windows Server Backup
Microsoft DPM
Ahsay
CommVault
IBM
Other Backup How-To Guides
- Start a Hyper-V VM from the Command Line — How to
- Hyper-V Backup Links, Guides, Tutorials & Comparisons
- Hyper-V Files, Formats, Snapshots, and Checkpoints Explained
- How to Mount a VHDX to Windows using a PowerShell Script
- Windows Server 2012 R2 and Windows 8.1 Backup Software
- Windows 11 Hyper-V Backup, Step-by-Step
- Hyper-V, VMware, VirtualBox Feature Comparison
- Hyper-V Stop 0x0000000A BSOD Error Causes and Fixes KB2776366
- How to Backup a Hyper-V VM Remotely Online
- How to Shut Down a Hyper-V Virtual Machine
- New: Backup Software Comparison and List
- Hyper-V Best Practices You Must Know
- How to Easily Move VHD / VHDX to New Server, Disk, NAS, Cloud
- KB 2885465: CPU resources are not allocated correctly for VMs on Windows Server 2012
- Granular Backup Software for Hyper-V
- Backup Software Rewards for Users and MSPs
- How to Backup a Virtual Server While Running
- Backup too Slow: How to Speed Up Backups
- Windows Server 2012 R2 New Features & What’s New in Server 2012 R2
- 8 Pros and Cons of Hyper-V Backup using USB External Drives