Comprehensive data protection for all workloads
Post Reply
EricJ
Influencer
Posts: 20
Liked: 4 times
Joined: Jan 12, 2017 7:06 pm
Contact:

Best Practice for Removing Old VM?

Post by EricJ »

We have several GFS backup copy jobs configured to retain 7 daily and 12 monthly backups. As you can imagine, when we look under Backups --> Disk (Copy), most jobs have around 19 restore points available.

However, I noticed today that a few of the jobs had well over 100 restore points! Looking into it, I noticed that all of the daily incrementals were being kept on disk for months. The common theme between these jobs appears to be that they all contained at least one VM that had been decommissioned and removed from the primary source job that feeds the backup copy. The VMs were removed right around the time that the incrementals started being kept indefinitely.

So, via the Veeam Console, I disabled the backup copy job, deleted the remaining backup copies of these old VMs, and re-enabled the backup copy job. Currently, it appears to be creating a restore point for each day of the backlog, and cleaning up the old restore points that it shouldn't have been retaining (the # of restore points is decreasing as it goes).

Image

It looks like manually deleting the old backup copies is going to fix the issue, but can anyone explain why this happened, or most importantly...

What are the best practice steps for removing an old VM from a primary backup job and associated backup copy jobs?

It would be nice to be able to save the old copies for a while just in case we need to go back to them, but I also don't want all the other VMs in the job to start "over-retaining". Thanks!
Egor Yakovlev
Product Manager
Posts: 2581
Liked: 708 times
Joined: Jun 14, 2013 9:30 am
Full Name: Egor Yakovlev
Location: Prague, Czech Republic
Contact:

Re: Best Practice for Removing Old VM?

Post by Egor Yakovlev »

Hi Eric.
Both job types have a respectful option under Storage - Advanced - Maintenance tab in job's settings. It is called "Remove deleted items data after".
That should do the trick!
/Cheers!
EricJ
Influencer
Posts: 20
Liked: 4 times
Joined: Jan 12, 2017 7:06 pm
Contact:

Re: Best Practice for Removing Old VM?

Post by EricJ »

Thanks, Egor.

I do have that setting enabled and set to 30 days, but it definitely was hanging on to them longer than that. And while hanging on to them, seems to enable infinite retention for all other VMs on that same job. Very strange. I'll open a case if there's no obvious thing that I'm doing wrong here. Thanks again!
foggy
Veeam Software
Posts: 21139
Liked: 2141 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: Best Practice for Removing Old VM?

Post by foggy »

If you have per-VM chains enabled, there was an issue similar to that in earlier versions. However, it was addressed back in U4, what Veeam B&R are you at?
Post Reply

Who is online

Users browsing this forum: No registered users and 86 guests