Hi,

On 6/12/2006 10:40 AM, Robert Wirth wrote:
> Hi!
> 
> I've got two LTO-3 drives and with one autochanger device.  Backups of 
> dozends of clients into several pools works well, in general.  My Bacula
> version is 1.38.7.
> 
> There remains one annoying problem: 
> 
> I've defined a pool with two tapes for daily snapshot backups of 
> some data of temporary interest from several clients.  
> For simplicity, all snapshot jobs are defined identically. 
> As a consequence, they all have the same start time.
>   
> The idea is, that Bacula uses the first tape, until it's full,
> then continues with the second tape. 
> The retention periods are choosed in a way that, when the second 
> tape will be completed (Full, Used etc), all data on the first tape 
> will be out of time, thus the first tape can be recycled automatically.  
> And the other way round...
> 
> But, good idea -- bad conversion:
> 
> Bacula uses the tapes in an arbitrary order.  Some day, only
> one tape is used.  Another day, both tapes are used.  As a 
> consequence, when tape recycling is needed some day, both tapes 
> will contain actual backup data.  

Difficult question. "Prefer Mounted Volumes" might be one way to solve 
that, but I suppose you already use that setting (as it's the default).

The way I'd try to solve this is by using (at least) one more volume 
than you have drives that could mount that type of media.

Of course you might also try setting different Media Types for the 
drives but that will make the normal setup much more complicated.

Finally, it might be worth a try to select one distinct drive for these 
backups but I don't know if this works with normal autochanger operations.

Arno


> F.i. have a look at the actual situation (the jobs start daily at 20:05 pm,
> using the same Schedule and JobDefs)
> 
> 
> Pool: Snapshot
> +---------+-----+-----------------+----------+-----+---------------------+
> | MediaId | ... | VolBytes        | VolFiles | ... | LastWritten         |
> +---------+-----+-----------+-----------------+----------+-----+---------+
> |      54 | ... | 497,058,209,311 |      520 | ... | 2006-06-09 20:14:29 |
> |      86 | ... | 110,145,463,630 |      115 | ... | 2006-06-09 20:19:40 |
> +---------+-----+-----------------+----------+-----+---------------------+
> 
> You can see: Tape 54 (the first in pool) is used mostly, but not exclusively,
> although the tape is still in Append state.
> 
> 
> I can't find a hint whether/how I can Bacula instruct to use the volumes 
> of a pool consecutively.  I'd expect that this would be the default 
> behaviour, but, obviously, it's not.  
> 
> Is there any solution with Bacula?
> 
> Best regards,
> 
>       Robert
> 
> --------------------------------------------------------
> ++ German Research Center for Artificial Intelligence ++
> --------------------------------------------------------
> Robert Wirth, Stuhlsatzenhausweg 3, D-66123 Saarbruecken
> @office: +49-681-302-5078/5572 ++ @fax: +49-681-302-5341 
> mailto:[EMAIL PROTECTED] ++ http://www.dfki.de/~wirth
> --------------------------------------------------------
> 
> 
> 
> 
> 
> _______________________________________________
> Bacula-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bacula-users
> 

-- 
IT-Service Lehmann                    [EMAIL PROTECTED]
Arno Lehmann                  http://www.its-lehmann.de


_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to