My goal is to extend an existing powershell function, which provides me with the most recent replica, incremental, and full backup point for each VM.
I would like to also know the most recent backup point for a VM stored on my assorted media pools (incremental, weekly, and monthly). The specific values I will end up obtaining will be the backup file name, the tape it is stored on, and when it got on that tape.
After parsing the results into HTML, I've got an at-a-glance view of all of my most recent restore points for each VM, showing me the viability of each method of recovery.
To that effect, I started searching. It looks as though Find-VBRTapeCatalog would be the place to start, however I see that is deprecated with no mention of a new command to use in its place. To make matters worse, it throws an error when I run that command:
No files found in the backup set <UUID> where <UUID> is a nice long alphanumeric
Not really seeking help yet for that error, I have a pretty good idea of what needs to happen there (find the backup set, and remove it if it's harmless - which it probably is).
I'm using a backup-to-tape job.
Does anyone have any suggestions where to start? I'd love for my function to be good past version 8.