PowerShell script exchange
Post Reply
Posts: 1
Liked: never
Joined: Feb 06, 2018 7:08 am

The repository name for the applicationrestorepoint

Post by Jabe » Jan 11, 2019 11:50 am

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
Veeam Software
Posts: 51
Liked: 7 times
Joined: Oct 29, 2018 9:56 am
Full Name: Alexander Uryumtsev

Re: The repository name for the applicationrestorepoint

Post by Alex Uryumtsev » Jan 11, 2019 2:56 pm

Hi Jan and welcome to the forum,

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


Veeam Software
Posts: 38
Liked: 7 times
Joined: Apr 20, 2017 4:19 pm
Full Name: Joe Houghes
Location: Austin, TX

Re: The repository name for the applicationrestorepoint

Post by jhoughes » Jan 11, 2019 3:20 pm

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 | @AustinVMUG & @ATXPowerShell leader | vExpert | Cisco Champion | Tech Field Day Delegate | VCP 4/5/6 | VCP6-NV | VMware/Cisco UCS/Powershell/VEEAM Enthusiast

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests