On 05/21/2011 10:38 AM, J. Echter wrote:
> Am 20.05.2011 19:34, schrieb Brian Blater:
>>    RunBeforeJob = "/etc/bacula/scripts/make_catalog_backup.pl MyCatalog"
> myself i use the make_catalog_backup script without .pl maybe it has 
> something to do with this...
> 

I've been using automysqlbackup to do this instead. It's got some nicer
features.

Job {
  Name = "BackupCatalog"
  Client = bacula.scrubbed.com-fd
  FileSet = Catalog
  JobDefs = "DefaultJob"
  Priority = 98
  Client Run Before Job = "/etc/bacula/scripts/automysqlbackup.sh"
  #RunAfterJob  = "/home/kern/bacula/bin/delete_catalog_backup"
  RunScript {
   RunsWhen=After
   RunsOnClient=No
   Console = "purge volume action=truncate allpools storage=bacula-sd-file"
  }
}

FileSet {
  Name = Catalog
  Include {
    Options {
      signature=MD5
    }
    File = /data/catalog/latest
  }
}

Thanks,
Mark

------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to