PowerShell script exchange
Post Reply
Tyler_Baptiste24
Lurker
Posts: 2
Liked: never
Joined: Aug 14, 2017 4:01 pm
Full Name: Tyler Jno-Baptiste

View Retention level on Restore Points

Post by Tyler_Baptiste24 »

I am required to do weekly audit where I verify that the backups with GFS retention (Weekly and Monthly) ran properly. Currently I am going to the GFS disk section and checking the properties and looking and the restore points in there. I was wondering if there was a way that I can pull the retention level of that restore point? When I run Get-VBRBackup -Name "XXXXXX" | Get-VBRRestorePoint -Name *XXXXX* I don’t get anything back that can tell me the retention level of the restore point.

Thanks,
Tyler
veremin
Product Manager
Posts: 20404
Liked: 2298 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: View Retention level on Restore Points

Post by veremin » 2 people like this post

Hi, Tyler, welcome to our community forums,

Example below should give you some clues on how the process can be scripted:

Code: Select all

asnp VeeamPSSnapin
$Backup = Get-VBRBackup -name "Name of your backup job"
$Backup.GetAllStorages() | sort creationtime -Descending | select PartialPath, CreationTime, GFSPeriod
Thanks.
Tyler_Baptiste24
Lurker
Posts: 2
Liked: never
Joined: Aug 14, 2017 4:01 pm
Full Name: Tyler Jno-Baptiste

Re: View Retention level on Restore Points

Post by Tyler_Baptiste24 »

Thanks this is what I need to get started.
veremin
Product Manager
Posts: 20404
Liked: 2298 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: View Retention level on Restore Points

Post by veremin »

You're welcome. If other assistance with scripting is needed, let me know. Thanks.
Post Reply

Who is online

Users browsing this forum: No registered users and 10 guests