So, let’s take a break from all the Powershell creativity and take a look at everybody’s favourite thing in IT: Backups! Failed backups!
(The screenshots are unclear and censored to protect customer information)
The problem here is that Veeam’s replication jobs started failing, stating that an ‘Invalid Snapshot Configuration’ was the problem. Sounds easy, right?
Well, it turns out that this can cause a lot of work to get this fixed, so to save you some time I documented the solution for you.
First I tried consolidation the snapshots, but it greeted me with the following error:
A CID mismatch.. not on my watch! Let’s check this out and start an SSH connection to the ESX-host where these VMs are placed and run some checks:
So, for some reason the snapshots have registered themselves as the parent CID instead of the actual base disk:
We can fix this! Open the .vmdk-files using VIM and simply edit the parent CID to the CID of the base disk.
Now consolidate the snapshots again, restart your replica jobs, problem solved!