Discussions specific to tape backups
Post Reply
Reklov
Enthusiast
Posts: 53
Liked: 1 time
Joined: Aug 28, 2014 12:16 pm
Contact:

What about the 5th Saturday ?

Post by Reklov » 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?

v.Eremin
Veeam Software
Posts: 15077
Liked: 1133 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: What about the 5th Saturday ?

Post by v.Eremin » Apr 16, 2015 1:42 pm

Before we start discussing workarounds, can you tell what's the reason of using such peculiar approach?

Reklov
Enthusiast
Posts: 53
Liked: 1 time
Joined: Aug 28, 2014 12:16 pm
Contact:

Re: What about the 5th Saturday ?

Post by Reklov » 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.

v.Eremin
Veeam Software
Posts: 15077
Liked: 1133 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: What about the 5th Saturday ?

Post by v.Eremin » 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?

Reklov
Enthusiast
Posts: 53
Liked: 1 time
Joined: Aug 28, 2014 12:16 pm
Contact:

Re: What about the 5th Saturday ?

Post by Reklov » 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. ).

v.Eremin
Veeam Software
Posts: 15077
Liked: 1133 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: What about the 5th Saturday ?

Post by v.Eremin » 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.

Reklov
Enthusiast
Posts: 53
Liked: 1 time
Joined: Aug 28, 2014 12:16 pm
Contact:

Re: What about the 5th Saturday ?

Post by Reklov » 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: 53
Liked: 1 time
Joined: Aug 28, 2014 12:16 pm
Contact:

Re: What about the 5th Saturday ?

Post by Reklov » 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.

g.vankuilenburg
Lurker
Posts: 2
Liked: never
Joined: Apr 14, 2015 8:17 am
Contact:

Re: What about the 5th Saturday ?

Post by g.vankuilenburg » 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?

v.Eremin
Veeam Software
Posts: 15077
Liked: 1133 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: What about the 5th Saturday ?

Post by v.Eremin » 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.

elvbr
Lurker
Posts: 1
Liked: never
Joined: Jul 12, 2018 7:16 am
Full Name: Veeam System
Contact:

[MERGED] Fifth Week of the month - Case # 03096180

Post by elvbr » Jul 12, 2018 7:59 am

Hi.
I am using VB&R for several years now, but facing an annoying issue with my Backup to Tape job.
My Backup to Tape schedule:
* Every Friday - Weekly Backup
* 1st Friday of every month - Monthly Backup
* 1st Friday of January - Yearly Backup

Each of the above media sets has a different retention period accordingly.

My first configuration was as follows:
* Backup to Tape Week_2 - running every Second Friday
* Backup to Tape Week_3 - running every Third Friday
* Backup to Tape Week_4 - running every Fourth Friday

*** and here comes the problem ***
* Backup to Tape Week_5 - which should run only in months where there is a 5th Friday - I configured to run every "Last Friday" since there is no option for "Fifth".

This would cause this job to run every Fourth Friday as well, since on most months the "Last" Friday IS the "Fourth".

Therefore, I would appreciate it very much if there was a way to introduce a "Fifth" week option to the VB&R scheduler.

Thanks.

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

Re: What about the 5th Saturday ?

Post by foggy » Jul 12, 2018 4:16 pm

Hi, thanks for the request. Meanwhile you can address this with the help of Windows Scheduler.

Post Reply

Who is online

Users browsing this forum: No registered users and 10 guests