[Feature Request] Backup retention

PowerShell script exchange

[Feature Request] Backup retention

Veeam Logoby ctcdave » Tue Aug 09, 2016 10:02 pm

I'm currently taking VeeamZip backups to a repository as a final backup for VMs that are going to be deleted. The backup portion works great, but I want to verify a backup exists immediately before deleting the VM. I can use get-vbrrestorepoint to list the backups for the VM, but there's no way to identify retention or that it was created by VeeamZip, instead of a job that will eventually delete it.

I'd love to see the associated job name in the output, along with the expected deletion date.
ctcdave
Lurker
 
Posts: 2
Liked: never
Joined: Wed Dec 17, 2014 4:37 pm
Full Name: David McCue

Re: [Feature Request] Backup retention

Veeam Logoby v.Eremin » Wed Aug 10, 2016 11:45 am

I believe it should be possible to identify whether a particular restore point has been created via VeeamZIP. The following example returns all VeeamZIP restore points:

Code: Select all
Get-VBRRestorePoint | where {$_.findBackup().JobTargetType -eq "VeeamZIP"}


As to checking restore point retention via PS, I don't think there is a way to do that, at least I haven't been able to find it.

Thanks.
v.Eremin
Veeam Software
 
Posts: 13558
Liked: 1006 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin

Re: [Feature Request] Backup retention

Veeam Logoby ctcdave » Wed Aug 10, 2016 3:39 pm

Thanks, findBackup() provided the info I needed for this case.
ctcdave
Lurker
 
Posts: 2
Liked: never
Joined: Wed Dec 17, 2014 4:37 pm
Full Name: David McCue

Re: [Feature Request] Backup retention

Veeam Logoby v.Eremin » Wed Aug 10, 2016 4:47 pm

You're welcome. Let us know, if any further questions arise. Thanks.
v.Eremin
Veeam Software
 
Posts: 13558
Liked: 1006 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin

Re: [Feature Request] Backup retention

Veeam Logoby Peejay62 » Fri Feb 03, 2017 10:20 am

Is it still the case that you cannot pull out the retention for the veeamzip? (v9.5). Is it possible to pull this out of the VeeamDb? As part of a process of retaining VMs for a specific period of time I need to report on the retention. I also have no view on all the veeamzips I have and their retentions in perspective to capacityplanning for my repos where the veeamzips are stored.

thanks, Peter
Peejay62
Expert
 
Posts: 171
Liked: 21 times
Joined: Tue Aug 06, 2013 10:40 am
Full Name: Peter Jansen

Re: [Feature Request] Backup retention

Veeam Logoby v.Eremin » Fri Feb 03, 2017 11:38 am

I've checked different PS objects briefly, and haven't been able to find anything useful. Most likely, the information is stored directly in db and not exposed via PS. Thanks.
v.Eremin
Veeam Software
 
Posts: 13558
Liked: 1006 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin

Re: [Feature Request] Backup retention

Veeam Logoby Peejay62 » Fri Feb 03, 2017 12:25 pm 1 person likes this post

Feature request : make Veeamzip added retentions visible.. ;-)
I think more people see use in that.

Thanks, Peter
Peejay62
Expert
 
Posts: 171
Liked: 21 times
Joined: Tue Aug 06, 2013 10:40 am
Full Name: Peter Jansen


Return to PowerShell



Who is online

Users browsing this forum: No registered users and 6 guests