Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

ESXi question

Posted on 2011-02-10
5
Medium Priority
?
509 Views
Last Modified: 2012-05-11
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
0
Comment
Question by:cjameson74
  • 2
  • 2
5 Comments
 
LVL 28

Expert Comment

by:bgoering
ID: 34867348
No, snapshots are always stored in the same location as the vmx file.

Sorry for the bad news
0
 
LVL 124

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 2000 total points
ID: 34867349
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
 
LVL 28

Expert Comment

by:bgoering
ID: 34867386
@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
 
LVL 124
ID: 34867411
@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
 
LVL 1

Author Closing Comment

by:cjameson74
ID: 34867496
Great news thanks
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If we need to check who deleted a Virtual Machine from our vCenter. Looking this task in logs can be painful and spend lot of time, so the best way to check this is in the vCenter DB. Just connect to vCenter DB(default DB should be VCDB and using…
Ransomware is a malware that is again in the list of security  concerns. Not only for companies, but also for Government security and  even at personal use. IT departments should be aware and have the right  knowledge to how to fight it.
Teach the user how to join ESXi hosts to Active Directory domains Open vSphere Client: Join ESXi host to AD domain: Verify ESXi computer account in AD: Configure permissions for domain user in ESXi: Test domain user login to ESXi host:
Teach the user how to use vSphere Update Manager to update the VMware Tools and virtual machine hardware version Open vSphere Client: Review manual processes for updating VMware Tools and virtual hardware versions: Create a new baseline group in vSp…

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question