Bacula-users

[Bacula-users] Problems with dbcheck

2010-07-12 07:19:22
Subject: [Bacula-users] Problems with dbcheck
From: Alex Huth <a.huth AT tmr DOT net>
To: bacula-users AT lists.sourceforge DOT net
Date: Mon, 12 Jul 2010 13:19:31 +0200
Hello!

I am using bacula on SLES 11 and getting errors doing backup of the
catalog:

12-Jul 13:02 dfs.ewmr.base-dir JobId 1: shell command: run BeforeJob
"/usr/lib64/bacula/make_catalog_backup.pl MyCatalog"
12-Jul 13:02 dfs.ewmr.base-dir JobId 1: BeforeJob: Can't find your
catalog (MyCatalog) in director configuration
12-Jul 13:02 dfs.ewmr.base-dir JobId 1: Error: Runscript: BeforeJob
returned non-zero status=1. ERR=Child exited with code 1

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

I am using the default definitions of catalog in the conf:

# Backup the catalog database (after the nightly save)
Job {
   Name = "BackupCatalog"
   JobDefs = "DefaultJob"
   Level = Full
   FileSet="Catalog"
   Schedule = "WeeklyCycleAfterBackup"
   # This creates an ASCII copy of the catalog
   # Arguments to make_catalog_backup.pl are:
   #  make_catalog_backup.pl <catalog-name>
   RunBeforeJob = "/usr/lib64/bacula/make_catalog_backup.pl MyCatalog"
   # This deletes the copy of the catalog
   RunAfterJob = "/usr/lib64/bacula/delete_catalog_backup"
   Write Bootstrap = "/var/lib/bacula/working/%n.bsr"
   Priority = 11                   # run after main backup
  }
------------------------------

# Generic catalog service
Catalog {
   Name = MyCatalog
   # Uncomment the following line if you want the dbi driver
   # dbdriver = "dbi:sqlite3"; dbaddress = 127.0.0.1; dbport =  
     dbname = "bacula"; dbuser = "bacula"; dbpassword = ""
     }

Can someone help with that error?

Greetings

Alex

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
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>