Availability for the Always-On Enterprise
Post Reply
rntguy
Service Provider
Posts: 82
Liked: 1 time
Joined: Jan 29, 2016 8:31 pm
Full Name: Rnt Guy
Contact:

purging old VMs

Post by rntguy » Jun 09, 2017 2:51 pm

If a customer has GFS restore points that go back 3 years for a job (12 monthlies, 3 yearlies) with 10 VMs in it, and 9 months in they don't need to back that VM up anymore...

my understanding is that the backups for that VM will stay on disk until the files (per vm backup files) are 3 years old and then only 1 will purge. A year later the next one will, etc.

It appears there is a way to say 'purge all backups for a single VM inside a given job' manually (on Prem and in the veeam cloud which we manage).

But (Q1) what does the feature inside the job mean to "Remove deleted VMs data after X days" - does this only apply when you remove a VM from the copy job (or backup job) and then (Q2) does it delete all backups associated with that VM? Or is that feature just to get it to stop warning you every day that a VM is missing from the job?

v.Eremin
Veeam Software
Posts: 15157
Liked: 1141 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: purging old VMs

Post by v.Eremin » Jun 09, 2017 7:29 pm

It appears there is a way to say 'purge all backups for a single VM inside a given job' manually (on Prem and in the veeam cloud which we manage).
There is no way to do that indeed.
But (Q1) what does the feature inside the job mean to "Remove deleted VMs data after X days" - does this only apply when you remove a VM from the copy job (or backup job) and then (Q2) does it delete all backups associated with that VM? Or is that feature just to get it to stop warning you every day that a VM is missing from the job?
Kindly, review corresponding section of our User Guide and ask for additional clarification if needed.

rntguy
Service Provider
Posts: 82
Liked: 1 time
Joined: Jan 29, 2016 8:31 pm
Full Name: Rnt Guy
Contact:

Re: purging old VMs

Post by rntguy » Jun 09, 2017 7:36 pm

v.Eremin wrote: There is no way to do that indeed.
If you do per-vm backup files it looks like it works. I can right click any VM inside a job and delete it.

rntguy
Service Provider
Posts: 82
Liked: 1 time
Joined: Jan 29, 2016 8:31 pm
Full Name: Rnt Guy
Contact:

Re: purging old VMs

Post by rntguy » Jun 09, 2017 7:39 pm

v.Eremin wrote:Kindly, review corresponding section of our User Guide and ask for additional clarification if needed.
Hi, I was reading it and correct me if I'm wrong, but it appears it only refers to the last X Restore points configuration, not to the archived restore points. Those won't roll off until some future data via some internal check? Keep in mind I'm using various jobs where per-vm backup files is enabled.

Thank you

foggy
Veeam Software
Posts: 16841
Liked: 1361 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: purging old VMs

Post by foggy » Jun 15, 2017 11:07 am 1 person likes this post

GFS restore points are not subjected to deteted VMs retention, only to their own retention (the specified number of weekly, monthly, etc. points).

rntguy
Service Provider
Posts: 82
Liked: 1 time
Joined: Jan 29, 2016 8:31 pm
Full Name: Rnt Guy
Contact:

Re: purging old VMs

Post by rntguy » Jun 15, 2017 9:16 pm

thanks foggy. is there ever a way to expire and purge points based on age without running a new backup? If you have an old backup with VMs you don't use anymore and you want their backups to expire how else can you do that some point down the road?

foggy
Veeam Software
Posts: 16841
Liked: 1361 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: purging old VMs

Post by foggy » Aug 15, 2017 5:10 pm

In case it's a per-VM chain, you can just manually delete the files you do not need anymore.

rntguy
Service Provider
Posts: 82
Liked: 1 time
Joined: Jan 29, 2016 8:31 pm
Full Name: Rnt Guy
Contact:

Re: purging old VMs

Post by rntguy » Aug 15, 2017 7:21 pm

thanks

Spex
Enthusiast
Posts: 30
Liked: 1 time
Joined: May 09, 2012 12:52 pm
Full Name: Stefan Holzwarth
Contact:

[MERGED] Automatic remove deleted vms from storage for GFS c

Post by Spex » Oct 18, 2017 11:56 am

It seems there is no solution to get orphaned/deleted/moved vms completly removed from copyjobs that use GFS retention policies (if using single vm backups?).
The setting remove deleted vms from backup after x days does not work as expected.
Currently I have to hunt for that vms to release disk space - has anyone written a Powershell script for this problem?

foggy
Veeam Software
Posts: 16841
Liked: 1361 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: purging old VMs

Post by foggy » Oct 19, 2017 12:50 pm

Hi Stefan, seems you're experiencing behavior similar to discussed in this thread, so I'm merging your post.

Spex
Enthusiast
Posts: 30
Liked: 1 time
Joined: May 09, 2012 12:52 pm
Full Name: Stefan Holzwarth
Contact:

Re: purging old VMs

Post by Spex » Oct 23, 2017 8:59 am

I would like to have this addressed as a new feature. For an enterprise backup product it's a must have to automatic maintain deleted backup objects.

foggy
Veeam Software
Posts: 16841
Liked: 1361 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: purging old VMs

Post by foggy » Oct 26, 2017 1:58 pm 1 person likes this post

Your request is accepted, thanks for the feedback.

Post Reply

Who is online

Users browsing this forum: beerfluent, crmz81, Google [Bot] and 34 guests