Correct.
I have put together a PowerCLI script to clone all VM's from a particular location to another datastore/host.
It's not fancy, but I can have the cloning run regularly.
I think what I am going to end up with is an iSCSI SAN that all of my VM's run from.
# PowerCLI Written by Ian Willis
# Written for PowerCLI 4.1
#
# Copy / Clone all virtual machines in a given location to
# a new location & Resource Pool. Usefull for a non-destructive
# simple backup. My case: Copy from one storage array to a
# windows file server nfs share.
#
# vcenter server. You can also include -username and -password here,
# check get-help connect-viserver
$vcenter = "vcenter1"
# source Location, datacenter, folder, or cluster
$sourceLocation = "BCS1_Cluster"
# Target Datastore must exist on target host
$datastore = "FILESERVER_NFS1"
# Target location must exist in vcenter
$tgtlocation = "ServerClones"
# Target Host, must be able to ping from source host
$targethost = "esx1"
# Target Resource Pool, must exist already
$ResourcePool = "ServerBackups"
# backup = true appends date, false does not.
$backup = "true"
# Establish Connection
connect-viserver -server $vcenter
# get list servers to backup
$vmservers = Get-VM -Location $sourceLocation
foreach ($vm in $vmservers)
{
$clone = "TRUE"
if ($clone -eq "TRUE")
{
$vmtarget = $vm.Name
if ($backup -eq "TRUE") {
$vmtarget = $vmtarget + "_" + (get-date -uformat %Y-%m-%d_%R)
}
write-host -foregroundcolor green Cloning $vm to $vmtarget
new-vm -name $vmtarget -vm $vm -vmhost $targethost -datastore $datastore -ResourcePool $ResourcePool -Location $tgtlocation -DiskStorageFormat thin
}
}