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
-
- Service Provider
- Posts: 14
- Liked: 1 time
- Joined: Oct 28, 2011 9:35 am
- Full Name: Bjoern
- Contact:
-
- Product Manager
- Posts: 9385
- Liked: 2500 times
- Joined: May 13, 2017 4:51 pm
- Full Name: Fabian K.
- Location: Switzerland
- Contact:
Re: Restore Point Propertys Powershell
Hello Bjoern
To check if a restore point is complete or not, you can use the following commands:
You may also check out this topic for a script:
powershell-f26/list-all-incomplete-jobs-t70558.html
Best,
Fabian
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
powershell-f26/list-all-incomplete-jobs-t70558.html
Best,
Fabian
Product Management Analyst @ Veeam Software
-
- Service Provider
- Posts: 14
- Liked: 1 time
- Joined: Oct 28, 2011 9:35 am
- Full Name: Bjoern
- Contact:
Re: Restore Point Propertys Powershell
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
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
-
- Veeam Software
- Posts: 1979
- Liked: 656 times
- Joined: Sep 25, 2019 10:32 am
- Full Name: Oleg Feoktistov
- Contact:
Re: Restore Point Propertys Powershell
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
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
Who is online
Users browsing this forum: No registered users and 48 guests