Comprehensive data protection for all workloads
wishr
Veeam Software
Posts: 1547
Liked: 162 times
Joined: Aug 07, 2018 3:11 pm
Full Name: Fedor Maslov
Contact:

Re: Delete Restore Points

Post by wishr » Nov 28, 2018 11:26 am

Hi gentlemen,

Thank you for your comments and feedback. We'll take a look at that.

Cheers!

SBarrett847
Service Provider
Posts: 315
Liked: 40 times
Joined: Feb 02, 2016 5:02 pm
Full Name: Stephen Barrett
Contact:

[MERGED] How to deal with a full repository? (redux)

Post by SBarrett847 » Mar 13, 2019 8:43 am

I keep running into this for Clients and I've yet to see any workable solution within Veeam to get a Job backup and running after a repository is filled. For example, currently I have a simple backup copy job with 1 VBK and 7 incrementals. The Repository is full and cant complete a job. Retention is reduced to 2 points in the job, but this can't be enacted because the backup must complete first.

I have no way to force the new shorter retention policy, nor can I manually delete incremental points to free space from within Veeam. If I manually delete the VIBs I risk corrupting the chain. I have no other Storage to place backups on.

It is a Chicken and Egg scenario. I have seen posts on the forum going back years highlighting the same issue, but no solution yet. If we could manually delete restore points in the GUI this wouldn't be an issue. If we could enforce a shorter retention policy, independent of the current backup state, this wouldn't be an issue.

Am I perhaps missing an obvious solution?

Vitaliy S.
Product Manager
Posts: 23607
Liked: 1707 times
Joined: Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov
Contact:

Re: How to deal with a full repository? (redux)

Post by Vitaliy S. » Mar 13, 2019 1:02 pm 1 person likes this post

Hi Stephen,

The solution would be to use a monitoring and capacity planning tool for backup repositories. This is the only way that would allow you to be in compliance with the configured retention policy and be alerted in advance when repository is close to its capacity limits. I do know this does not help in your particular scenario, but this is how it is usually solved by other customers and VCSPs.

In your case, it seems like you need to delete the latest incremental (not to corrupt the entire chain), lower the retention policy and re-run the backup job. Might do the trick, though a rescan option will be required as a subsequent job run will miss the deleted restore point.

Thanks!

SBarrett847
Service Provider
Posts: 315
Liked: 40 times
Joined: Feb 02, 2016 5:02 pm
Full Name: Stephen Barrett
Contact:

Re: How to deal with a full repository? (redux)

Post by SBarrett847 » Mar 13, 2019 1:59 pm

"In your case, it seems like you need to delete the latest incremental (not to corrupt the entire chain), lower the retention policy and re-run the backup job. "

Aha! Ok, that I can do. Much obliged.

SBarrett847
Service Provider
Posts: 315
Liked: 40 times
Joined: Feb 02, 2016 5:02 pm
Full Name: Stephen Barrett
Contact:

Re: How to deal with a full repository? (redux)

Post by SBarrett847 » Mar 13, 2019 2:36 pm

Ok Just for future reference (I'll probably find this thread again in search in a few weeks :) ) The trick is the Delete the last restore point, then exclude all the VMs in the Backup Job, then run the Backup. This way it goes straight to the Merging of the restore points, rather than running another backup first.

[Feature Request] A single command to go straight to merging of restore points and apply the new retention policy, without the need to run a backup first.

DGrinev
Expert
Posts: 1943
Liked: 246 times
Joined: Dec 01, 2016 3:49 pm
Full Name: Dmitry Grinev
Location: St.Petersburg
Contact:

Re: How to deal with a full repository? (redux)

Post by DGrinev » Mar 13, 2019 2:58 pm 1 person likes this post

Hey Stephen,

That's very creative approach to force the retention shorten the backup chain, nice!
Here is a big discussion about deleting restore points, I've merged your thread to keep it in one place.

Thanks!

SBarrett847
Service Provider
Posts: 315
Liked: 40 times
Joined: Feb 02, 2016 5:02 pm
Full Name: Stephen Barrett
Contact:

Re: Delete Restore Points

Post by SBarrett847 » Mar 13, 2019 5:34 pm

OK, Further to the advice given to delete the last VIB in the chain - Deleting the last restore point breaks the Job when it tries to create the next restore point - it will not run again without that restore point.

Attempting to remove the missing Restore point in the GUI as per https://helpcenter.veeam.com/docs/backu ... l?ver=95u4
does not work - there is no option to remove the Restore point from the config.

Support have previously said to fix this you this you would .....
-Disable the Job
-Find the VBM file for that Job in the repository and add BAK to the file extension. (so "backupjob".vbkbak)
-Then Rescan the repository.
-Remove the BAK on the file extension
-Then rescan the repository.
-Remap the backup in the backup Job
-Re-enable the Job and run.

But this doesn't work for me.

Looks like a call to support :(

SBarrett847
Service Provider
Posts: 315
Liked: 40 times
Joined: Feb 02, 2016 5:02 pm
Full Name: Stephen Barrett
Contact:

Re: Delete Restore Points

Post by SBarrett847 » Mar 14, 2019 10:33 am

Case 03462381

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

Re: Delete Restore Points

Post by foggy » Mar 14, 2019 4:47 pm

Support should be able to edit VBM file to reflect what is currently on disk.

lobo519
Expert
Posts: 304
Liked: 36 times
Joined: Sep 29, 2010 3:37 pm
Contact:

Re: Delete Restore Points

Post by lobo519 » Oct 15, 2019 8:57 pm

well - this has gone on for quite a while. I understand you guys say "plan" but we live in the real world and as they say - Stuff happens.

An option to run the job and apply retention at the beginning or a simple way to trim without running the job would be a really great feature at this point!

mkaec
Expert
Posts: 329
Liked: 78 times
Joined: Jul 16, 2015 1:31 pm
Full Name: Marc K
Contact:

Re: Delete Restore Points

Post by mkaec » Oct 16, 2019 3:18 pm

Look how easy it could be!

Image

SBarrett847
Service Provider
Posts: 315
Liked: 40 times
Joined: Feb 02, 2016 5:02 pm
Full Name: Stephen Barrett
Contact:

Re: Delete Restore Points

Post by SBarrett847 » Oct 16, 2019 3:29 pm

I would love to have that button.....

lmbutault
Service Provider
Posts: 18
Liked: 1 time
Joined: Oct 21, 2011 2:11 pm
Full Name: Louis-Marie BUTAULT
Contact:

Re: Delete Restore Points

Post by lmbutault » Oct 16, 2019 3:42 pm

+1 ;-)

wishr
Veeam Software
Posts: 1547
Liked: 162 times
Joined: Aug 07, 2018 3:11 pm
Full Name: Fedor Maslov
Contact:

Re: Delete Restore Points

Post by wishr » Oct 16, 2019 4:04 pm

Hello gentlemen,

The retention itself requires some space to be applied (remember merge, transform and other necessary operations), thus that "easy button" (I love the mockup, though ;)) will be useless in most situations when you lack free space. Do you have any other suggestions?

Thanks

mkaec
Expert
Posts: 329
Liked: 78 times
Joined: Jul 16, 2015 1:31 pm
Full Name: Marc K
Contact:

Re: Delete Restore Points

Post by mkaec » Oct 16, 2019 10:12 pm

I think yes and no.

Forward Incremental Backup: Old restore points can just be deleted.
Reverse Incremental Backup: Old restore points can just be deleted.
Forever Forward Incremental Backup: Transform (and disk space) required to delete old restore points.

There's only 1 backup method where the easy button wouldn't help get out of a free space jam, and two where it could be a lifesaver. If it were me, I'd make it available regardless of the backup method because sometimes admins just want to clear out old backups.

wishr
Veeam Software
Posts: 1547
Liked: 162 times
Joined: Aug 07, 2018 3:11 pm
Full Name: Fedor Maslov
Contact:

Re: Delete Restore Points

Post by wishr » Oct 17, 2019 11:21 am

In the case with the Forward Incremental backup method, you cannot simply remove the "old" chain at any moment because the new chain might not have necessary number of restore points yet.

SBarrett847
Service Provider
Posts: 315
Liked: 40 times
Joined: Feb 02, 2016 5:02 pm
Full Name: Stephen Barrett
Contact:

Re: Delete Restore Points

Post by SBarrett847 » Oct 17, 2019 11:24 am

Yes you should be able to, if you decide that is what you want to do. A simple popup warning stating that the current chain doesn't have the required Restore points is all that is needed.

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

Re: Delete Restore Points

Post by foggy » Oct 17, 2019 11:32 am 2 people like this post

Guys, just to remind, there are built-in space notifications and capacity planning reports in Veeam ONE to effectively prevent such situations. Those who ignore warnings seem to be armed with some secret techniques of handling space issues.

mkaec
Expert
Posts: 329
Liked: 78 times
Joined: Jul 16, 2015 1:31 pm
Full Name: Marc K
Contact:

Re: Delete Restore Points

Post by mkaec » Oct 17, 2019 11:07 pm

That helps when Veeam ONE is installed. As was mentioned, if someone runs into space problems, they don't really want to be told "you shouldn't have let that happen".

I have not run into space problems with VBR. I have with VAW, and ended up losing the entire backup chain because I deleted the wrong thing. As for server backups, I have used retention management options in other applications even when there was not a repository space issue. Sometimes an admin wants to reduce retention without waiting several hours for a backup to complete first.

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

Re: Delete Restore Points

Post by foggy » Oct 18, 2019 10:22 am

Sometimes an admin wants to reduce retention without waiting several hours for a backup to complete first.
But that would mean he already has some sort of space issues, right? Otherwise, he can wait. Or am I missing the use case?

mkaec
Expert
Posts: 329
Liked: 78 times
Joined: Jul 16, 2015 1:31 pm
Full Name: Marc K
Contact:

Re: Delete Restore Points

Post by mkaec » Oct 23, 2019 5:30 pm

I guess the most common case *is* to do it in response to free space alerts. Even in that case, admins really don't want to have to wait to see the results. The most likely scenario is changing the retention and waiting until the next day because the admin won't want to kick off a backup during business hours. Then if the gains were not as much as desired, the admin will have to adjust the settings and wait another day. Rinse and repeat.

I know it's a little off-topic, this being the VBR forum, but I recently had an experience like that with VAW. I wanted to adjust the retention on the VAW backups I have on my home systems. Free space was getting a little low. I ended up deleting everything and starting over because I didn't want to go through a multi-day process to get things sorted out.

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

Re: Delete Restore Points

Post by foggy » Oct 24, 2019 12:14 pm

Thanks for the clarification, Marc.

lobo519
Expert
Posts: 304
Liked: 36 times
Joined: Sep 29, 2010 3:37 pm
Contact:

Re: Delete Restore Points

Post by lobo519 » Nov 01, 2019 3:01 pm

foggy wrote:
Oct 17, 2019 11:32 am
Guys, just to remind, there are built-in space notifications and capacity planning reports in Veeam ONE to effectively prevent such situations. Those who ignore warnings seem to be armed with some secret techniques of handling space issues.

Again - I will quote myself "I understand you guys say "plan" but we live in the real world and as they say - Stuff happens."

TheWaterbug
Influencer
Posts: 18
Liked: 2 times
Joined: Dec 06, 2019 7:29 pm
Full Name: Steven Kan
Contact:

Re: Delete Restore Points

Post by TheWaterbug » Jan 06, 2020 8:49 pm

kkuszek wrote:
Jul 08, 2015 8:25 pm
So what if I want to delete *specific* restore points.
For example, what if I want to keep the oldest one, but delete some specific incremental points in between?
Veeam has restore points not restore point age (aka 30 points not 30 days of backups) so it isn't always consistently aligned with my retention. Yes it's about storage space but I would prefer to be able to pick and choose "this was an important day, I want to delete backups to make space from the rest of the week but keep this day"etc.
Sometimes there are specific needs. Is there no way to browse restore points and delete a specific one for a specific machine?
Agreed. We just recovered from a ransomware infection on 11/26, so it would be nice to be able to delete all restore points between 11/24 - 11/28, but keep everything else.

As with some other folks here, I would strongly prefer to do it from within the Veeam GUI, so I don't screw it up!!!

Post Reply

Who is online

Users browsing this forum: Bing [Bot], Cornel, foggy, Google [Bot] and 33 guests