Veeam the object has already been deleted or has not been completely created
A quick post here of an issue I ran into supporting a Veeam Backup job in a particular environment. ย After needing to restore a handful of VMs to rollback a few bad changes made, the next backup job failed. ย The error from Veeam the object has already been deleted or has not been completely created. ย The email report for the error contained the message details:
Veeam the object has already been deleted or has not been completely created
So I knew the error had to relate to the VMs being restored since this is the preceding event prior to the error happening in the next backup job cycle. ย Why did I see this error message with the next backup?
Reason and Resolution
When you do a full VM restore, onceย restored it will have a new reference ID in vCenter, soย the next backup job will fail due to the invalid reference to the new VM.
The workaround to this issue in Veeam is fairly simple. ย You have to rescan your vCenter environment to make sure it picks up the new reference ID of the newly restored VM, then remove and add the VM back to your backup job.
The first thing we need to do isย rescan our vCenter environment. ย To do that you can click on theย Virtual Machinesย option at the bottom left of the console. ย Then when you see your vCenter environment, right click on your vCenter server and select toย rescan.
You will see a job window open with progress from the rescan operation.
After the rescan, go to your backup job and remove the problematic VM(s) that were previously restored. ย Go back toย Add Objectsย in the job properties and then in the upper part of the Add Objects screen there is a refresh button. ย Click the button and it will refresh the infrastructure. ย After that you can add back the restored VMs.
Also, you shouldn’t have to do anything with the previous incremental restore points. ย The chain will move forward as expected.
Final Thoughts
Hopefully, if you experienced theย Veeam the object has already been deleted or has not been completely created error, the above will help you to quickly sort out the issue and make sure your next backup completes successfully. ย Keep in mind again you will need to run through this process if you have run a full restore on the VM due to the new reference ID that is generated.