PowerShell script exchange
Post Reply
pixel
Novice
Posts: 9
Liked: never
Joined: Dec 06, 2010 4:45 pm
Full Name: Antonio Ettorre
Contact:

InstantRecovery fail on powershell

Post by pixel »

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
Vitaliy S.
VP, Product Management
Posts: 27365
Liked: 2794 times
Joined: Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov
Contact:

Re: InstantRecovery fail on powershell

Post by Vitaliy S. »

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.
Gostev
Chief Product Officer
Posts: 31780
Liked: 7280 times
Joined: Jan 01, 2006 1:01 am
Location: Baar, Switzerland
Contact:

Re: InstantRecovery fail on powershell

Post by Gostev »

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.
Vitaliy S.
VP, Product Management
Posts: 27365
Liked: 2794 times
Joined: Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov
Contact:

Re: InstantRecovery fail on powershell

Post by Vitaliy S. »

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!
pixel
Novice
Posts: 9
Liked: never
Joined: Dec 06, 2010 4:45 pm
Full Name: Antonio Ettorre
Contact:

Re: InstantRecovery fail on powershell

Post by pixel »

The script settings is correct. I will contact the technical team. Thanks
Post Reply

Who is online

Users browsing this forum: No registered users and 13 guests