On Thursday 05 October 2006 08:14, Kern Sibbald wrote:

> I have just released Bacula BETA 1.39.24.20061002 source and the Win32
> binaries to Source Forge.  This is very likely to be the last beta release
> or next to last release before the official 1.40 production release in the
> second half of November.

Sorry to be a nag... :-/  I just installed 1.39.24 on a windows system and 
brought the director up to current cvs.  I tried a restore and it failed with 
the same insufficient permissions that I have been seeing.  The relevant 
configuration pieces are below.  The error returned is "No authorization. 
Pool "FishNet-Daily".

The problem seems to be that the Pool in the restore-archive job is not being 
overridden.  In the configuration below, FishNet-Daily is the specified Pool.  
The client that I am trying to restore is in a different Pool, Another-Daily.  
If I set the Pool in the restore-archive job to Another-Daily the restore 
works.

Perhaps a second restore Job is needed to specify the different Pool, but that 
is not described in the docs that I have found so far.

-- 

   -- Michael

JobDefs {
  Name = "DefaultJob"
  Type = Backup
  Schedule = "FishNet-Schedule"
  Storage = Q47
  Messages = Standard
  Priority = 10
 SpoolData = yes
}

Job {
  Name = "An-Archive"
  JobDefs = "DefaultJob"
  Type = Backup
  Client = "anotherhost.com"
  FileSet = "An-Archive"
  Messages = Standard
  Pool = Another-Daily
  Storage = Q47
  Schedule = "Another-Schedule"
  Maximum Concurrent Jobs = 20
}

Job {
  Name = "restore-archive"
  Type = Restore
  Client= "somehost.com"
  FileSet = "FishNet-Archive"                  
  Storage = Q47
  Pool = FishNet-Daily    <=== THIS IS NOT BEING OVERRIDDEN
  Messages = Standard
  Where = /backup/bacula/bacula-restores
}

Client {
  Name = "anotherhost.com"
  Address = anotherhost.com
  FDPort = 9102
  Catalog = FishNet-Catalog
  Password = "??????"
  File Retention = 30 days
  Job Retention = 6 months
  AutoPrune = yes
  Maximum Concurrent Jobs = 20
}

Console {
  Name = anotherhost-user
  Password = "??????"
  JobACL = "An-Archive","restore-archive"
  ClientACL = anotherhost.com
  StorageACL = Q47
  ScheduleACL = Another-Schedule
  PoolACL = Another-Monthly
  PoolACL = Another-Weekly
  PoolACL = Another-Daily
  FileSetACL = "An-Archive"
  CatalogACL = "Fishnet-Catalog"
  CommandACL = restore
}

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to