Host-based backup of VMware vSphere VMs.
Post Reply
squebel
Service Provider
Posts: 153
Liked: 14 times
Joined: Sep 27, 2019 5:06 pm
Contact:

Removing abandoned restore points

Post by squebel »

I searched for a while but was unable to find exactly what I'm looking for so I here I am...

I'm seeing a lot of, what I'll call abandoned restore points out in our SOBR extents. One of the jobs I'm looking at is a Forever Forward Incremental that is set to keep 7 restore points. The chains look to be intact for the past 7 days, but I'm seeing several older vib files for each vm that are older than 10 days. I used a powershell script to pull a report and I got back an alarming number of files and they seem to have occurred on similar days. As far as I can tell, everything in this job is set up correctly and has been running fine.

My question is: Is there any kind of clean/automated way to have Veeam go through and validate old restore point files that are no longer used or do I have to do through some kind of manual cleanup process?
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: Removing abandoned restore points

Post by Egor Yakovlev »

Hi Squebel,
each time job finishes, Veeam will check and apply specified Retention Policy. If Backup chain is set to Forever Forward Incremental(aka have NO Active\Synthetic full enabled), then on a disk you should see 1xFull(vbk)+6 increments(vib) at all times. Do you also see those "abandoned" restore points in VBR UI under Home-Backups-Disk?
Thanks!
squebel
Service Provider
Posts: 153
Liked: 14 times
Joined: Sep 27, 2019 5:06 pm
Contact:

Re: Removing abandoned restore points

Post by squebel »

Nope, they do not show up in the UI hence why I called them "abandoned." For example on one vm, there is the vbk followed by 6 vibs all in succession but then there are 3 other vibs from random dates that are older than oldest vib in the chain. What would cause this? I'm seeing this in all of my extents.
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: Removing abandoned restore points

Post by Egor Yakovlev »

Incremental backup cannot exist without Full, and no matter what, restore points shall not disappear from UI without user intervention, so it is really worth investigating with support.
Please open a ticket and share its ID in this thread.
squebel
Service Provider
Posts: 153
Liked: 14 times
Joined: Sep 27, 2019 5:06 pm
Contact:

Re: Removing abandoned restore points

Post by squebel »

I can do that. However, I'm asking if there is a way to clean this up automatically or is it a manual method? By my calculations, I'm chewing up at least 18TB in abandoned vib files across my extents just in job folders that are 7 days FFI. I can't be the first person that's run into this issue or a similar issue.
squebel
Service Provider
Posts: 153
Liked: 14 times
Joined: Sep 27, 2019 5:06 pm
Contact:

Re: Removing abandoned restore points

Post by squebel »

Case 03935857 opened earlier today with Support and waiting to hear what they say...
PeterC
Enthusiast
Posts: 46
Liked: 12 times
Joined: Apr 10, 2018 2:24 pm
Full Name: Peter Camps
Contact:

Re: Removing abandoned restore points

Post by PeterC » 1 person likes this post

We see this also regularly on the SOBR extents. I always thought this would happen when a job failed for some reason.
It are indeed orphaned VIB files and they don't show up in the UI. We are using a script to clean up files older than a specific date.
I am curious to find out what will be the reason for this.
stephen0830
Service Provider
Posts: 1
Liked: 1 time
Joined: Nov 09, 2016 6:47 am
Full Name: Stephen Sit
Contact:

Re: Removing abandoned restore points

Post by stephen0830 » 1 person likes this post

Can share the script to clean up the older Vin files?
rossthorne
Novice
Posts: 6
Liked: 4 times
Joined: May 03, 2018 12:30 pm
Full Name: Ross Thorne
Contact:

Re: Removing abandoned restore points

Post by rossthorne »

I am running a SOBR with 10+ extents and have seen this happen quite often. I noticed this most when we would have a job interrupted when running a synthetic operation or when the job has an unexpected failure. I have talked with our Veeam reps and support in the past and the answer to this point has been to proceed as you are and remove anything that you know is outside your current retention and is older. I have had to and continue to do this manually because of how my jobs are staggered, I just don't trust a script(even if I write it) to not delete something that I might actually need. So I go to the folder, sort by create date, then compare that to the Oldest Full backup in the backup chain for each job.

I know your pain as I ran into this a while back as a first time SOBR user and we were using 120TB or almost 10% on orphaned files.
Justus
Lurker
Posts: 2
Liked: 1 time
Joined: Mar 29, 2018 2:30 pm
Full Name: Justus Addiss
Contact:

Re: Removing abandoned restore points

Post by Justus »

A caution for anyone manually removing files. According to Veeam tech support, the file system dates are not a reliable way to check for files last used or created. You need to use the date embedded in the file name.
socra
Novice
Posts: 5
Liked: never
Joined: Aug 18, 2015 10:45 am
Full Name: Socra
Contact:

Re: Removing abandoned restore points

Post by socra »

squebel wrote: Jan 01, 2020 10:24 pm I can do that. However, I'm asking if there is a way to clean this up automatically or is it a manual method? By my calculations, I'm chewing up at least 18TB in abandoned vib files across my extents just in job folders that are 7 days FFI. I can't be the first person that's run into this issue or a similar issue.
@squebel
Curious to learn what support comes up with, please keep us posted on this.
Thanks.
squebel
Service Provider
Posts: 153
Liked: 14 times
Joined: Sep 27, 2019 5:06 pm
Contact:

Re: Removing abandoned restore points

Post by squebel »

At this point, Support has been of no assistance. They keep trying to find the problem but my ask of them is how to clean it up first. To this point, they have provided no suggestion on how to do that officially.

Thank you to the others following this thread that have said you're having the same problem. It seems like Veeam needs to find the cause of the problem and provide an official clean-up solution.

Thanks @Justus for the suggestion about the date in the filename. However, I think the last modified times for the vib files should be able to used. For example, the jobs that are showing the largest amount of abandoned files are only 7 day jobs. Anything with last modified times older than say 10 days in the those folders should easily be able to be trashed without causing an issue. I have noticed that you can't go by created time though because it will show the vbk's since they show the original date of the first Full as the creation time.
Sylvala
Novice
Posts: 7
Liked: 1 time
Joined: Oct 25, 2013 10:16 pm
Full Name: Alain Sylvestre
Contact:

Re: Removing abandoned restore points

Post by Sylvala »

Thank @squebel. Veeam miss the feature to do a job just for managment and clean-up and optimize without doing actually a backup job or else.
Alain S.
squebel
Service Provider
Posts: 153
Liked: 14 times
Joined: Sep 27, 2019 5:06 pm
Contact:

Re: Removing abandoned restore points

Post by squebel »

As suspected and confirmed with Support, there is no method for cleaning this up... you're on your own.
GianlucaCroci
Expert
Posts: 231
Liked: 22 times
Joined: Feb 26, 2019 12:08 pm
Full Name: Gianluca Croci
Contact:

Re: Removing abandoned restore points

Post by GianlucaCroci »

perhaps this can help...

set _Dest=drive:\folder\subfolder
set _olderthan=30
FORFILES /P %_Dest% /S /D -%_olderthan% /C "cmd /c del /s /q @file"
Post Reply

Who is online

Users browsing this forum: No registered users and 53 guests