Hi,

Ryan Novosielski wrote:

This one seems wrong to me, but then again my copy has been acting a little funny anyway (things that are deleted sometimes require a restart of bacula, not just a reload, to disappear)... anyways, observe the following:

Job {
  Name = "NJMSCatalyst"
...
  Pool = Default
  Full Backup Pool = catalyst_FULL
  Differential Backup Pool = catalyst_DELTA
...
}

Make special note of the Differential Pool -- this DOES work for the actual backup. However:

Scheduled Jobs:
Level          Type     Pri  Scheduled          Name               Volume
===================================================================================
Differential   Backup    10  25-Jul-05 23:00    NJMSCatalyst helios-TEST
====

...the volume being "helios-TEST", which is located in the "Default" pool, not "catalyst_DELTA." Like I said, the right tape will be written to, but why is it wrong here? It knows it's a differential in that output, so it should know what to do WRT pools.

Unfortunately, this is not the case.
The status dir command seems not to consider things like actual job level and job overrides. With overrides in the schedule you have even funnier results... The director seems to only consider one pool (or something like that). For example
Scheduled Jobs:
Level          Type     Pri  Scheduled          Name               Volume
===================================================================================
Incremental    Backup    10  27-Jul-05 08:25    ElfSys             DLT-IV-0037
^^^ this one will go to another pool with tapes named DAT-120-xxxx
Incremental    Backup    10  27-Jul-05 08:25    Ork                *unknown*
^^^ this uses the same job settings as the ona above and will go to the same tape.
Incremental    Backup    10  27-Jul-05 08:25    ElfHome            DLT-IV-0037
^^^ ... still the same...
Full           Backup    10  27-Jul-05 08:30    BackupMail         *unknown*
^^^ this job only uses one pool and one storage device at all, and the tape it will go to is currently loaded & mounted.
Full           Backup   100  27-Jul-05 08:32    BackupCatalog      DAT-120-0002
^^^ funnily, this one is correct - although I'm working with job overrides in the schedule to put catalog backups on different media types.
Admin 999 27-Jul-05 09:00 Shutdown ====

This is only part of the output...

Anyway, I simply learned to live with this behaviour - I think the problem is the compexity when determining which volume to use. There are many places where the pool or storage (and thus the volume) can be changed, and some of them are dependend on pruning.

Unfortunately, this makes it impossible to know which volumes bacula will need next - I use my tapes sequentially :-)

Arno

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


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to