PowerShell script exchange
Post Reply
ctcdave
Lurker
Posts: 2
Liked: never
Joined: Dec 17, 2014 4:37 pm
Full Name: David McCue
Contact:

[Feature Request] Backup retention

Post by ctcdave »

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.
veremin
Product Manager
Posts: 20389
Liked: 2298 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: [Feature Request] Backup retention

Post by veremin »

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.
ctcdave
Lurker
Posts: 2
Liked: never
Joined: Dec 17, 2014 4:37 pm
Full Name: David McCue
Contact:

Re: [Feature Request] Backup retention

Post by ctcdave »

Thanks, findBackup() provided the info I needed for this case.
veremin
Product Manager
Posts: 20389
Liked: 2298 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: [Feature Request] Backup retention

Post by veremin »

You're welcome. Let us know, if any further questions arise. Thanks.
Peejay62
Expert
Posts: 235
Liked: 37 times
Joined: Aug 06, 2013 10:40 am
Full Name: Peter Jansen
Contact:

Re: [Feature Request] Backup retention

Post by Peejay62 »

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
veremin
Product Manager
Posts: 20389
Liked: 2298 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: [Feature Request] Backup retention

Post by veremin »

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.
Peejay62
Expert
Posts: 235
Liked: 37 times
Joined: Aug 06, 2013 10:40 am
Full Name: Peter Jansen
Contact:

Re: [Feature Request] Backup retention

Post by Peejay62 » 2 people like this post

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

Thanks, Peter
bk@virtualtn.com
Enthusiast
Posts: 38
Liked: 1 time
Joined: Nov 10, 2015 2:13 pm
Full Name: BILKAM
Contact:

Re: [Feature Request] Backup retention

Post by bk@virtualtn.com »

Hello Guys
I search the same request :)
I have a lot of veeamZip job that I need to change the retention
Any update on this ?
thanks for your support
BILKAM
vinception.fr
veremin
Product Manager
Posts: 20389
Liked: 2298 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: [Feature Request] Backup retention

Post by veremin »

What do you mean by VeeamZIP jobs? VeeamZIP is one-time backup settings of which including retention policy cannot be changed afterwards. Thanks.
bk@virtualtn.com
Enthusiast
Posts: 38
Liked: 1 time
Joined: Nov 10, 2015 2:13 pm
Full Name: BILKAM
Contact:

Re: [Feature Request] Backup retention

Post by bk@virtualtn.com »

Sorry I mean VeeamZIp file Backup not job
On the Veeam console I don’t have information about VeeamZip file retention, and sometimes I get requests to extend the retention for a specific backup file done by VeeamZip tools.
BILKAM
vinception.fr
veremin
Product Manager
Posts: 20389
Liked: 2298 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: [Feature Request] Backup retention

Post by veremin »

Currently we do not expose this information in UI or PowerShell. Nor do we allow to change retention period for already created backups.

However, thank you for your feature request; appreciated.
Post Reply

Who is online

Users browsing this forum: No registered users and 15 guests