Hello, I am new to the forums. I been working with the REST API stuff for vCenter. I have read both online and pdf resource on the API and cannot find anything related to either creating/deleting a snapshot or the ability to revert a VM to a snapshot. It's possible I may have missed this and was wondering if anyone had a definitive answer whether or not this is implemented in the REST sdk at the moment. Also I should say I'm using the VMware's 6.5 releases.
Also if this is not implemented, is there any alternative?
Really? No answer to this.
Hello, Not sure on how much this may help but have you had a chance to look at Understanding VM snapshots in ESXi / ESX (1015180) | VMware KB
No helpful answer after 21 Month ... I'm so disappointed.
Sorry you're so disappointed. There is no REST API coverage of snapshot operations in 6.5 or 6.7 at this time
Is it in 7.0?
Still no, unfortunately.
Unbelievably ridiculous that the REST API doesn't have this yet.
A long time ago I wrote a program that automated testing for the product I work with. It would revert the snapshots on like a dozen Workstation VMs, and install our latest software on the VMs. But I haven't been able to use that program since VMware Workstation 12!
Any plans to bring back VMWareTasks for the latest versions of VMware Workstation? That was a very thorough and useful API. The REST API is almost useless.
Thanks in advance.
and still no Snapshot Management over REST API. I hope this gets implemented soon.
Hey VMWare, how are you not incredibly embarrassed with yourselves that you can't be bothered to implement such a useful feature in over 5 years?! This is an absolute joke.
I agree, but I'm curious why this topic does not get upvoted by other users. Its like every year only one person has interest, googles the issue and finds this topic.
My only guess is, that Kubernetes and other container software has won the race and we are just the 'old' users still using VMware.
Currently we as company looking for an alternative solution that is somewhat turn key ready. Our opinion is that Kubernetes is far away from being easy to use.
K3s seems to fit more in our case, but its still being evaluated.
What are the known alternatives to automating a VM snapshot?
Obviously backup solution providers do so, how?
We use PowerShell within a Docker container in Linux.
To integrate this with our existing automation solution that PowerShell script creates a little web server, protected by a password. This little webserver receives a HTTP-POST call and returns the success status to our automation solution.
So basically PowerShell calls this: https://vdc-repo.vmware.com/vmwb-repository/dcr-public/85a74cac-7b7b-45b0-b850-00ca08d1f238/ae65ebd9...
We know that this is far from a good solution, but it works well and is secure enough since that Docker container can only communicate with our automation solution.
We've got VS 8.x now... What's with this Topic? Any News?
AFAIK the API is still let's kindly say "rudimental" ... it's a shame.
Yes that's a shame. Seems like VMware is unaware or incompetent.
https://developer.vmware.com/apis/vsphere-automation/latest/vcenter/search.html?query=snapshot
Proves that community platforms like this one are ignored by company's and just used as a rant vent / echo box.