Bacula-users

Re: [Bacula-users] copy jobs and scratch pools

2010-05-11 04:38:26
Subject: Re: [Bacula-users] copy jobs and scratch pools
From: Norberto Meijome <numardbsd AT gmail DOT com>
To: Admins%INFOQUENZ AT infoquenz DOT de
Date: Tue, 11 May 2010 18:36:07 +1000

2010/5/6 <C.Keschnat AT internet-mit-iq DOT de>
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".



Chris,
which copy job did you run? none is defined below....

 
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




_________________________
{Beto|Norberto|Numard} Meijome

"I detest people who take short­cuts rather than do things right, because they leave shit for the rest of us to clean up."
   PHK
 

------------------------------------------------------------------------------

_______________________________________________
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>