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
BackupChain 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
- Guidelines for Installing Microsoft Exchange 2013 in Hyper-V
- Hyper-V, VMware, and VirtualBox Hypervisor Limitations
- Backup Strategies for Large VMs with and without Deduplication
- How to Fix: Folder name too long to delete
- 11 Things to Know About Hyper-V Snapshots / Checkpoints
- Hyper-V Host Disk Backup, Physical Host and Virtual Machine Backup
- Hyper-V Backup Quick Start Guide
- Hyper-V Backup Links, Guides, Tutorials & Comparisons
- 0x8004230f VSS_E_UNEXPECTED_PROVIDER_ERROR VSS snapshot creation failed
- Hyper-V Stop 0x0000000A BSOD Error Causes and Fixes KB2776366
- 0x800705aa How to Fix ERROR NO SYSTEM RESOURCES
- Helpful Hyper-V Links
- Hyper-V Backup and Secure DMZ Servers: A How-to Guide
- Backup Software Rewards for Users and MSPs
- Avoid Saved State Backup and Check Hyper-V Integration Service Versions Automatically
- Windows 11 Hyper-V Backup, Step-by-Step
- Destination Path Too Long Fixed: Freeware Tool Deletes Long Path
- Copy a File From the Host to a VM Using a Powershell Script
- Incremental Backup vs. Differential Backup
- What is Hyper-V and What Operating Systems are Supported?