From: <ma...@fr...> - 2010-06-23 14:59:58
|
Hi, We backup every user PC with bacula 5.0.2. For each user, we configure a different mysql database and a named console with a list of restricted ACL commands list (http://www.bacula.org/5.0.x-manuals/en/main/main/Configuring_Director.html#SECTION0018180000000000000000). Example : Console { Name = CONSOLEpomartin Password = "......" JobACL = JOBpomartin,JOB-RESTORE-pomartin ClientACL = po-martin-fd,bacula-fd StorageACL = FILEpomartin ScheduleACL = PLANIFpomartin PoolACL = "POOL-Full-pomartin","POOL-Diff-pomartin","POOL-Incr-pomartin" FileSetACL = LOTpomartin CatalogACL = CATpomartin CommandACL = *all* WhereACL= "c:/temp","e:/temp","/tmp" This named console is used by Bat from the user PC. Example of bat.conf : Director { Name = bacula-dir DIRport = 9101 address = bacula Password="......" } Console { Name = CONSOLEpomartin Password="....." } When Bat starts, it displays four error messages "You must specify a use catalog-name command before continuing", "Could not find catalog resources". After entering the use command, the connection with the catalog/database is OK. For a more comprehensive usage by the users who doesn't understand these error messages, would it be possible that bat connects directly to the catalog/database configured for this user/PC ? Could Bat use the CatalogACL directive specified in the Console Resource of the director ? Or, would it be possible to add an optional "Catalog directive" in the bat.conf ? Thank you Michel |