Hello,

I have a little problem with one of our bacula installation.

Let me explain the setup first.

There is two server, the first has the data and the storage daemon
(meia). The second is the director/DB server (lucita). There is alsa two
client only servers (hr-accentv2 a windows client and darla).

All the jobs are running fine, except the Catalog Backup. The strange
thing here is that i have nothing in logs about it. If i run it
manually, it is fine.

Director ans storage version : 1.38.11 (can't upgrade right now).

I suppose i have messed something with scheduling or concurency, but i
can't find what.


The bconsole output i got is this :

   230  Diff     29,702  4,628,541,420 OK       12-nov-07 20:14 Daily-meia
   231  Full         30  2,229,039,740 OK       12-nov-07 22:10 HRBackup
   232  Full   1,690,498 36,178,232,833 OK       13-nov-07 02:25 DARLABackup
   233  Full          0              0 Cancel   13-nov-07 02:25
BackupCatalog






and the last log lines are :


2-nov 22:55 lucita-dir: RunBefore: Connecting to Director
lucita.int.ccib.be:9101
12-nov 22:55 lucita-dir: RunBefore: 1000 OK: lucita-dir Version: 1.38.11
(28 June 2006)
12-nov 22:55 lucita-dir: RunBefore: Enter a period to cancel a command.
12-nov 22:55 lucita-dir: RunBefore: mount storage=meia-sd
12-nov 22:55 lucita-dir: RunBefore: Using default Catalog name=MyCatalog
DB=bacula
12-nov 22:55 lucita-dir: RunBefore: 3001 Mounted Volume: Lundi
12-nov 22:55 lucita-dir: RunBefore: 3001 Device "Ultrium" (/dev/nst0) is
already mounted with Volume "Lundi"
12-nov 22:55 lucita-dir: RunBefore: You have messages.
12-nov 22:55 lucita-dir: Start Backup JobId 232,
Job=DARLABackup.2007-11-12_22.55.00
12-nov 22:53 meia-sd: Volume "Lundi" previously written, moving to end
of data.
12-nov 22:54 meia-sd: Ready to append to end of Volume "Lundi" at file=8.
13-nov 02:25 lucita-dir: Bacula 1.38.11 (28Jun06): 13-nov-2007 02:25:52
  JobId:                  232
  Job:                    DARLABackup.2007-11-12_22.55.00
  Backup Level:           Full
  Client:                 "darla-fd" i486-pc-linux-gnu,debian,4.0
  FileSet:                "DARLA" 2007-08-20 19:14:46
  Pool:                   "Lundi"
  Storage:                "meia-sd"
  Scheduled time:         12-nov-2007 22:55:00
  Start time:             12-nov-2007 22:55:10
  End time:               13-nov-2007 02:25:52
  Elapsed time:           3 hours 30 mins 42 secs
  Priority:               10
  FD Files Written:       1,690,498
  SD Files Written:       1,690,498
  FD Bytes Written:       36,178,232,833 (36.17 GB)
  SD Bytes Written:       36,405,455,971 (36.40 GB)
  Rate:                   2861,7 KB/s
  Software Compression:   None
  Volume name(s):         Lundi
  Volume Session Id:      9
  Volume Session Time:    1194515418
  Last Volume Bytes:      43,358,284,951 (43.35 GB)
  Non-fatal FD errors:    0
  SD Errors:              0
  FD termination status:  OK
  SD termination status:  OK
  Termination:            Backup OK

13-nov 02:25 lucita-dir: Begin pruning Jobs.
13-nov 02:25 lucita-dir: No Jobs found to prune.
13-nov 02:25 lucita-dir: Begin pruning Files.
13-nov 02:25 lucita-dir: Pruned Files from 1 Jobs for client darla-fd
from catalog.
13-nov 02:25 lucita-dir: End auto prune.







Here is the relevant part of my config :

### Jobs definitions :

JobDefs {
  Name = "DefaultJob"
  Type = Backup
  Level = Incremental
  Client = lucita-fd
  FileSet = "Full Set"
  Schedule = "WeeklyCycle"
  Storage = meia-sd
  Messages = Standard
  Pool = Default
  Priority = 10
}

JobDefs {
  Name = "Daily"
  Type = Backup
  Level = Differential
  Client = meia-fd
  FileSet = "Full Set"
  Schedule = "DailyCycle"
  Storage = meia-sd
  Messages = Standard
  Pool = Default    #overwrited by schedule config, but needed to start
bacula
  Max Wait Time = 1 hours
  Max Start Delay = 4 hours
  RunBeforeJob = "etc/bacula/before.sh"
  Priority = 10
}

JobDefs {
  Name = "Weekly"
  Type = Backup
  Level = Full
  Client = meia-fd
  FileSet = "Full Set"
  Schedule = "WeeklyCycle"
  Storage = meia-sd
  Messages = Standard
  Pool = Default        #overwrited by schedule config, but needed to
start bacula
  Max Wait Time = 1 hours
  Max Start Delay = 4 hours
  RunBeforeJob = "etc/bacula/before.sh"
  Priority = 10
}



Job {
  Name = "Daily-meia"
  JobDefs = "Daily"
  Write Bootstrap = "/var/bacula/incremental.bsr"
}

Job {
  Name = "Weekly-meia"
  JobDefs = "Weekly"
  Write Bootstrap = "/var/bacula/full.bsr"
}

Job {
  Name = "DARLABackup"
  JobDefs = "Weekly"
  Client = darla-fd
  FileSet="DARLA"
  Schedule = "DARLACycle"
  Max Wait Time = 1 hours
  Max Start Delay = 4 hours
  RunBeforeJob = "/etc/bacula/before.sh"
  Write Bootstrap = "/var/bacula/darla.bsr"
}


Job {
  Name = "HRBackup"
  Client = "hr-accentv2-fd"
  JobDefs = "Daily"
  Level = Full
  FileSet = "HRSet"
  Schedule = "HRSchedule"
  Max Wait Time = 1 hours
  Max Start Delay = 4 hours
  Write Bootstrap = "/var/bacula/hraccent.bsr"
  Priority = 11                   # run after main backup
}

#
# Backup the catalog database (after the nightly save)
Job {
  Name = "BackupCatalog"
  JobDefs = "Weekly"
  Level = Full
  FileSet="Catalog"
  Client = lucita-fd
  Schedule = "WeeklyCycleAfterBackup"
  # This creates an ASCII copy of the catalog
  RunBeforeJob = "/etc/bacula/scripts/make_catalog_backup bacula bacula
Ya2AhGho"
  RunBeforeJob = "/etc/bacula/before.sh"
  # This deletes the copy of the catalog
  RunAfterJob  = "/etc/bacula/scripts/delete_catalog_backup"
  RunAfterJob = "/etc/bacula/after.sh"
  RunAfterJob = "ssh -i /etc/bacula/Bacula_key [EMAIL PROTECTED]"
  Write Bootstrap = "/var/lib/bacula/BackupCatalog.bsr"
  Priority = 11                   # run after main backup
}


#  SCHEDULES


Schedule {
  Name = "WeeklyCycle"
  Run = Pool=Vendredi1 1st fri at 20:05
  Run = Pool=Vendredi2 2nd fri at 20:05
  Run = Pool=Vendredi3 3rd fri at 20:05
  Run = Pool=Vendredi4 4th fri at 20:05
  Run = Pool=Vendredi5 5th fri at 20:05
}

Schedule {
  Name = "DailyCycle"
  Run = Pool=Lundi mon at 20:05
  Run = Pool=Mardi tue at 20:05
  Run = Pool=Mercredi wed at 20:05
  Run = Pool=Jeudi thu at 20:05
}

Schedule {
  Name = "DARLACycle"
  Run = Pool=Lundi mon at 22:55
  Run = Pool=Mardi tue at 22:55
  Run = Pool=Mercredi wed at 22:55
  Run = Pool=Jeudi thu at 22:55
  Run = Pool=Vendredi1 1st fri at 22:55
  Run = Pool=Vendredi2 2nd fri at 22:55
  Run = Pool=Vendredi3 3rd fri at 22:55
  Run = Pool=Vendredi4 4th fri at 22:55
  Run = Pool=Vendredi5 5th fri at 22:55
}

Schedule {
  Name = "WeeklyCycleAfterBackup"
#  Run = Full sun-sat at 23:55
  Run = Pool=Lundi mon at 23:55
  Run = Pool=Mardi tue at 23:55
  Run = Pool=Mercredi wed at 23:55
  Run = Pool=Jeudi thu at 23:55
  Run = Pool=Vendredi1 1st fri at 23:55
  Run = Pool=Vendredi2 2nd fri at 23:55
  Run = Pool=Vendredi3 3rd fri at 23:55
  Run = Pool=Vendredi4 4th fri at 23:55
  Run = Pool=Vendredi5 5th fri at 23:55
}

Schedule {
  Name = "HRSchedule"
  Run = Pool=Lundi mon at 22:05
  Run = Pool=Mardi tue at 22:05
  Run = Pool=Mercredi wed at 22:05
  Run = Pool=Jeudi thu at 22:05
  Run = Pool=Vendredi1 1st fri at 22:05
  Run = Pool=Vendredi2 2nd fri at 22:05
  Run = Pool=Vendredi3 3rd fri at 22:05
  Run = Pool=Vendredi4 4th fri at 22:05
  Run = Pool=Vendredi5 5th fri at 22:05
}




Thanks for your attention.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to