-
- Influencer
- Posts: 12
- Liked: never
- Joined: May 16, 2019 12:49 pm
- Full Name: Manuel Berfelde
- Contact:
Get Repository for Application Restorepoint
Hi all,
how can i get the repo for an application restore point?
Veeam.Backup.PowerShell.Infos.VBRApplicationRestorePoint does not have a method like GetRepository().
how can i get the repo for an application restore point?
Veeam.Backup.PowerShell.Infos.VBRApplicationRestorePoint does not have a method like GetRepository().
-
- Veeam Software
- Posts: 2010
- Liked: 670 times
- Joined: Sep 25, 2019 10:32 am
- Full Name: Oleg Feoktistov
- Contact:
Re: Get Repository for Application Restorepoint
Hi Manuel,
You can still get this application restore point with Get-VBRRestorePoint cmdlet since VBRApplicationRestorePoint and COib class instances refer to the same entity, they just contain distinct information about it and are used in different ways.
Thanks,
Oleg
You can still get this application restore point with Get-VBRRestorePoint cmdlet since VBRApplicationRestorePoint and COib class instances refer to the same entity, they just contain distinct information about it and are used in different ways.
Code: Select all
$appPoint = Get-VBRApplicationRestorePoint -Name 'Exchange' -Exchange
$rp = Get-VBRRestorePoint | where {$_.Id -eq $appPoint.Id}
$rp.GetRepository()
Oleg
-
- Influencer
- Posts: 12
- Liked: never
- Joined: May 16, 2019 12:49 pm
- Full Name: Manuel Berfelde
- Contact:
Re: Get Repository for Application Restorepoint
Hi Oleg,
I could have sworn I tried something like that...
This works for me.
Thanks for the quick help!
Manuel
I could have sworn I tried something like that...
This works for me.
Thanks for the quick help!
Manuel
-
- Influencer
- Posts: 12
- Liked: never
- Joined: May 16, 2019 12:49 pm
- Full Name: Manuel Berfelde
- Contact:
Re: Get Repository for Application Restorepoint
well it work almost
Get-VBRRestorePoint | where {$_.Id -eq $appPoint.Id}
returns nothing
guess i have to loop
Get-VBRRestorePoint | where {$_.Id -eq $appPoint.Id}
returns nothing
guess i have to loop
-
- Veeam Software
- Posts: 2010
- Liked: 670 times
- Joined: Sep 25, 2019 10:32 am
- Full Name: Oleg Feoktistov
- Contact:
Re: Get Repository for Application Restorepoint
If you are planning to use it with multiple restore points, you'll sure need to loop through them. Thanks!
Who is online
Users browsing this forum: No registered users and 3 guests