a known Pool Type is required,

Pool {
  Name = Scratch
}

> [EMAIL PROTECTED] conf.d]$ ../bacula-ctl-dir start
> Starting the Bacula Director daemon
> 08-Feb 21:14 bacula-dir: ERROR TERMINATION at dird_conf.c:1199
> pooltype item is required in pool resource, but not found.


next try:

Pool {
  Name = Scratch
  Pool Type = eeek
}

result:
> Starting the Bacula Director daemon
> 08-Feb 21:16 bacula-dir:  Fatal error: sql_create.c:207 sql_create.c:207 
> insert INSERT INTO Pool 
> (Name,NumVols,MaxVols,UseOnce,UseCatalog,AcceptAnyVolume,AutoPrune,Recycle,VolRetention,VolUseDuration,MaxVolJobs,MaxVolFiles,MaxVolBytes,PoolType,LabelType,LabelFormat)
>  VALUES ('Scratch',0,0,0,1,0,1,1,31536000,0,0,0,0,'eek',0,'*') failed:
> ERROR:  new row for relation "pool" violates check constraint 
> "pool_pooltype_check"
> 
> 08-Feb 21:16 bacula-dir: sql_create.c:207 INSERT INTO Pool 
> (Name,NumVols,MaxVols,UseOnce,UseCatalog,AcceptAnyVolume,AutoPrune,Recycle,VolRetention,VolUseDuration,MaxVolJobs,MaxVolFiles,MaxVolBytes,PoolType,LabelType,LabelFormat)
>  VALUES ('Scratch',0,0,0,1,0,1,1,31536000,0,0,0,0,'eek',0,'*')
> 08-Feb 21:16 bacula-dir:  Fatal error: sql_create.c:207 sql_create.c:207 
> insert INSERT INTO Pool 
> (Name,NumVols,MaxVols,UseOnce,UseCatalog,AcceptAnyVolume,AutoPrune,Recycle,VolRetention,VolUseDuration,MaxVolJobs,MaxVolFiles,MaxVolBytes,PoolType,LabelType,LabelFormat)
>  VALUES ('Scratch',0,0,0,1,0,1,1,31536000,0,0,0,0,'eek',0,'*') failed:
> ERROR:  new row for relation "pool" violates check constraint 
> "pool_pooltype_check"
> 
> 08-Feb 21:16 bacula-dir: sql_create.c:207 INSERT INTO Pool 
> (Name,NumVols,MaxVols,UseOnce,UseCatalog,AcceptAnyVolume,AutoPrune,Recycle,VolRetention,VolUseDuration,MaxVolJobs,MaxVolFiles,MaxVolBytes,PoolType,LabelType,LabelFormat)
>  VALUES ('Scratch',0,0,0,1,0,1,1,31536000,0,0,0,0,'eek',0,'*')

....


Brian Debelius schrieb:
> John Drescher wrote:
>> On 2/8/07, Brian Debelius <[EMAIL PROTECTED]> wrote:
>>> Hello,
>>>
>>> Would someone please post you configuration for a Scratch pool?
>>>
>> Simply create a pool named Scratch and add tapes to it. Bacula
>> automatically will move tapes from the Scratch pool when it needs a
>> tape for a pool and there are no appendable tapes left in that pool.
>> For my autochanger when I add some new tapes I run label barcodes and
>> set the destinaton pool to be the scratch pool. Then bacula finds the
>> unlabeled tapes (I still have labeled ones in the changer) and labels
>> all of them and sends them to the Scratch pool.
>>
>> John
> So just this? and no other options?
> 
> Pool {
>   Name = "Scratch"
> }
> 
> 
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier.
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users

-- 
IC3S Information, Computer und Solartechnik AG
Baekerbarg 6, 22889 Tangstedt, Germany

Telefon    +49.4109.555.121
Telefax    +49.4109.555.57
E-Mail     [EMAIL PROTECTED]
Web        http://www.ic3s.de/

Vorstand: Jan Behrmann (Vorsitzender), Stefan Fehlauer
Aufsichtsrat: Sven Niklasson (Vorsitzender)
Dresdner Bank (200 800 00), Kto. 0123 9582 00
Commerzbank (200 400 00), Kto. 8540 288
Amtsgericht Kiel HRB 7590
UST.IdNr. DE184532766

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to