cancel
Showing results for 
Search instead for 
Did you mean: 

Tapeorder in Backupjob

Eric_Urbaniak
Level 3

Hello,

i still have a question regarding the Tapeorder in a Backupjob.

A finished job shows me that this Job takes a brandnew temporaryTape, but there are enough Tapes with enough free space in this Job and a new Tape is still not needed.

How can it be?

Thanks and regards

Eric

3 REPLIES 3

Colin_Weaver
Moderator
Moderator
Employee Accredited Certified

Firstly the setting for use appendable media (In your screenhot) is within a box called "Wenn dieser Auftrag startet"

what this means is if the job writes some data to one tape as an append and fills the remaining space on that first tape that the second tape is no longer using that setting because it is NOT the start of the job any longer (and in fact anything but the first tape used by any job has to be an overwrite operation when a new tape is needed)

There are some other things that could affect you as well:

- If the job in question is set to use a different media set than the one the tape belongs to - that will cause an overwrite request as you cannot put a single tape into 2 media sets and there is a requirement to overwrite if a tape changes media sets.

- if the job in question starts when an earlier job is still using the tape, then even when the earlier job finishes the second job may not be able to use that tape as a busy tape is also not appendable at that moment in time that the available media was first checked. Of course making sure the job is set to start well after the first job finishes (as well as using the same media set and setting the append option) would solve this.

 

 

 

 

 

Thanks for reply and sorry for being late with my answer.

The job is not set to use a different media set and the tapes are still used only from this job. This job only use the tapes in this media set and only one tape at the same time.

I will explain it with the attached image. For example, tape AHK351L6 was created and firstly used at 13th (Diff). The 14th was also an normaly diff backup from the same Backupjob, but the Backup still uses on 14th tape AHK369L6 which was used firstly at 01th. So why did the Backup don´t use on 13th (or better on 2nd and 3rd and ...)  Tape AHK369L6 (with enough free space) until no space is available and why did the backupjob uses a total new Tape instead?

For me it looks like a coincidence.

Colin_Weaver
Moderator
Moderator
Employee Accredited Certified

Hmm ok I have a feeling I knwo what us happening

 

Backup jobs have no memory of whuch tape was used the day before by the same job

 

As such every time a job starts it looks at what is available -  with an append job looking for available appendable tapes. However if there is more than one appendable piece of media available, in the same media set, when the job starts, then it does not base the choice of which tape to use on what the same job ran yesterday or how much space is free on a gven tape. It bases the choice on which of the appendable media was last written to the longest time ago. Which will means that a repetitive job may not choose the same tape to add to the next day.

if you use different media sets for jobs you want to keep on same chain of tapes (even if each media set has the same OPP and AP timings, it wil sort this out.) Nopte: You may have to consider different media sets for any jobs that run in parallel with each other as well if you havemultipel drives in the library.