RESTful knowledge exchange
Post Reply
maol
Service Provider
Posts: 14
Liked: 1 time
Joined: Feb 28, 2018 7:45 am
Full Name: Lorenzo Mao
Contact:

Full vm restore not connecting NIC

Post by maol »

Hello,
i'm trying to do a full vm restore using:

POST http://<Enterprise-Manager>:9399/api/vmRestorePoints/{ID}?action=restore

everyting works fine except that the restored VM come up with the NIC disconnected.

is there a way to make Veeam to restore the VM with the NIC connected?

i saw that I can use

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<RestoreSpec xmlns="http://www.veeam.com/ent/v1.0" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
 <VmRestoreSpec>
   <PowerOnAfterRestore>false</PowerOnAfterRestore>
   <QuickRollback>false</QuickRollback>
 </VmRestoreSpec>
</RestoreSpec>
in order to power on the VM, is there some <ConennectAtPoweron> tag or something like that?

Thanks
Lorenzo
chris.arceneaux
VeeaMVP
Posts: 667
Liked: 358 times
Joined: Jun 24, 2019 1:39 pm
Full Name: Chris Arceneaux
Location: Georgia, USA
Contact:

Re: Full vm restore not connecting NIC

Post by chris.arceneaux »

Hi Lorenzo,

I'm not aware of this setting within the Enterprise Manager REST API. Here is a link to our API documentation showing all available parameters for the API call in question.
Tomo
Veeam Software
Posts: 243
Liked: 12 times
Joined: Feb 01, 2019 1:52 am
Full Name: Tomokazu Murata
Contact:

Re: Full vm restore not connecting NIC

Post by Tomo »

Hello,

Is this specification still ongoing?
The network is connected when I restore using Enterprise Manager(UI).
The NIC remains disconnect when I use Rest full API.

Thanks
oleg.feoktistov
Veeam Software
Posts: 1912
Liked: 635 times
Joined: Sep 25, 2019 10:32 am
Full Name: Oleg Feoktistov
Contact:

Re: Full vm restore not connecting NIC

Post by oleg.feoktistov »

This setting hasn't changed so far, as you can see in our up-to-date documentation. Cheers!
Tomo
Veeam Software
Posts: 243
Liked: 12 times
Joined: Feb 01, 2019 1:52 am
Full Name: Tomokazu Murata
Contact:

Re: Full vm restore not connecting NIC

Post by Tomo »

Hi Oleg,

Thank you for your quick reply.

However, what kind of technical reason why Restfull API do not connect NIC on the other hand I can connect NIC when I restore a VM using UI from Veeam Enterprise Manager?
so additional Vm's infromation that given statick MAC address.

Cheers
veremin
Product Manager
Posts: 20270
Liked: 2252 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Full vm restore not connecting NIC

Post by veremin » 2 people like this post

Already fixed. Check the corresponding thread on the internal forum ("Network is disconnected after VM restore with REST API"). Thanks!
eduardo.fernandez
Novice
Posts: 3
Liked: never
Joined: Aug 05, 2021 1:41 pm
Full Name: Eduardo Fernandez
Contact:

Re: Full vm restore not connecting NIC

Post by eduardo.fernandez »

@veremin, Could you please give us details about in which it exists and in which it is arranged.

Kind regards,
oleg.feoktistov
Veeam Software
Posts: 1912
Liked: 635 times
Joined: Sep 25, 2019 10:32 am
Full Name: Oleg Feoktistov
Contact:

Re: Full vm restore not connecting NIC

Post by oleg.feoktistov » 1 person likes this post

Hi Eduardo,

I will be able to check it internally tomorrow and let you know on the outcome. Since NICs are connected automatically if PowerOnAfterRestore option is chosen in the UI, it shouldn't be the issue also in the REST API.

Thanks,
Oleg
oleg.feoktistov
Veeam Software
Posts: 1912
Liked: 635 times
Joined: Sep 25, 2019 10:32 am
Full Name: Oleg Feoktistov
Contact:

Re: Full vm restore not connecting NIC

Post by oleg.feoktistov »

Hi @eduardo.fernandez,

Sorry for such late notice. I went further and tested it on several versions including v10 CU1, in which this fix was originally introduced, and v11 GA. So, apparently, NICs are being connected automatically to Windows-based machines only when PowerOnAfterRestore is set to true in your REST restore spec. With Linux it doesn't seem to work no matter the source settings. Let me know, please, if this is also the case for you.

Thanks,
Oleg
eduardo.fernandez
Novice
Posts: 3
Liked: never
Joined: Aug 05, 2021 1:41 pm
Full Name: Eduardo Fernandez
Contact:

Re: Full vm restore not connecting NIC

Post by eduardo.fernandez »

Hello @Oleg,

Your explanation has the information I needed, thank you very much for your collaboration.

Kind regards,

Eduardo
eduardo.fernandez
Novice
Posts: 3
Liked: never
Joined: Aug 05, 2021 1:41 pm
Full Name: Eduardo Fernandez
Contact:

Re: Full vm restore not connecting NIC

Post by eduardo.fernandez »

Hello Oleg, I'm sorry I didn't let you know the operating systems in my case: SonicWall NSv and Windows 2016 Server.

I'm gonna review the PowerOnAfterRestore.

Kind regards,

Eduardo
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests