Hi Folks,

I am receiving the above error when I try to run a catalog backup. This 
began when I moved servers, I thought this was probably something I had 
forgotten to do during the move so reinstalled and upgraded to the 
latest 1.38.9. The problem still re-occurs

Stats are

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

Bacula 1.38.9 - director, sd and fd, MySQL 5.0.22
Linux - CentOS 4 Linux darkmeat.lcs 2.6.9-22.ELsmp #1 SMP Sat Oct 8 
19:11:43 CDT 2005 i686 i686 i386 GNU/Linux

I have used a -d400 debug output but cannot for the life of me see why 
this error message occurs.

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

The daemons are all running as root, one can see the mysqldump running 
as root.

[EMAIL PROTECTED] backup]$ ps -ef | grep bacula
root     17907     1  0 19:41 ?        00:00:00 /sbin/bacula-sd -d400 -u 
root -g bacula -v -c /etc/bacula/bacula-sd.conf
root     17917     1  0 19:41 ?        00:00:00 /sbin/bacula-fd -d400 -u 
root -g bacula -v -c /etc/bacula/bacula-fd.conf
root     17926     1  0 19:41 ?        00:00:00 /sbin/bacula-dir -d400 
-u root -g bacula -v -c /etc/bacula/bacula-dir.conf
root     18040 17926  0 19:41 ?        00:00:00 /bin/sh 
/usr/local/bacula/scripts/make_catalog_backup bacula bacula
root     18042 18040 85 19:41 ?        00:04:19 
/usr/local/mysql-5.0.22-custom/bin/mysqldump -u bacula -h mincemeat -f 
--opt --skip-extended-insert bacula

The skip-extended-insert was another attempt to see if I was overflowing 
something.

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

The file appears in the said directory and grows as the SQL is dumped 
into it from the mysqldump process

[EMAIL PROTECTED] backup]$ ls -l /usr/local/bacula/bacula
total 1508736
-rw-r-----  1 root bacula 1543430744 Jun  9 19:48 bacula.sql
[EMAIL PROTECTED] backup]$ ls -l /usr/local/bacula/bacula
total 1535100
-rw-r-----  1 root bacula 1570398808 Jun  9 19:48 bacula.sql
[EMAIL PROTECTED] backup]$

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

But when the fd starts to do its thing, the file is deleted and the 
process terminates with the above error message

09-Jun 19:49 darkmeat-dir: Start Backup JobId 1185, 
Job=BackupCatalog.2006-06-09_19.41.28
09-Jun 19:49 darkmeat-sd: Volume "CAT0006" previously written, moving to 
end of data.
09-Jun 19:49 darkmeat-fd:      Could not stat 
/usr/local/bacula/bacula/bacula.sql: ERR=No such file or directory
09-Jun 19:49 darkmeat-dir: Bacula 1.38.9 (02May06): 09-Jun-2006 19:49:35
  JobId:                  1185
  Job:                    BackupCatalog.2006-06-09_19.41.28
  Backup Level:           Incremental, since=2006-06-09 17:44:41
  Client:                 "mincemeat-fd" i686-pc-linux-gnu,redhat,
  FileSet:                "Catalog" 2006-06-09 08:02:42
  Pool:                   "Default"
  Storage:                "File"
  Scheduled time:         09-Jun-2006 19:41:26
  Start time:             09-Jun-2006 19:49:34
  End time:               09-Jun-2006 19:49:35
  Elapsed time:           1 sec
  Priority:               11
  FD Files Written:       0
  SD Files Written:       0
  FD Bytes Written:       0 (0 B)
  SD Bytes Written:       0 (0 B)
  Rate:                   0.0 KB/s
  Software Compression:   None
  Volume name(s):         CAT0006
  Volume Session Id:      1
  Volume Session Time:    1149847862
  Last Volume Bytes:      2,425 (2.425 KB)
  Non-fatal FD errors:    1
  SD Errors:              0
  FD termination status:  OK
  SD termination status:  OK
  Termination:            Backup OK -- with warnings

09-Jun 19:49 darkmeat-dir: Begin pruning Jobs.
09-Jun 19:49 darkmeat-dir: No Jobs found to prune.
09-Jun 19:49 darkmeat-dir: Begin pruning Files.
09-Jun 19:49 darkmeat-dir: No Files found to prune.
09-Jun 19:49 darkmeat-dir: End auto prune.

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

# This is the backup of the catalog
FileSet {
  Name = "Catalog"
  Include {
        Options {
          compression=gzip
          signature=MD5
    }
    File = /usr/local/bacula/bacula/bacula.sql
  }
}

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

# Generic catalog service
Catalog {
  Name = MyCatalog
  dbname = bacula
  user = bacula
  password = ""
  DB Address = mincemeat.lcs
  DB Port = 3306
}

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

# Default Pool
Pool {
  Name = Default
  Pool Type = Backup
  Recycle = yes                       # Bacula can automatically recycle 
Volumes
  AutoPrune = yes                     # Prune expired volumes
  Volume use duration = 12h               # Only use this volume for 12 
hours
  LabelFormat = "CAT"                     # Make the label format CAT0000
  Volume Retention = 7 days               # Week
  Accept Any Volume = yes             # write on any volume in the pool
}

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

I don't want to post enormous emails but please let me know if I should 
post the complete bacula-dir.conf and/or the debug output.

Any assistance most appreciated.

Regards

-- 

David Logan
South Australia

when in trouble, or in doubt
run in circles, scream and shout



_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to