Bacula-users

[Bacula-users] copy jobs and scratch pools

2010-05-06 07:40:03
Subject: [Bacula-users] copy jobs and scratch pools
From: C.Keschnat AT internet-mit-iQ DOT de
To: bacula-users AT lists.sourceforge DOT net
Date: Thu, 6 May 2010 13:10:34 +0200
Hi,
I'm having a problem copying jobs. I labeled a new volume in the pool "DailyScratch" with the label command. Then I ran a job using the pool "ThursdayOD". As expected, bacula took the volume from the Scratch Pool and moved it to the other pool. Backup ran without errors, "list volumes" shows that the volume is in the "ThursdayOD" pool.

But now when I start the copyjob I just get an error:
06-Mai 13:05 bacula-dir JobId 0: Fatal error: No Next Pool specification found in Pool "DailyScratch".

It wouldn't make much sense to define the Next Pool in the Scratch Pool as that will be used by several pools. I would have expected bacula to use the Next Pool directive from the "ThursdayOD" configuration as that is where the volume is in. Is this a bug or am I missing something?

Relevant configuration:

JobDefs {
    Name = "CopyDefault"
    Type = Copy
    Messages = Standard
    Storage = "usbchanger2"
    Client = None
    FileSet = None
    Selection Type = PoolUncopiedJobs
    Maximum Concurrent Jobs = 10
    SpoolData = No
    Allow Duplicate Jobs = Yes
    Cancel Queued Duplicates = No
    Cancel Running Duplicates = No
    Priority = 11
}

Pool {
  Name = DailyScratch
  Pool Type = Backup
}

Pool {
    Name = Thursday
    Pool Type = Backup
    Storage = usbchanger1
    Recycle = yes
    AutoPrune = yes
    Volume Retention = 5 days
    Maximum Volume Bytes = 4608M
}

Pool {
    Name = ThursdayOD
    Pool Type = Backup
    Storage = File
    Recycle = yes
    AutoPrune = yes
    Volume Retention = 12 hours
    Maximum Volume Bytes = 4608M
    ScratchPool = DailyScratch
    Recycle Pool = DailyScratch
    NextPool = Thursday
}

Chris
------------------------------------------------------------------------------
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
<Prev in Thread] Current Thread [Next in Thread>