I need to make a script to perform several istant recovery and i try to do with powershell.
I want to redirect the virtual disk change to a specific datastore to improve performance, i don't want the vmotion, but I have one error if i use a specific datastore, this is the command i run:
$rp=Get-VBRBackup | where {$_.JobName -eq "NFS"} | Get-VBRRestorePoint | where {$_.VMName -eq "clientNFS"} | where {$_.Type -eq "Full"}
Start-VBRInstantRecovery -ResotePoint $rp -VMName LAB_clientNFS -Server $server -ResourcePool $res -Datastore $datast
(Please note that the parameter -ResotePoint it the valid for the cmd-let, i suppose it is an error)
SYNTAX Start-VBRInstantRecovery [-ResotePoint] <COib>
I can run the command without any problem from the gui of veeam and it work correctly and also the same command without the parameter -Datastore run successfully from powershell
-
- Novice
- Posts: 9
- Liked: never
- Joined: Dec 06, 2010 4:45 pm
- Full Name: Antonio Ettorre
- Contact:
-
- VP, Product Management
- Posts: 27378
- Liked: 2800 times
- Joined: Mar 30, 2009 9:13 am
- Full Name: Vitaliy Safarov
- Contact:
Re: InstantRecovery fail on powershell
Hello Antonio, let me double check that with our PowerShell expert, I will get back to you asap, meanwhile you may also log a support ticket with our technical team.
-
- Chief Product Officer
- Posts: 31809
- Liked: 7300 times
- Joined: Jan 01, 2006 1:01 am
- Location: Baar, Switzerland
- Contact:
Re: InstantRecovery fail on powershell
Antonio, kindly please avoid posting logs on this forum in future. For any technical issue requiring logs troubleshooting please open a support case directly with our technical support. Please review the forum rules provided when you click New Topic. Thank you for understanding.
-
- VP, Product Management
- Posts: 27378
- Liked: 2800 times
- Joined: Mar 30, 2009 9:13 am
- Full Name: Vitaliy Safarov
- Contact:
Re: InstantRecovery fail on powershell
Antonio,
It seems like you have incorrect script settings defined: -Server $server -ResourcePool $res -Datastore $datast. Please re-check those and if it still doesn't help, please contact our technical team for assistance. Thanks!
It seems like you have incorrect script settings defined: -Server $server -ResourcePool $res -Datastore $datast. Please re-check those and if it still doesn't help, please contact our technical team for assistance. Thanks!
-
- Novice
- Posts: 9
- Liked: never
- Joined: Dec 06, 2010 4:45 pm
- Full Name: Antonio Ettorre
- Contact:
Re: InstantRecovery fail on powershell
The script settings is correct. I will contact the technical team. Thanks
Who is online
Users browsing this forum: No registered users and 16 guests