InstantRecovery fail on powershell

PowerShell script exchange

InstantRecovery fail on powershell

Veeam Logoby pixel » Tue Dec 07, 2010 5:34 pm

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

Re: InstantRecovery fail on powershell

Veeam Logoby Vitaliy S. » Tue Dec 07, 2010 6:00 pm

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.
Vitaliy S.
Veeam Software
 
Posts: 19564
Liked: 1103 times
Joined: Mon Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov

Re: InstantRecovery fail on powershell

Veeam Logoby Gostev » Wed Dec 08, 2010 12:11 am

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.
Gostev
Veeam Software
 
Posts: 21396
Liked: 2349 times
Joined: Sun Jan 01, 2006 1:01 am
Location: Baar, Switzerland

Re: InstantRecovery fail on powershell

Veeam Logoby Vitaliy S. » Wed Dec 08, 2010 7:59 am

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!
Vitaliy S.
Veeam Software
 
Posts: 19564
Liked: 1103 times
Joined: Mon Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov

Re: InstantRecovery fail on powershell

Veeam Logoby pixel » Thu Dec 09, 2010 8:45 am

The script settings is correct. I will contact the technical team. Thanks
pixel
Novice
 
Posts: 8
Liked: never
Joined: Mon Dec 06, 2010 4:45 pm
Full Name: Antonio Ettorre


Return to PowerShell



Who is online

Users browsing this forum: No registered users and 3 guests