Hi,
I'm trying to find a PS cmd to view eath backup job and Retention policy for the number of restorepoints to keep on disk. I would like to get the current number set under 'Storage' Retention policy and the number of restorepoints to keep on disk for a backup job.
Is that possible
/M
-
- Lurker
- Posts: 2
- Liked: never
- Joined: Nov 26, 2013 5:56 pm
- Contact:
-
- VP, Product Management
- Posts: 6035
- Liked: 2860 times
- Joined: Jun 05, 2009 12:57 pm
- Full Name: Tom Sightler
- Contact:
Re: PS View number of restorepoints on disk
I'm not sure what you mean as to me, these are the same. The code below will display each job and the number of restore points the job is configured to keep:mikael.mard wrote: I would like to get the current number set under 'Storage' Retention policy and the number of restorepoints to keep on disk for a backup job.
Code: Select all
Get-VBRJob | ? {$_.JobType -eq "Backup"} | Select -Property @{N="Job Name";E={$_.Name}}, @{N="Configured Restore Points";E={$_.Options.BackupStorageOptions.RetainCycles}}
-
- Lurker
- Posts: 2
- Liked: never
- Joined: Nov 26, 2013 5:56 pm
- Contact:
Re: PS View number of restorepoints on disk
Hi tsightler,
Thanks, this was perfect, spot on
/M
Thanks, this was perfect, spot on
/M
Who is online
Users browsing this forum: No registered users and 15 guests