ESXi question

Is there a way to be able to save snapshots or edit the location where the snapshots can be saved either by using the GUI or by a script?
This is for ESXi 4.1
LVL 1
cjameson74Asked:
Who is Participating?
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
There is a line that you can add into the VM(s) configuration file (.vmx) that specifies where the snapshots can be redirected other than in the current VM directory: workingDir = "/some/path/"

here's a PowerShell scripts that does it for you

http://www.peetersonline.nl/index.php/vmware/set-vmware-snapshot-location-with-powershell/

0
 
bgoeringCommented:
No, snapshots are always stored in the same location as the vmx file.

Sorry for the bad news
0
 
bgoeringCommented:
@hancocka interesting - does that move any other files? I always thought it was kind of weird you could spread the base vmdk files around but ths snapshots all went with the vmx...
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
@bgoering: just the snapshot files, I think VMware invented it, when VMware users, run out of datastore, and need to put the snapshot files somewhere else, in emergency, we've tested running on SSDs to reduce read/write commit times.

Some of our clients have specfic Snapshot LUNs, so they don't have to calculate the 15-20% for the snapshot in the LUN, when they have thin LUNs. The size of the LUN is the size of the VMDK.
0
 
cjameson74Author Commented:
Great news thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.