Backup Rotation Question

Everything about backing up to tape

Backup Rotation Question

Veeam Logoby ekisner » Mon Feb 10, 2014 6:20 pm

Having reviewed the user guide, I believe I've set up jobs to mirror my previous tape solution. Was hoping that someone could confirm that I've set up what I think I have, and not something that I've misunderstood?

Our ultimate goal:
Monthly - Full backups, last Friday of each month, 1 year retention
Weekly - Full Backups, Fridays other than last Friday of the month, 4 week retention
Daily - Incremental-Only backups, retained until one of the two above run.

To that effect, I have 3 media pools within the library... Incremental, Weekly, and Monthly. Each have a number of tapes that will handle their storage load. Tapes are cycled on their retention... so for example I have 12 sets of monthly tapes, 4 sets of weekly tapes, and 1 set of incremental tapes (which are appended to?). Every week before Friday, the tapes are cycled.

The Backup To Disk jobs (one for each VM) are set up to retain 5 restore points, forward incremental, Synthetic Full on Friday, with active full backups on last Friday of the month. Schedule is week-days, in the evening. Each of these jobs (with a few excluded due to a lack of importance) is added to the tape jobs.

There are 2 tape jobs.

Tape_Weekly:
Using the Weekly pool, with 'Process incremental backup files' enabled and targeting the Incremental pool. Both eject and export options are also unchecked. Scheduled for 'As new backup files appear'.

Tape_Monthly:
Using the Monthly pool, with 'Process incremental backup files' disabled. Both eject and export options are also unchecked. Scheduled for 'Monthly at last Friday'

I am probably going to enable the "Eject Media once the job finishes" option on both jobs, to return the tapes to their respective slots.

I've yet to run these jobs, so I've yet to see the results. Anyone have any thoughts on what might catch me? I mostly just want to make sure that during the week, the only thing getting written to tape is the incrementals, and on Fridays it's a full being written (as if it's doing a full backup to tape each day, that library will fill up quickly). And of course that on the last Friday of the month I'm able to tell it to do monthly instead of weekly?

To me, it means that every night, when the D2D backup finishes, it will trigger the weekly job. The weekly job will then back up the incrementals to the Incremental pool except on full/active full days, which would then target the weekly pool instead (as it would roll up the incrementals?). On the last Friday of the month, it looks like it'll auto-trigger the weekly job, and then schedule-trigger the monthly job?
ekisner
Expert
 
Posts: 131
Liked: 31 times
Joined: Thu Jul 26, 2012 8:04 pm
Full Name: Erik Kisner

[MERGED] Daily inc, weekly full and monthly to tape

Veeam Logoby zibius » Mon Feb 10, 2014 8:00 pm

Hi guys,

New to Veeam, what is the best way to configure daily incremental and weekly full to tape. And have the last full of the month copied to tape.
zibius
Lurker
 
Posts: 1
Liked: never
Joined: Mon Feb 10, 2014 6:46 pm
Full Name: Martin Pichette

Re: Backup Rotation Question

Veeam Logoby Dima P. » Mon Feb 10, 2014 8:38 pm

Hello,
Your setup looks very smooth, however, I got one little question: what are you using as a target for backup to tape - backup job or repository?

Also, avoid using compression both at backup to disk job (default level) and backup to tape job. I prefer Veeam B&R compression, but if you need to unload the backup server, you can use hardware compression on tape library instead.
Dima P.
Veeam Software
 
Posts: 6242
Liked: 440 times
Joined: Mon Feb 04, 2013 2:07 pm
Location: SPb
Full Name: Dmitry Popov

Re: Backup Rotation Question

Veeam Logoby Dima P. » Mon Feb 10, 2014 8:42 pm

Hello Martin,
Please, review the ekisner post above. Thank you.
Dima P.
Veeam Software
 
Posts: 6242
Liked: 440 times
Joined: Mon Feb 04, 2013 2:07 pm
Location: SPb
Full Name: Dmitry Popov

Re: Backup Rotation Question

Veeam Logoby v.Eremin » Tue Feb 11, 2014 9:16 am

Currently, the GFS rotation scheme can be achieved with the certain workaround. It looks pretty similar to what you're going to implement.

However, be aware, that the backup to tape jobs don't have any priority over each other. In other words, on the last Friday two backup to tape jobs (weekly/monthly) will be executed and corresponding full backup will be copied twice.

Thanks.
v.Eremin
Veeam Software
 
Posts: 13266
Liked: 968 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin

Re: Backup Rotation Question

Veeam Logoby ekisner » Tue Feb 11, 2014 4:12 pm

Thanks for the workaround. I may submit a feature request for job priorities ;) I may not though, it's trivial for me to add one more week's worth of weekly tapes to allow for both jobs to run, and then I've just got one more copy of backups... can never have too many of those!

d.popov, I use each individual D2D job as a target, rather than the repository. Should I be using the repository or will it trigger the same?
ekisner
Expert
 
Posts: 131
Liked: 31 times
Joined: Thu Jul 26, 2012 8:04 pm
Full Name: Erik Kisner

Re: Backup Rotation Question

Veeam Logoby v.Eremin » Tue Feb 11, 2014 4:30 pm

Thanks for the workaround. I may submit a feature request for job priorities ;)

As mentioned in the adjacent thread, tape GFS rotation is already in our feature list.

Or will it trigger the same?

If you're using individual job as a source for backup to tape job, the backup to tape job will sit in the idle state and wait until the "source" backup job creates a new restore point.

In case of repository being a source, whatever restore point appears in the given repository, the backup to tape job will be started immediately. In other words, there is no direct connection between particular backup and backup to tape job, because various backup jobs can initiate the start of backup job.

Thanks.
v.Eremin
Veeam Software
 
Posts: 13266
Liked: 968 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin

[MERGED] Backup to tape recommened setup case#00518195

Veeam Logoby Luka » Tue Feb 25, 2014 10:33 am

Hi

I hope you can advise me on best setup for tapes backups
Currently we have 2 veeam backup disk jobs set: critical servers and standard servers. Critical servers are set to hold 71 restore points (full backups on Fridays) and incremental on working days, Standard servers are set to 7 restore points. We are happy with all the above

On the top of disk backups we need tape backups as per below:

- Yearly - last Friday of the year kept (indefinitely)
- Monthly - full backup at the last Friday of the month ( overwritten yearly)
- Weekly - full backups at Fridays (overwritten every 4 weeks)
- Daily - incremental backups (Monday to Thursday)

Our original ideal was to set a tape job that looks at the respiratory where disk backups are written to with a setting "write only when a new backup file appears". It worked for several weeks, but once we reached 71 restore points on the disk backup we noticed that tape backups started writing more than just last files to tape i.e 3 weeks old vbk files. Obviously it make our solution not working properly due to lack of space on our tapes. The retention period on media pool for offsite tape was set to 7 days. I was advised by Veeam teem to set tapes jobs using a backup copy job first, but still not sure on how to approach this. Can you advise something, so we could keep our tape backup routine

Regards
Luka
Luka
Influencer
 
Posts: 20
Liked: never
Joined: Fri Feb 21, 2014 12:27 pm

Re: Backup Rotation Question

Veeam Logoby foggy » Tue Feb 25, 2014 10:44 am

Luka, please review the thread above for the available options on implementing GFS rotation for tapes.
foggy
Veeam Software
 
Posts: 14742
Liked: 1079 times
Joined: Mon Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson

Re: Backup Rotation Question

Veeam Logoby Luka » Tue Feb 25, 2014 11:31 am

Thanks foggy

I have read it through and some good ideas there, so I have set as above 3 medial pools: daily (retention 1 week), weekly(retention 4 weeks) , monthly(retention 12months)
In my case our critical server backup to disk job has 71 restore points, so how will I set the tape job to write to tape only last vbk files for weekly backups and last incremental backups to daily tape backups

Luka
Luka
Influencer
 
Posts: 20
Liked: never
Joined: Fri Feb 21, 2014 12:27 pm

Re: Backup Rotation Question

Veeam Logoby v.Eremin » Tue Feb 25, 2014 12:03 pm

What backup mode you're using? Forward or Reversed incremental one? Thanks.
v.Eremin
Veeam Software
 
Posts: 13266
Liked: 968 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin

Re: Backup Rotation Question

Veeam Logoby Luka » Tue Feb 25, 2014 12:11 pm

I am using Forward incremental. I also created a backup copy job that synchronise the job with 71 restore points and keeps only 7 restore points in the copy job location
Luka
Influencer
 
Posts: 20
Liked: never
Joined: Fri Feb 21, 2014 12:27 pm

Re: Backup Rotation Question

Veeam Logoby v.Eremin » Tue Feb 25, 2014 1:13 pm

Then, you can create 3 different file to tape jobs, pointing them to three different media pools. Also, be aware, to specify file mask (.vbk), so that, only full backups are processed by file to tape jobs. This way, you will be able to achieve GFS retention scheme.

Thanks.
v.Eremin
Veeam Software
 
Posts: 13266
Liked: 968 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin

Re: Backup Rotation Question

Veeam Logoby Luka » Tue Feb 25, 2014 1:59 pm

Thanks Vladimir

How will the Backup to tape job know which .vbk file is the latest one? Is this done through PS script? What the content of the script should be and how I execute it
How to deal with forward incremental files? We have incremental backups taken twice day, but daily tapes backups are taken only once a day?

I was also considering the following scenario:

a)initial backup to disk with 71 restore points of our critical servers will stay as it is
b) I will create backup copy job for the "71restore points" job to disk and set retention period 14 restore points (that should keep 1 vbk file and 13 vib files at one time) - is that correct?
c) I will set 3 media pools as stated originally (daily, weekly,monthly)
d) I will create 3 tape jobs for daily, weekly and monthly backups setting a source as "backup copy job with 14restore points" respiratory. I will set the tape backup jobs with run the job setting "as new backup file appear"
That way I should have a full backups at the weekends and incremental backups every working day

Would that be a viable option
Sorry I am not very advanced in Veeam, so apologies for any "silly" questions

Luka
Luka
Influencer
 
Posts: 20
Liked: never
Joined: Fri Feb 21, 2014 12:27 pm

Re: Backup Rotation Question

Veeam Logoby v.Eremin » Tue Feb 25, 2014 2:11 pm

First of all, it's not possible to select backup copy job as a source for backup to tape job.

So, if you want to archive files produced by backup copy job, the only option you have is to use file to tape jobs.

With backup copy job in place, you can choose it as a source for file to tape jobs. Backup copy job stores only one full backup which, then, will be processed by corresponding tape jobs.

Thanks.
v.Eremin
Veeam Software
 
Posts: 13266
Liked: 968 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin

Next

Return to Tape



Who is online

Users browsing this forum: No registered users and 6 guests