Tape weekly/monthly jobs

Everything about backing up to tape

Tape weekly/monthly jobs

Veeam Logoby Geniek.73 » Mon Mar 06, 2017 7:39 am

Hi,

have a question regarding weekly and monthly backup to tape jobs. Currently for some reasons we do not use GFS media pool for tape backups. I've created separate weekly, monthly & yearly media pools with different retention. We have scheduled weekly jobs to run every Friday and monthly jobs to run on first Friday of the month. Unfortunately there is difference in job logic compared to BE. On first Friday both tape jobs starts on the same time. in BE by default less frequent job (monthly vs weekly or yearly vs monthly (weekly)) automatically dismissed more frequent one. in Veeam both jobs start at the same time to backup data to different media pools. Is there any possibility to control that from within Veeam console?
I found some old post with similar problem tape-f29/daily-weekly-monthly-yearly-backup-scheduling-t23026.html but do you know if the only option is to disable weekly tape jobs via task scheduler on first Friday and enable them later on?
Geniek.73
Novice
 
Posts: 6
Liked: never
Joined: Fri Sep 16, 2016 6:43 am
Full Name: Dariusz Tyka

Re: Tape weekly/monthly jobs

Veeam Logoby Shestakov » Mon Mar 06, 2017 10:50 am

Hi Geniek.73,
since you don`t leverage tape GFS but just create 2 media pools called "Weekly" and "Monthly" VBR treats them alike.
If you want to avoid job overlapping, I would play with job schedule as that`s the best way to prioritize jobs.
Thanks!
Shestakov
Veeam Software
 
Posts: 4842
Liked: 393 times
Joined: Wed May 21, 2014 11:03 am
Location: Saint Petersburg
Full Name: Nikita Shestakov

Re: Tape weekly/monthly jobs

Veeam Logoby Geniek.73 » Mon Mar 06, 2017 11:19 am

Hi Shestakov,

I'm not concerned about job overlapping but rather about weekly job running also when only monthly one shoud be executed. I don't want the same data to be duplicated to weekly & monthly tapes. The same situation will be for yearly backup2tape job when also weekly & monthly job will be exectuted at the same time.
Geniek.73
Novice
 
Posts: 6
Liked: never
Joined: Fri Sep 16, 2016 6:43 am
Full Name: Dariusz Tyka

Re: Tape weekly/monthly jobs

Veeam Logoby Shestakov » Mon Mar 06, 2017 11:23 am

Well, GFS media pool was created to address this and other issues.
So instead of creating tricky workarounds, why not to just use GFS media pool?
Shestakov
Veeam Software
 
Posts: 4842
Liked: 393 times
Joined: Wed May 21, 2014 11:03 am
Location: Saint Petersburg
Full Name: Nikita Shestakov

Re: Tape weekly/monthly jobs

Veeam Logoby Geniek.73 » Mon Mar 06, 2017 12:47 pm

But GFS pool doesn't support incremental jobs. Also backup2tape schedule is better controlled using standard media pools (at least for me :-))
So I assume there is no option to do it in standard way besides tricky one?
Geniek.73
Novice
 
Posts: 6
Liked: never
Joined: Fri Sep 16, 2016 6:43 am
Full Name: Dariusz Tyka

Re: Tape weekly/monthly jobs

Veeam Logoby Shestakov » Mon Mar 06, 2017 4:19 pm

You may schedule a script to disable weekly backup when it`s supposed to run with the monthly one and enable it back next day.
But I would use GFS Media pool for historical backups and simple media pool for daily backups instead.
Thanks!
Shestakov
Veeam Software
 
Posts: 4842
Liked: 393 times
Joined: Wed May 21, 2014 11:03 am
Location: Saint Petersburg
Full Name: Nikita Shestakov

Re: Tape weekly/monthly jobs

Veeam Logoby Geniek.73 » Wed Mar 08, 2017 3:04 pm

Thx for answer. I need to rethink how to best approach this. For now I've made a script to disable weekly jobs when monthly ones needs to be executed.
Geniek.73
Novice
 
Posts: 6
Liked: never
Joined: Fri Sep 16, 2016 6:43 am
Full Name: Dariusz Tyka

Re: Tape weekly/monthly jobs

Veeam Logoby Shestakov » Wed Mar 08, 2017 7:21 pm

You are welcome.
Your plan makes sense. Incremental backups in GFS Media pool option is in our road map by the way :)
Shestakov
Veeam Software
 
Posts: 4842
Liked: 393 times
Joined: Wed May 21, 2014 11:03 am
Location: Saint Petersburg
Full Name: Nikita Shestakov

Re: Tape weekly/monthly jobs

Veeam Logoby ChrisJ0907 » Tue Mar 28, 2017 4:29 am

I've done this, but after my Monthly job has ran, my daily incremental job is now doing a full backup too. Why?? when I've got the full backups in the monthly job, which ran on Sunday? Why can't I have a job with no full and only incrementals? I'm not using a GFS Media Pool, just Simple Media Pools for Daily/Weekly/Monthly
ChrisJ0907
Influencer
 
Posts: 11
Liked: 1 time
Joined: Thu Jun 16, 2016 10:55 pm
Full Name: Chris James

Re: Tape weekly/monthly jobs

Veeam Logoby v.Eremin » Tue Mar 28, 2017 10:25 am

This is by design. Two jobs act independently on each other - in other words, one knows nothing about what's been archived by the other.
v.Eremin
Veeam Software
 
Posts: 13255
Liked: 968 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin

Re: Tape weekly/monthly jobs

Veeam Logoby ChrisJ0907 » Tue Mar 28, 2017 11:06 am

I got that when the full started again. I think I'm getting it now on how to schedule this.

What I've done is create 4 scripts to enable and disable the weekly and monthly jobs. So for instance, my full backup runs on a Sunday at noon, and he monthly is on the last Sunday of each month.

I've created 3 Media Pools Daily, Weekly and Monthly. Created two jobs Weekly and Monthly, each with Incremental backup enabled and using the Daily Media Pool. On the first Sunday of each month, I have a scheduled task to enable weekly tape job, and then another to disable the monthly tape job. The weekly runs until the last Sunday, when the monthly job is enabled, and weekly is disabled. Full runs on the last Sunday, and I leave the monthly job enabled for a week, writing the incremental jobs to the Daily Media Pool, that way I don't duplicate the full backup.

Does that make more sense?
ChrisJ0907
Influencer
 
Posts: 11
Liked: 1 time
Joined: Thu Jun 16, 2016 10:55 pm
Full Name: Chris James

Re: Tape weekly/monthly jobs

Veeam Logoby v.Eremin » Thu Mar 30, 2017 2:12 pm

You seem to have answered your requirements. Nevertheless, I still believe that usage of GFS media pools (specifically designed for similar scenarios) would less painful. Can you tell us the reasons why GFS media pool is no go for you? Thanks.
v.Eremin
Veeam Software
 
Posts: 13255
Liked: 968 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin

Re: Tape weekly/monthly jobs

Veeam Logoby ChrisJ0907 » Fri Mar 31, 2017 12:37 pm

For myself, it's just that I need to backup the incremental files to tape too. I can't seem to do that with GFS, but would happily use GFS if/when it's possible :)
ChrisJ0907
Influencer
 
Posts: 11
Liked: 1 time
Joined: Thu Jun 16, 2016 10:55 pm
Full Name: Chris James

Re: Tape weekly/monthly jobs

Veeam Logoby v.Eremin » Fri Mar 31, 2017 1:20 pm

We're planning to add it down the road. But even if you stick to current GFS mechanism and couple it with additional daily job to cope with increments, your life would be much easier in my opinion (3 Media Pools as well as complex scheduling scripts wouldn't be requried). Thanks.
v.Eremin
Veeam Software
 
Posts: 13255
Liked: 968 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin

Re: Tape weekly/monthly jobs

Veeam Logoby ChrisJ0907 » Mon Apr 03, 2017 3:23 am

Call me stupid, but I don't see how I make that work, especially if tape jobs are not aware of each other and what is backed up, which means I'd have the full job duplicated onto another set of tapes. I do an active full each week.
ChrisJ0907
Influencer
 
Posts: 11
Liked: 1 time
Joined: Thu Jun 16, 2016 10:55 pm
Full Name: Chris James

Next

Return to Tape



Who is online

Users browsing this forum: No registered users and 11 guests