Is there a way to automatically delete a scheduled snapshot after x number of days. There's a VM that has issues and, we're constantly restoring it from backup. I can schedule a daily snapshot of t...
See more...
Is there a way to automatically delete a scheduled snapshot after x number of days. There's a VM that has issues and, we're constantly restoring it from backup. I can schedule a daily snapshot of the VM but, I have to also remember to delete it every single day. Sure, i could do a power CLI script and schedule it to run with some scheduler but, I'd still have to check it every once in a while to make sure it's still running. I've put in a feature request to add "Delete snapshot after x days" when you schedule a snapshot. Way back, maybe 10 years ago when Vmware owned Shavlik for patching, you could apply Windows updates through Vmware Update Manager. It worked great. You could schedule it to take a snapshot of the VM before applying patches then, automatically delete the snapshot x number of days later. We usually did it 2 days later. So I know the hooks are in there somewhere to do this. Am I just missing something?