7 Replies Latest reply: Feb 15, 2013 4:13 PM by behbhelpdesk RSS

How to automate guest shutdown, snapshot, start up and copy snapshot

Currently Being Moderated

We have vSphere 5.1 running with ONTAP 7.3.6 on a FAS2020. We will be using our VM infrastructure more in the future. SQL Server with SMSQL and SnapDrive and Exchange 2010 are both coming soon. However, currently we are running smaller VMs that use SQL Server Express 2005 or 2008 for their internal databases. I don't need a daily backup of these machines, but one a week would be great.


Our VMs are in NFS data stores and have VSC plugged in to our vCenter environment.


I would like to automate a procedure (or find something that already does this) that does the following:


1) Shutdowns the guest at say 3 AM

2) Waits for the shutdown to complete, initiates a Snapshot

3) Boots the VM after the Snapshot completes

4) Copies all the files from the Snapshot for this particular VM to a secured CIFS share


We are using Symantec BackupExec 2010 which currently doesn't support vSphere 5.1.


I will then backup these VMs to tape or elsewhere.


This must be a commonly needed script. I just discovered the presence of SnapCreator Framework, also, though I don't know if it is overkill for my environment.


Thanks for any input.


- Elan

More Like This

  • Retrieving data ...