PowerShell script exchange
Post Reply
ITSeaBass
Novice
Posts: 3
Liked: never
Joined: Aug 02, 2018 1:20 pm
Contact:

Instant restore log/status

Post by ITSeaBass »

Hi all,
This may have been covered somewhere, but is there a way to get the full log/status of an instant restore? We are migrating from VMware to Hyper-V and testing has been great except for gathering the full status.

We get things started with the Start-VBRHvInstantRecovery cmd and see all the instant recovery sessions as "working" and ready for migration to production using the Get-VBRInstantRecovery cmd. However, we would like to see ones that should appear as a warning if the helper appliance was not able to modify disks for Linux VMs. This appears in the GUI as "Warning Failed to modify disks" but I sure can't seem to figure out how to get this status in PowerShell land. These appear as Warning after the migration is complete, but it would be great to grab it without finalizing the migration.

Any help would be greatly appreciated.
david.domask
Veeam Software
Posts: 3010
Liked: 697 times
Joined: Jun 28, 2016 12:12 pm
Contact:

Re: Instant restore log/status

Post by david.domask »

Hi ITSeaBass,

Regrettably there are no supported means for checking those entries at this time.

You can use the following unsupported workaround to get the messages from the Instant Recovery Session:

Code: Select all

$irSess = Get-VBRRestoreSession | Sort -Property CreationTime -Descending | Select -First 1
$irSess.Logger.GetLog().GetRecordsSortedByOrdinalId()
Example output of 2nd line:

Code: Select all

Visibility    : VisibleToAll
Status        : ESucceeded
OrdinalId     : 29204357
UpdateUsn     : 4130627610
Title         : Starting dd-mongo-node1_restore recovery
Description   :
UpdateTime    : 10.10.2025 13:43:46
Style         : ENone
Object        :
StartTime     : 10.10.2025 13:43:46
Cookie        :
IsDeleted     : False
VisibilityInt : 0

Visibility    : HideFromMultitenancyUsers
Status        : ESucceeded
OrdinalId     : 29204358
UpdateUsn     : 4130627630
Title         : Connecting to host some-vcenter.local
Description   :
UpdateTime    : 10.10.2025 13:43:51
Style         : ENone
Object        :
StartTime     : 10.10.2025 13:43:49
Cookie        :
IsDeleted     : False
VisibilityInt : 1

Visibility    : VisibleToAll
Status        : ESucceeded
OrdinalId     : 29204359
UpdateUsn     : 4130627636
Title         : Potential data sovereignty violation: target some-vcenter.local location (Czechia) does not match
                source dd-mongo-node1 location (No location tag)
David Domask | Product Management: Principal Analyst
Post Reply

Who is online

Users browsing this forum: No registered users and 9 guests