PowerShell script exchange
Post Reply
ThierryF
Expert
Posts: 129
Liked: 33 times
Joined: Mar 31, 2018 10:20 am
Contact:

list media/mediaset restorepoint ?

Post by ThierryF »

Hello,

I am trying to retrieve tape medium info where the restorepoints are being stored on
but haven't succeeded yet ...

I am looking at building such a report :
RestorePoint (VM Name) ; creationtime; Copy Type ([ScalledOut] Repository /Tape Backup / Tape Clone ) ; Path or Medium(s) ; MediaSet;

Starting from
foreach ($RP in Get-VBRRestorePoint )}) {
(...)
}
If I am not wrong, I can use $RP.GetBackup().jobtype to determine and filter on "VmTapeBackup" (tape) or 'Backup" (disk)
Using $RP.GetStorage().partialpath.internal.elements, I can retrieve backup filename. Great.
But cannot retrieve mediumid/tape/mediaset/repository info ... ;-(

Starting from
foreach ($tape in Get-VBRTapeMedium) {
(...)
}
I retrieve medium and mediaset name but cannot link back to RestorePoint ... ;-(

Any idea ?

Thanks

TH
veremin
Product Manager
Posts: 20270
Liked: 2252 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: list media/mediaset restorepoint ?

Post by veremin »

Take a look at this script that queries configuration database; it should contain information you're after. Thanks.
ThierryF
Expert
Posts: 129
Liked: 33 times
Joined: Mar 31, 2018 10:20 am
Contact:

Re: list media/mediaset restorepoint ?

Post by ThierryF »

Thanks !

TH
Post Reply

Who is online

Users browsing this forum: No registered users and 16 guests