Page 1 of 1

The repository name for the applicationrestorepoint

Posted: Jan 11, 2019 11:50 am
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

Re: The repository name for the applicationrestorepoint

Posted: Jan 11, 2019 2:56 pm
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

Re: The repository name for the applicationrestorepoint

Posted: Jan 11, 2019 3:20 pm
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\

Re: The repository name for the applicationrestorepoint

Posted: Jan 30, 2019 4:11 pm
by Jabe
Hi,
it looks OK, thanks, it is the good way how to get the repository for appRP.
jabe