VMware

This Question is Possibly Answered

1 "correct" answer available (10 pts) 2 "helpful" answers available (6 pts)
4 Replies Last post: Oct 2, 2009 5:35 AM by fixitchris  

Does vmrun in 1.7 support reverting to snapshots on ESX? posted: Oct 1, 2009 9:03 AM

Click to view mcheshier's profile Lurker 4 posts since
Sep 29, 2009

This was a dealbreaker for me in 1.62, and it's still not working for me in 1.7... am I doing something wrong? Here's what I'm doing:

1. C:\Program Files\VMware\VMware VIX>vmrun -T esx -h "https://myserver" -u "root" -p "xxxx" listSnapshots "storage1 AUTOINSTALLER-W2K8_32_1/AUTOINSTALLER-W2K8_32.vmx"


Total snapshots: 5
base - no SQL Server install
SQL Server 2005 SP2 with correct machine name
Ready to Debug - VS 2008 with SVN
SQL 2008 installed with correct machine name
Base with VMWare tools, correct machine name

2. C:\Program Files\VMware\VMware VIX>vmrun -T esx -h "https://myserver" -u "root" -p "xxxx" revertToSnapshot "storage1 AUTOINSTALLER-W2K8_32_1/AUTOINSTALLER-W2K8_32.vmx" "Base with VMWare tools, correct machine name"


Error: One of the parameters was invalid

As you can see, I'm connecting to the server just fine and receiving a list of snapshots, but I'm unable to revert.

Click to view fixitchris's profile Expert 549 posts since
Dec 8, 2006
Does deleteSnapshot work?
Click to view dblock's profile Enthusiast 110 posts since
Dec 9, 2008
Thanks for the nice words on VMWareTasks (don't forget to write that you're using it).

Since you're working with snapshots and ESX4, are you by any chance seeing the same AV as me after creating snapshots? (Sorry to hijack the thread).

Update: the AV is a bug, fixed in VMWareTasks 1.4

Click to view fixitchris's profile Expert 549 posts since
Dec 8, 2006
so.... what's different?

Developer Social Media

Communities