Hey,
Hoping someone can assist with getting the following through PS:
I have the following which pulls the information i want, which is, get all tape restore points by querying a backup job and the VM's inside the job:
Get-VBRJob -name "Backup job name" | Get-VBRJobObject | Get-VBRRestorePoint | ?{$_.GetBackup().JobType -eq "VmTapeBackup"} | Sort-Object -Property CreationTime -Descending
I would like to extend the code to also query each restore point it lists to see what tapes are associated with the restore point, e.g Restore point: 2018-01-01 -> tapes used: BNF0124L6.
-
- Lurker
- Posts: 2
- Liked: never
- Joined: Jun 08, 2018 4:36 am
- Full Name: Jonathan Barnard
- Contact:
-
- VP, Product Management
- Posts: 27377
- Liked: 2800 times
- Joined: Mar 30, 2009 9:13 am
- Full Name: Vitaliy Safarov
- Contact:
Re: Tape Restore Points
Hello Jonathan,
Are you looking for something similar in your request? Just trying to understand the required output format.
Thank you!
Are you looking for something similar in your request? Just trying to understand the required output format.
Thank you!
-
- Lurker
- Posts: 2
- Liked: never
- Joined: Jun 08, 2018 4:36 am
- Full Name: Jonathan Barnard
- Contact:
Re: Tape Restore Points
Hi Vitaliy,
Thank you for getting back to me, it is what i need, however, i need it to be specific to files to tape, not VM to tape. Is that possible?
Thanks!
Thank you for getting back to me, it is what i need, however, i need it to be specific to files to tape, not VM to tape. Is that possible?
Thanks!
-
- Product Manager
- Posts: 20406
- Liked: 2298 times
- Joined: Oct 26, 2012 3:28 pm
- Full Name: Vladimir Eremin
- Contact:
Re: Tape Restore Points
Check this thread; there are several examples given. Thanks.
Who is online
Users browsing this forum: No registered users and 6 guests