PowerShell script exchange
Post Reply
BjoernS
Service Provider
Posts: 14
Liked: 1 time
Joined: Oct 28, 2011 9:35 am
Full Name: Bjoern
Contact:

Restore Point Propertys Powershell

Post by BjoernS »

Hi

I would like to query the status of the restore points via Powershell.
Is there any documentation which property means which status?
Which properties are set if, for example, a restore point is incomplete?

Thanks in advance
Bjoern
Mildur
Product Manager
Posts: 8735
Liked: 2296 times
Joined: May 13, 2017 4:51 pm
Full Name: Fabian K.
Location: Switzerland
Contact:

Re: Restore Point Propertys Powershell

Post by Mildur »

Hello Bjoern

To check if a restore point is complete or not, you can use the following commands:

Code: Select all

$backup = Get-VBRBackup -Name JOBNAME
Get-VBRRestorePoint -Backup $backup | select VmName,IsCorrupted,IsConsistent,CreationTime
You may also check out this topic for a script:
powershell-f26/list-all-incomplete-jobs-t70558.html

Best,
Fabian
Product Management Analyst @ Veeam Software
BjoernS
Service Provider
Posts: 14
Liked: 1 time
Joined: Oct 28, 2011 9:35 am
Full Name: Bjoern
Contact:

Re: Restore Point Propertys Powershell

Post by BjoernS »

Hello Fabian

thank you for your answer. How to make the query I know. What I am missing is an explanation or mapping of the status properties, like IsCorrupted to the displayed status in the GUI.
Especially if the GUI says "incomplete", it is unclear which properties are to be evaluated via Powershell, because there is no IsIncomplete.

Bjoern
oleg.feoktistov
Veeam Software
Posts: 1918
Liked: 636 times
Joined: Sep 25, 2019 10:32 am
Full Name: Oleg Feoktistov
Contact:

Re: Restore Point Propertys Powershell

Post by oleg.feoktistov »

Hi Bjoern,

Unfortunately, there is no documentation for the properties of the class returned with Get-VBRRestorePoint because the class being used as an output (COib) belongs to internal logic. It means that if something changes in business logic code, it can affect COib class and break its properties and/or methods. We have long-term plans to write wrappers for new cmdlets to break free from internal classes usage across official powershell module, but the solution to that is quite complex in terms of delivery time, so we are still discussing possible approaches (including alternative ones).

Best regards,
Oleg
Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests