PowerShell script exchange
Post Reply
Jabe
Novice
Posts: 8
Liked: 1 time
Joined: Feb 06, 2018 7:08 am
Contact:

The repository name for the applicationrestorepoint

Post by Jabe »

Hello,
Is there any possibility how to get in the powershell where the application restorepoints are located?
I can get this information for the restore points. I use get-vbrrestorepoint cmdlet and this cmdlet returns objects, witch I can get the name of repository from (…function GetRepository().Name).
But get-vbrrestorepoint doesn’t return all RPs, for example the restorepoints for the nodes of MS SQL cluster are missing. I can see them in cmdlet Get-VBRApplicationRestorePoint, but the result of this cmdlet is different from the cmdlet get-vbrrestorepoint and I don’t know how to get their location (the name of repository). Is it possible?
Thanks for any idea
Jan Bezdek
Alex Uryumtsev
Enthusiast
Posts: 51
Liked: 7 times
Joined: Oct 29, 2018 9:56 am
Full Name: Alexander Uryumtsev
Contact:

Re: The repository name for the applicationrestorepoint

Post by Alex Uryumtsev »

Hi Jan and welcome to the forum,

Can you provide you script, so I can have better view on your case.

--au
jhoughes
Veeam Vanguard
Posts: 279
Liked: 112 times
Joined: Apr 20, 2017 4:19 pm
Full Name: Joe Houghes
Location: Castle Rock, CO
Contact:

Re: The repository name for the applicationrestorepoint

Post by jhoughes »

The ID property of the VSS-aware restore point returned from Get-VBRApplicationRestorePoint will match to a restore point from Get-VBRRestorePoint, such as below (output trimmed for space):

Code: Select all

Get-VBRApplicationRestorePoint | Select -First 1

IsSQL             : True
CreationTime      : 1/10/2019 5:20:51 PM
Type              : Full
IsIndexed         : False
IsCorrupted       : False
Name              : ausveeambem
Id                : d5b28e6b-d7b3-4601-90fa-34c9b729caf7

$RP = Get-VBRRestorePoint | Where Id -eq 'd5b28e6b-d7b3-4601-90fa-34c9b729caf7'

Info                : Veeam.Backup.Model.COibInfo
Id                  : d5b28e6b-d7b3-4601-90fa-34c9b729caf7
CreationTime        : 1/10/2019 5:20:51 PM
CreationTimeUtc     : 1/10/2019 11:20:51 PM
Type                : Full
Algorithm           : Syntethic
IsCorrupted         : False
IsLicensed          : True
IsConsistent        : True
ApproxSize          : 37903925248
VmName              : ausveeambem
Name                : ausveeambem
HvAuxData           :
HasSql              : True
Fqdn                : ausveeambem.lab.fullstackgeek.net
IsFull              : True

$RP.GetRepository() | Select Name, Description

Name                           : NTFS
Description                    : NTFS on ausveeampxy02 - D:\Backups\
Husband, Father, Solutions Architect, Geek Extraordinaire | @DenverVMUG, @AustinVMUG & @ATXPowerShell leader | VMware vExpert | Cisco Champion
Jabe
Novice
Posts: 8
Liked: 1 time
Joined: Feb 06, 2018 7:08 am
Contact:

Re: The repository name for the applicationrestorepoint

Post by Jabe »

Hi,
it looks OK, thanks, it is the good way how to get the repository for appRP.
jabe
Post Reply

Who is online

Users browsing this forum: No registered users and 16 guests