PowerShell script exchange
Post Reply
Lightboltz
Novice
Posts: 5
Liked: never
Joined: Feb 23, 2022 10:18 pm
Contact:

Start-VBRHvInstantRecovery

Post by Lightboltz »

Hi guys,
So I've been testing InstantRecovery to a Windows 10 Hyper-V test machine host. I'm able to run everything perfectly with the normal VEEAM Console.
But now I would like to run it with Powershell.

The problem is that when I run the command below I get the error: "Failed to process restore point e7a844ee-09d9-48a7-9a1b-ce509bb0a7fa. Platform EEndPoint is not supported"

Get-VBRBackup -Name "BACKUP" | Get-VBRRestorePoint | Sort-Object -Property CreationTime -Descending | Select-Object -First 1 | Start-VBRHvInstantRecovery -Server ABC -Path \\ABC\VM -PowerUp $True -NICsEnabled $False

Anyone have any idea what this error means?

Thanks
PetrM
Veeam Software
Posts: 3726
Liked: 623 times
Joined: Aug 28, 2013 8:23 am
Full Name: Petr Makarov
Location: Prague, Czech Republic
Contact:

Re: Start-VBRHvInstantRecovery

Post by PetrM »

Hello,

Please open a support case and share its ID with us as requested when you click New Topic. As explained there, we cannot troubleshoot technical issues over the forum posts. All posts about technical issues without case ID will be deleted by forum moderator eventually.

Thanks!
Mildur
Product Manager
Posts: 10155
Liked: 2710 times
Joined: May 13, 2017 4:51 pm
Full Name: Fabian K.
Location: Switzerland
Contact:

Re: Start-VBRHvInstantRecovery

Post by Mildur » 1 person likes this post

Hi Lightboltz

Are you trying to do a instant vm recovery session from a veeam agent backup to hyperv? Plattform Endpoint refers to Veeam Agent for Windows Backups.

Start-VBRHvInstantRecovery can only be used for VM Backups to HyperV.
Start-VBRInstantRecovery Is used for VM Backups to VmWare.
Start-VBRViComputerInstantRecovery Is used for Veeam Agent Backups to VmWare.
Start-VBREpInstantRecovery can be used for Veeam Agent Backups to HyperV.

Can you try this command instead of yours?
Start-VBREpInstantRecovery
Product Management Analyst @ Veeam Software
madshark
Influencer
Posts: 10
Liked: 1 time
Joined: Feb 24, 2022 11:56 am
Full Name: Lee Harrison
Contact:

Re: Start-VBRHvInstantRecovery

Post by madshark »

Hi, is there an equivalent cmdlet to "Start-VBRViComputerInstantRecovery" that I can use to script VMWare backups to Hyper-V? Many thanks
oleg.feoktistov
Veeam Software
Posts: 2015
Liked: 671 times
Joined: Sep 25, 2019 10:32 am
Full Name: Oleg Feoktistov
Contact:

Re: Start-VBRHvInstantRecovery

Post by oleg.feoktistov »

Hi Lee,

There isn't yet, but we plan to add any to Hv instant recovery support for Start-VBRHvInstantRecovery cmdlet in v12.

Thanks,
Oleg
madshark
Influencer
Posts: 10
Liked: 1 time
Joined: Feb 24, 2022 11:56 am
Full Name: Lee Harrison
Contact:

Re: Start-VBRHvInstantRecovery

Post by madshark » 1 person likes this post

Ok thanks for the quick reply Oleg, I foresee more and more migration scenarios from VMWare to Azure Stack HCI in the future and so this would be very useful. Regards.
madshark
Influencer
Posts: 10
Liked: 1 time
Joined: Feb 24, 2022 11:56 am
Full Name: Lee Harrison
Contact:

Re: Start-VBRHvInstantRecovery

Post by madshark »

Also, Oleg, do you have a date when the next version (12) will be released?
oleg.feoktistov
Veeam Software
Posts: 2015
Liked: 671 times
Joined: Sep 25, 2019 10:32 am
Full Name: Oleg Feoktistov
Contact:

Re: Start-VBRHvInstantRecovery

Post by oleg.feoktistov »

I don't, but here is the best answer to your question :wink:
madshark
Influencer
Posts: 10
Liked: 1 time
Joined: Feb 24, 2022 11:56 am
Full Name: Lee Harrison
Contact:

Re: Start-VBRHvInstantRecovery

Post by madshark »

Thanks, ia there a way I can get access to the Beta?
Lightboltz
Novice
Posts: 5
Liked: never
Joined: Feb 23, 2022 10:18 pm
Contact:

Re: Start-VBRHvInstantRecovery

Post by Lightboltz »

Mildur wrote: Feb 23, 2022 11:23 pm Hi Lightboltz

Are you trying to do a instant vm recovery session from a veeam agent backup to hyperv? Plattform Endpoint refers to Veeam Agent for Windows Backups.

Start-VBRHvInstantRecovery can only be used for VM Backups to HyperV.
Start-VBRInstantRecovery Is used for VM Backups to VmWare.
Start-VBRViComputerInstantRecovery Is used for Veeam Agent Backups to VmWare.
Start-VBREpInstantRecovery can be used for Veeam Agent Backups to HyperV.

Can you try this command instead of yours?
Start-VBREpInstantRecovery
That was the problem. With Start-VBREpInstantRecovery it works. But now I get another error when running from Powershell. After mount I get an error saying the snapshot creation failed. In Hyper-V I see the VM appearing but then it disappears. Something to do with the Verification Point.
Lightboltz
Novice
Posts: 5
Liked: never
Joined: Feb 23, 2022 10:18 pm
Contact:

Re: Start-VBRHvInstantRecovery

Post by Lightboltz »

Never mind it was a permission problem with the path.

One question, my main goal is to restore a Agent Backup to a Hyper-V VM. At the moment I have to do an InstantRecovery and then a to a Migrate to Production, right? No change on doing it in 1 go?

Thanks a lot.
Lightboltz
Novice
Posts: 5
Liked: never
Joined: Feb 23, 2022 10:18 pm
Contact:

Re: Start-VBRHvInstantRecovery

Post by Lightboltz »

Guys,
Can anyone help me with this. After using Start-VBREpInstantRecovery what is the Powershell command to do a "Migrate to Production"?

Thanks
Mildur
Product Manager
Posts: 10155
Liked: 2710 times
Joined: May 13, 2017 4:51 pm
Full Name: Fabian K.
Location: Switzerland
Contact:

Re: Start-VBRHvInstantRecovery

Post by Mildur »

Can you try this?
I'm not sure, if it will worked. But I can't find a similar command for agent backups.

Code: Select all

$InstantRecovery = Get-VBRInstantRecovery
Start-VBRHvInstantRecoveryMigration -InstantRecovery $InstantRecovery
Product Management Analyst @ Veeam Software
Lightboltz
Novice
Posts: 5
Liked: never
Joined: Feb 23, 2022 10:18 pm
Contact:

Re: Start-VBRHvInstantRecovery

Post by Lightboltz »

I've tried that on already and I get a Plattform Endpoint error. Probably because it is an agent backup and I'm using the Start-VBREpInstantRecovery.

But it works from the console, so their should be a command from Powershell also, right?
oleg.feoktistov
Veeam Software
Posts: 2015
Liked: 671 times
Joined: Sep 25, 2019 10:32 am
Full Name: Oleg Feoktistov
Contact:

Re: Start-VBRHvInstantRecovery

Post by oleg.feoktistov »

Thanks, ia there a way I can get access to the Beta?
You can contact our sales managers to get access to beta. Thanks!
oleg.feoktistov
Veeam Software
Posts: 2015
Liked: 671 times
Joined: Sep 25, 2019 10:32 am
Full Name: Oleg Feoktistov
Contact:

Re: Start-VBRHvInstantRecovery

Post by oleg.feoktistov »

But it works from the console, so their should be a command from Powershell also, right?
As of v11a it is not available. But like I mentioned above in this thread, we plan to add support for any to hv instant recoveries in v12. Thanks!
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 8 guests