Last updated on Monday 28th of February 2022 08:52:48 PM
©XSIBackup: troubleshooting Windows snapshots in ©ESXi
Please note that this post is relative to old deprecated software ©XSIBackup-Classic. Some facts herein contained may still be applicable to more recent versions though.
For new instalations please use new ©XSIBackup which is far more advanced than ©XSIBackup-Classic.
See also: troubleshooting Windows service quiescing
We dedicated a post to snapshots from a generalist point of view some time ago. It covered the matter from a wide angle and was focused in how to rebuild a broken chain of snapshots. Nevertheless the problems related to snapshots vary from one Operating System to another. Each system has it's particularities, and Windows OSs are among the most picky to configure.
Windows is yet by far the most used OS for desktops and is also used as a server OS by many people and organizations.
This article applies to relatively recent OSs:
- Windows Server 2008Older Windows releases, prior to VSS (Volume Shadow Services) used what's called the SYNC Driver from ©VMWare, but we will not cover those OSs in this post as their use is marginal nowadays.
Quiescing your OS consists in orchestrating services' behaviour during the snapshot operation, so that they finish to write whatever data they are still processing in their buffers before actually taking the snapshot. Once the snapshot is taken, they continue to write data to it, but the state of the database or e-mail files is consistent at a given point in time. It's actually inevitable to perceive a little pause in service performance during the snapshot creation.
Snapshots are the most critical operation in ©VMWare ©ESXi backups. They are required to free the data disks and be able to back them up. If on addition you need to backup your servers while they are active, you will need to take a quiesced snapshot. ©XSIBackup does this by default, but it requires that you take some actions and ensure your OS is tweaked for quiescing to be possible.
©XSIBackup philosophy is to allow ©ESXi servers to become independent in terms of protecting their data. Even if a hypervisor get's disconnected from the rest of its infrastructure, it should be able to back it up. Thus, in case a quiesced snapshot cannot be taken, ©XSIBackup will try to automatically work the flaw around by taking a non-quiesced snapshot, even if some data could eventually get corrupted under a high load, at least you will have a backup.
In order to quiesce a Windows OS properly, you need some services installed and configured the right way, otherwise the quiescing operation could fail with a number of error messages like:
- Create snapshot failedWhat are those services and how should I configure them?:
First of all you need latest VMWare Tools installed in your Windows Server system. You can install them from the vSphere Client, no matter if you are using the Windows client or the HTML5 GUI
VSS related components are installed by default. In any case check that you are not leaving some vital component out of the installation process, especially if you are running some older ©ESXi version.
You do need the following services in the mentioned state:
Make sure that all above services are installed and configured as described. Review all system logs to make sure none of the above mentioned services is failing or throwing some error/warning.
Some Windows services like SQL Server or Exchange have their own auxiliary VSS services, which must be properly configured to be able to quiesce Windows servers running them. Review the product's specific documentation to learn more about how to configure those VSS auxiliary services.
For more detailed information visit this VMWare post.