Bacula-users

[Bacula-users] Mac OS X client fails to backup

2011-07-11 15:49:42
Subject: [Bacula-users] Mac OS X client fails to backup
From: tscollins <bacula-forum AT backupcentral DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Mon, 11 Jul 2011 12:47:36 -0700
OK I have simplified my configuration files to just have one Mac OS X client 
and here they are:

Mac1 bacula-fd.conf
Director {
  Name = dracula-dir
  Password = "blah"
}
FileDaemon {
  Name = Mac1-fd
  FDport = 9102
  WorkingDirectory = /private/var/bacula/working
  Pid Directory = /var/run
  Maximum Concurrent Jobs = 20
}
Messages {
  Name = Standard
  director = dracula-dir = all, !skipped, !restored
}

Dracula bacula-dir.conf
Director {
  Name = dracula-dir
  DIRport = 9101
  QueryFile = "/root/bacula/bin/query.sql"
  WorkingDirectory = "/root/bacula/bin/working"
  PidDirectory = "/root/bacula/bin/working"
  Maximum Concurrent Jobs = 1
  Password = "blah"
  Messages = Daemon
}
JobDefs {
  Name = "DefaultJob"
  Type = Backup
  Level = Incremental
  Client = Mac1-fd 
  FileSet = "Full Set"
  Schedule = "WeeklyCycle"
  Storage = File
  Messages = Standard
  Pool = File
  Priority = 10
  Write Bootstrap = "/root/bacula/bin/working/%c.bsr"
}
Job {
  Name = "BackupClient1"
  JobDefs = "DefaultJob"
}
Job {
  Name = "BackupCatalog"
  JobDefs = "DefaultJob"
  Level = Full
  FileSet="Catalog"
  Schedule = "WeeklyCycleAfterBackup"
  RunBeforeJob = "/root/bacula/bin/make_catalog_backup.pl MyCatalog"
  RunAfterJob  = "/root/bacula/bin/delete_catalog_backup"
  Write Bootstrap = "/root/bacula/bin/working/%n.bsr"
  Priority = 11
}
Job {
  Name = "RestoreFiles"
  Type = Restore
  Client= Mac1-fd                 
  FileSet="Full Set"                  
  Storage = File                      
  Pool = Default
  Messages = Standard
  Where = /Users/testuser/test/bacula-restores
}
FileSet {
  Name = "Full Set"
  Include {
    Options {
      signature = MD5
      hfsplussupport = yes
    }
    File = "/Users/testuser/Downloads/"
  }
  Exclude {
    File = "/Users/testuser/.Trash"
    File = "/Users/testuser/Library/Caches"
  }
}
Schedule {
  Name = "WeeklyCycle"
  Run = Full 1st sun at 23:05
  Run = Differential 2nd-5th sun at 23:05
  Run = Incremental mon-sat at 23:05
}
Schedule {
  Name = "WeeklyCycleAfterBackup"
  Run = Full sun-sat at 23:10
}
FileSet {
  Name = "Catalog"
  Include {
    Options {
      signature = MD5
    }
    File = "/root/bacula/bin/working/bacula.sql"
  }
}
Client {
  Name = Mac1-fd
  Address = 192.168.40.45
  FDPort = 9102
  Catalog = MyCatalog
  Password = "blah"
  File Retention = 30 days
  Job Retention = 6 months
  AutoPrune = yes
}
Storage {
  Name = File
  Address = dracula
  SDPort = 9103
  Password = "blah"
  Device = FileStorage
  Media Type = File
}
Catalog {
  Name = MyCatalog
  dbname = "bacula"; dbuser = "bacula"; dbpassword = ""
}
Messages {
  Name = Standard
  mailcommand = "/root/bacula/bin/bsmtp -h localhost -f \"\(Bacula\) \<%r\>\" 
-s \"Bacula: %t %e of %c %l\" %r"
  operatorcommand = "/root/bacula/bin/bsmtp -h localhost -f \"\(Bacula\) 
\<%r\>\" -s \"Bacula: Intervention needed for %j\" %r"
  mail = root@localhost = all, !skipped            
  operator = root@localhost = mount
  console = all, !skipped, !saved
  append = "/root/bacula/bin/working/log" = all, !skipped
  catalog = all
}
Messages {
  Name = Daemon
  mailcommand = "/root/bacula/bin/bsmtp -h localhost -f \"\(Bacula\) \<%r\>\" 
-s \"Bacula daemon message\" %r"
  mail = root@localhost = all, !skipped            
  console = all, !skipped, !saved
  append = "/root/bacula/bin/working/log" = all, !skipped
}
Pool {
  Name = Default
  Pool Type = Backup
  Recycle = yes
  AutoPrune = yes
  Volume Retention = 365 days
}
Pool {
  Name = File
  Pool Type = Backup
  Recycle = yes
  AutoPrune = yes
  Volume Retention = 365 days
  Maximum Volume Bytes = 50G
  Maximum Volumes = 100
}
Pool {
  Name = Scratch
  Pool Type = Backup
}
Console {
  Name = dracula-mon
  Password = "blah"
  CommandACL = status, .status
}

Now when I try to run the job I see a 'Fatal error' in the console:
run job="BackupClient1" fileset="Full Set" level="Incremental" client="Mac1-fd" 
pool="Default" storage="File" priority="10" when="2011-07-11 15:19:19" yes 
Job queued. JobId=1
11-Jul 15:17 dracula-dir JobId 0: Fatal error: bsock.c:134 Unable to connect to 
Client: Mac-fd on 192.168.40.45:9102. ERR=Connection refused
11-Jul 15:19 dracula-dir JobId 1: No prior Full backup Job record found.
11-Jul 15:19 dracula-dir JobId 1: No prior or suitable Full backup found in 
catalog. Doing FULL backup.
11-Jul 15:19 dracula-dir JobId 1: Start Backup JobId 1, 
Job=BackupClient1.2011-07-11_15.19.40_06
11-Jul 15:19 dracula-dir JobId 1: Using Device "FileStorage"

Please is anyone has any idea I would greatly appreciate the help as I have 
been working on this for the past week and getting nowhere!

+----------------------------------------------------------------------
|This was sent by tscollins AT languagemate DOT com via Backup Central.
|Forward SPAM to abuse AT backupcentral DOT com.
+----------------------------------------------------------------------



------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
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>