Matthew Cioffi
asked on
Restore snapshots on VM servers weekly
So far after looking around for a while I cannot seem to find what I'm looking for.
We have some testing environments that we rebuild every Sunday. Right now these are scattered across different machines and that have some issues. What want to do is every Sunday evening reapply a snapshot of the server to return it to a baseline.
We will build the VM to our gold standard then take a snapshot. Once that is done we will release the environment to the users and they do what they do best. Then Sunday evening I want to apply the snapshot we created after creating the gold standard, thus returning the environment to it's clean state. Anyone have any suggestions? Did I miss something in the VMCenter?
Thanks.
We have some testing environments that we rebuild every Sunday. Right now these are scattered across different machines and that have some issues. What want to do is every Sunday evening reapply a snapshot of the server to return it to a baseline.
We will build the VM to our gold standard then take a snapshot. Once that is done we will release the environment to the users and they do what they do best. Then Sunday evening I want to apply the snapshot we created after creating the gold standard, thus returning the environment to it's clean state. Anyone have any suggestions? Did I miss something in the VMCenter?
Thanks.
Basic Revert to Snapshot for Snapshot called Baseline
Get-VM | `
ForEach-Object {
Set-VM -VM $_ -Snapshot (Get-Snapshot -VM $_ -Name Baseline) -Confirm:$false
}
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks, we will be digging into this over the next 5 days or so. But that looks pretty much like what I need.
vCenter can schedule some tasks for automation
e.g. Deploy, Migrate, Create, Create a snapshot but not Revert.
See this Link
http://ict.myjewe.nl/ict/?p=192