What about the 5th Saturday ?

Everything about backing up to tape

What about the 5th Saturday ?

Veeam Logoby Reklov » Thu Apr 16, 2015 7:20 am

Hi,

for a better handling tape I have five weekly backup media pools created (Week_01 ... Week_05). In addition I have created 5 Tape jobs that relate the tapes only from the assigned pool.
The jobs always run (first, second, third, fourth, last) Saturday. As long as there are five Saturdays, that should work. But if there are only four Saturdays, then I have a collision with the fourth and last job.
For the moment, I do not know how to prevent from it. Unfortunately, there is no calendar for planning in Veeam :( and the calendar on the Windows Task Scheduler does not show any day name (PowerShell script for fifth job in four Saturdays necessary to disable), which makes planning cumbersome.
Do you have any idea?
Reklov
Enthusiast
 
Posts: 38
Liked: 1 time
Joined: Thu Aug 28, 2014 12:16 pm

Re: What about the 5th Saturday ?

Veeam Logoby v.Eremin » Thu Apr 16, 2015 1:42 pm

Before we start discussing workarounds, can you tell what's the reason of using such peculiar approach?
v.Eremin
Veeam Software
 
Posts: 13266
Liked: 968 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin

Re: What about the 5th Saturday ?

Veeam Logoby Reklov » Fri Apr 17, 2015 6:30 am

If I'll work with only one weekly Tapejob and only one weekly mediapool, there is the possibility that tapes are overwritten, which should not be overwritten (retention too short, too long retention, Tape Errors ...).
Working with multiple jobs and pools ensures that only the designated Tapes are used.
Reklov
Enthusiast
 
Posts: 38
Liked: 1 time
Joined: Thu Aug 28, 2014 12:16 pm

Re: What about the 5th Saturday ?

Veeam Logoby v.Eremin » Fri Apr 17, 2015 9:19 am

Providing that both media set creation and retention settings are specified correctly, tape job should not misbehave and overwrite tapes that it is not supposed to. May be you can write your requirements in regards to tape job and we will work towards setting appropriate options for one job, instead for multiple ones?
v.Eremin
Veeam Software
 
Posts: 13266
Liked: 968 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin

Re: What about the 5th Saturday ?

Veeam Logoby Reklov » Fri Apr 17, 2015 12:08 pm

Well, if everything works fine, I don't need multible Jobs & Pools. But if something went wrong ( Job fails and will be restartet, Tapeerror ...) there is the possibility that Tapes will be recorded that should not be recorded.
I need on every Slot within the Autoloader a named Tape ( e.g. sombody else can change a Tape on Slot 5 without knowing which Tape is on. ).
Reklov
Enthusiast
 
Posts: 38
Liked: 1 time
Joined: Thu Aug 28, 2014 12:16 pm

Re: What about the 5th Saturday ?

Veeam Logoby v.Eremin » Fri Apr 17, 2015 1:08 pm

But if something went wrong ( Job fails and will be restartet, Tapeerror ...) there is the possibility that Tapes will be recorded that should not be recorded.

Forgive me my confusion, but I'm just not sure how having multiple pools helps to avoid that. Media set options, as well as, retention ones work the same in both cases (single pool or multiple pools).

So, while possibility is still there, the multiple pools coupled with multiple tape jobs adds unnecessary complexity.

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

Re: What about the 5th Saturday ?

Veeam Logoby Reklov » Sat Apr 18, 2015 2:58 pm

If you dont't have the expirience from a normal operating site, it will be confusing, but if some of the things above happen ( eg. Week_3 Job ), just only this Pool ( Week_3 ) is affected. No Tapes from other Pools can be overwritten. The Pools will not preventing from failed Jobs, but from writing on Tape_4 ( e.g. it is new, labled as Tape_4, on Slot 4 ), because it is in Pool Week_4 and not in Pool Week_3 or in one common Pool
It is important to operating personal, that on every Slot a defined Tape is mounted.
Reklov
Enthusiast
 
Posts: 38
Liked: 1 time
Joined: Thu Aug 28, 2014 12:16 pm

Re: What about the 5th Saturday ?

Veeam Logoby Reklov » Tue Apr 28, 2015 2:00 pm

Finaly I created one Powershell Script and start this one with the Windows Scheduler on 5th Saturday Months. For me it it more secure to work with more than one Mediapool.

Thanks.
Reklov
Enthusiast
 
Posts: 38
Liked: 1 time
Joined: Thu Aug 28, 2014 12:16 pm

Re: What about the 5th Saturday ?

Veeam Logoby g.vankuilenburg » Wed Feb 24, 2016 1:42 pm

Sorry to resurrect an old thread, but I came across the same issue.

We use a GFS rotation with weekly, monthly and yearly backups and we need to backup both VM's and a couple of directories from physical hosts. Unfortunately, it appears to be impossible to use a GFS media pool for a file to tape backup so we're stuck with creating separate pools and jobs for the weekly, monthly and yearly backups. We've set the yearly jobs for the first Saturday of January and the monthly jobs to the first Saturday of the other months.

However, for the weekly jobs this creates a problem. We can't set them to run each saturday because that would conflict with the monthly and yearly jobs. We can create separate jobs for the second, third and fourth saturdays of the months, but that leaves us one backup short in months with a fifth saturday. If we add a job for the last saturday of the month, it will conflict with the fourth saturday job in months with only four saturdays.

Does anyone have a solution for this, aside from creating a 'last saturday' job, only enable it for the months with five saturdays and update it each year?
g.vankuilenburg
Lurker
 
Posts: 2
Liked: never
Joined: Tue Apr 14, 2015 8:17 am

Re: What about the 5th Saturday ?

Veeam Logoby v.Eremin » Thu Feb 25, 2016 10:05 am

May be a PowerShell script checking whether the executed weekly job conflicts with the monthly one and disabling the former in accordance would be a way to go? Thanks.
v.Eremin
Veeam Software
 
Posts: 13266
Liked: 968 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin


Return to Tape



Who is online

Users browsing this forum: No registered users and 2 guests