Hi Dennis
You don‘t have filled any variable. Many are missing. That‘s why you see the error, that no source was provided. Veeam doesn‘t know what to restore and where to.
- restore point
- server
- ressource Pool
- folder
- Datastore
First, you have to get this objects and save them in a variable. Then they can be used with the restore command.
Please follow the example 2 in
this guide. It will help you to get all parameters correct.
For the networkname, I think you can use directly the network name as it‘s written, without to save it first to a variable. If you use targetnetwork, you must also use sourcenetwork.
Code: Select all
$restorepoint = Get-VBRRestorePoint
$server = Get-VBRServer -Name "north.support.local"
$rpool = Find-VBRViResourcePool -Server $server -Name „RessourcePoolName“
$datastore = Find-VBRViDatastore -Server $server -Name „DatastoreName“
Start-VBRRestoreVM –RestorePoint $restorepoint[1] –Server $server –ResourcePool $rpool –Datastore $datastore –SourceNetwork „SourceNetworkName - TargetNetwork „myDummyNet“
Let me know if it works. If not, i‘ll happy to give it a try in my lab.