CreateSnapshot not saving power on state

Aug 19, 2009 at 10:19 PM

I'm using function

public void CreateSnapshot(
string name,
string description,
int flags,
int timeoutInSeconds

I've specified VixCOM.Constants.VIX_SNAPSHOT_INCLUDE_MEMORY for the flags parameter and a timeout. The snapshot is taken when the VM is powered on. However, the snapshot itself is at powered down state instead of the power on state when it was taken.

It looks like the memory was not saved.

I'm using VMwareTasks v1.2, VIX API v1.6.2, and ESX 3.5.0 build 153875.

Has anyone been able to create snapshot at power on state successfully and be able to restore to the exact same state?

Thanks for any help with this.
Aug 20, 2009 at 11:34 PM

This is a known bug in 1.2, see You can check out 1.3 beta or check out the source and fix 1.2 locally.