Comprehensive data protection for all workloads
Post Reply
odi66
Influencer
Posts: 19
Liked: never
Joined: Aug 30, 2010 7:14 pm
Contact:

Delete Backup prior Job

Post by odi66 »

Hello,

is there a possibility to delete the oldest Backup prior the next Backupjob?

We have a Weekendjob with 2 TB (Fullbackup) and 2 Restorepoints.

Unfortunately we only have 1,7 TB free now and i have to delete the oldest snapshot every weekend by Hand.
dellock6
Veeam Software
Posts: 6137
Liked: 1928 times
Joined: Jul 26, 2009 3:39 pm
Full Name: Luca Dell'Oca
Location: Varese, Italy
Contact:

Re: Delete Backup prior Job

Post by dellock6 »

I know my answer is not directly related to solve your request, but if I was you I'd really work to increase the number of restore points.
With only two restore points, if anything happens to your data and it's not immediately identified, you risk to have too quickly no valid restores.
Luca Dell'Oca
Principal EMEA Cloud Architect @ Veeam Software

@dellock6
https://www.virtualtothecore.com/
vExpert 2011 -> 2022
Veeam VMCE #1
alanbolte
Veteran
Posts: 635
Liked: 174 times
Joined: Jun 18, 2012 8:58 pm
Full Name: Alan Bolte
Contact:

Re: Delete Backup prior Job

Post by alanbolte »

Are you using rotating USB drives, or something similar?
skrause
Veteran
Posts: 487
Liked: 105 times
Joined: Dec 08, 2014 2:58 pm
Full Name: Steve Krause
Contact:

Re: Delete Backup prior Job

Post by skrause »

Is this a job that only runs once a week and runs an active full every time?
Steve Krause
Veeam Certified Architect
odi66
Influencer
Posts: 19
Liked: never
Joined: Aug 30, 2010 7:14 pm
Contact:

Re: Delete Backup prior Job

Post by odi66 »

Yes the job runs once a week, active full

And afterwards it ist backed up to Tape and put aside.
Thats the reason for not having incrementals
We likle to have the full backup on tape
foggy
Veeam Software
Posts: 21069
Liked: 2115 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: Delete Backup prior Job

Post by foggy »

You can trigger the pre-job script that would delete the required restore point prior the backup.
odi66
Influencer
Posts: 19
Liked: never
Joined: Aug 30, 2010 7:14 pm
Contact:

Re: Delete Backup prior Job

Post by odi66 »

foggy wrote:You can trigger the pre-job script that would delete the required restore point prior the backup.
Where can i find that script?
PTide
Product Manager
Posts: 6408
Liked: 724 times
Joined: May 19, 2015 1:46 pm
Contact:

Re: Delete Backup prior Job

Post by PTide »

Hi,
Where can i find that script?
Please take a look at the article.

Thank you.
odi66
Influencer
Posts: 19
Liked: never
Joined: Aug 30, 2010 7:14 pm
Contact:

Re: Delete Backup prior Job

Post by odi66 »

PTide wrote:Hi,

Please take a look at the article.

Thank you.
Yes i know.

Foggy mentioned that i can trigger "THE" pre-job script that would delete......

i read this as if this type of script is allready existing.
PTide
Product Manager
Posts: 6408
Liked: 724 times
Joined: May 19, 2015 1:46 pm
Contact:

Re: Delete Backup prior Job

Post by PTide »

i read this as if this type of script is allready existing.
I suggest you to do some search in a PowerShell sub-forum maybe someone has already implemented such a script. In case nothing is found please feel free to open a new thread.
And afterwards it ist backed up to Tape and put aside.
Thats the reason for not having incrementals
We likle to have the full backup on tape
Have you considered using virtual full backup to tape? I believe it will fit your needs.

Thank you.
odi66
Influencer
Posts: 19
Liked: never
Joined: Aug 30, 2010 7:14 pm
Contact:

Re: Delete Backup prior Job

Post by odi66 »

PTide wrote:Have you considered using virtual full backup to tape? I believe it will fit your needs.

Thank you.
Very good Idea. but unfortunately we have to use "you-know-who 2010 R3 :twisted: ", and "you-know-who 2010 R3 :twisted: " is not sharing the Tape-device

The Fileserver is physical and therefore we need filebased backup
PTide
Product Manager
Posts: 6408
Liked: 724 times
Joined: May 19, 2015 1:46 pm
Contact:

Re: Delete Backup prior Job

Post by PTide »

There is a cmdlet that allows you to delete a particular restore point, please check Example #3.
The Fileserver is physical and therefore we need filebased backup
Have you considered using Veeam Endpoint Backup?

Thank you.
Post Reply

Who is online

Users browsing this forum: Gostev and 153 guests