May 25, 2012
tom

VMWare snapshots per batch job

Question

With the vShpere client it is possible to create snopshots manually. Is there a way to trigger snapshots of of a running vm (ESXI 4.1) by a scheduled batch job ?

Asked by markus

Answer

You could use the vSphere PowerCLI. It’s a powershell plugin.

To create a snapshot, you would need to do the following:

add-pssnapin VMware.VimAutomation.Core
Connect-VIServer -Server myVSphereServer
get-vm myVMName | new-snapshot -name "My New Snapshot"
Answered by Bart De Vos

Related posts:

  1. VMware ESXi 4.1 snapshot of server 2008R2 machine generates 2 indentical snapshots
  2. How to add a disk from a broken machine with snapshots to another machine in VMWare?
  3. How to add a disk from a broken machine with snapshots to another machine in VMWare?
  4. Snapshots == EBS backed instance, persistence, and S3 storage?
  5. Exclude file storage from VMWare snapshots?

Leave a comment