Solved

ESXi question

Posted on 2011-02-10
5
492 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 120

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 500 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 120
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

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

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

Will try to explain how to use the VMware feature TAGs in the VMs and create Veeam Backup Jobs using TAGs. Since this article is too long, I will create second article for the Veeam tasks.
In this article, I will show you HOW TO: Install VMware Tools for Windows on a VMware Windows virtual machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, using the VMware Host Client. The virtual machine has Windows Server 2016 instal…
Teach the user how to edit .vmx files to add advanced configuration options Open vSphere Web Client: Edit Settings for a VM: Choose VM Options -> Advanced: Add Configuration Parameters:
Teach the user how to use configure the vCenter Server storage filters Open vSphere Web Client:  Navigate to vCenter Server Advanced Settings: Add the four vCenter Server storage filters: Review the advanced settings: Modify the values of the four v…

740 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