I am trying to understand why bacula has not run a full backup on our
system. It is scheduled to run on on the first Friday of the month,
however this month we had a hardware problem on the tape drive on that
day. As I have "  Rerun Failed Levels = yes" I expected it to run a
full backup as soon as it was possible to do so, however this has not
happened and all differentials are still relative to the last full
backup at the start of March. Here are the relevant sections from
 my bacula-dir.conf:

JobDefs {
  Name = "DefaultJob"
  Type = Backup
  Level = Incremental
  Client = lapf-fd
  Schedule = "WeeklyCycle"
  Storage = "SONY Library"
  Messages = Standard
  Pool = Default
  Priority = 10
  Rerun Failed Levels = yes
  Reschedule On Error = yes
  Reschedule Interval = 30m
  Reschedule Times = 14
}
Job {
  Name = "Aleph Home"
  FileSet = "Aleph Home"
  JobDefs = "DefaultJob"
  Write Bootstrap = "/root/bacula/bin/working/lapf.bsr"
}
FileSet {
  Name = "Aleph Home"
  Include {
    Options {
      signature = MD5
    }
    File = /export/home/aleph
  }
}
#
# When to do the backups, full backup on first Friday of the month,
#  differential (i.e. incremental since full) every other Friday
#  and incremental backups other days
Schedule {
  Name = "WeeklyCycle"
  Run = Full 1st Fri at 17:00
  Run = Differential 2nd-5th Fri at 23:05
  Run = Incremental mon-sat at 23:05
}
#
#-----------------------------------------------------------------
#
# Definition of tape storage device
#
#-----------------------------------------------------------------
Storage {
  Name = "SONY Library"
  Address = <snip></snip>                # N.B. Use a fully qualified name here
  SDPort = 9103
  Password = "<snip></snip>"          # password for Storage daemon
  Device = SONY                      # must be same as Device in Storage daemon
  Media Type = AIT4                  # must be same as MediaType in Storage 
daemon
  Autochanger = yes                   # enable for autochanger device
#
}



The database shows:

Enter SQL query: select Name,Level,JobStatus,SchedT   from Job where
 Name = "Aleph Home" and SchedTime >= "2006-04-01 00:00:00"ime
 from Job where Name = "Aleph Home" and SchedTime >= "2006-04-01 00:00:00";

+------------+-------+-----------+---------------------+
| Name       | Level | JobStatus | SchedTime           |
+------------+-------+-----------+---------------------+
| Aleph Home | I     | T         | 2006-04-01 23:05:00 |
| Aleph Home | I     | T         | 2006-04-03 23:05:00 |
| Aleph Home | I     | R         | 2006-04-04 23:05:01 |
| Aleph Home | I     | T         | 2006-04-05 23:05:00 |
| Aleph Home | I     | f         | 2006-04-10 23:05:01 |
| Aleph Home | I     | T         | 2006-04-12 23:05:00 |
| Aleph Home | I     | T         | 2006-04-13 23:05:00 |
| Aleph Home | I     | T         | 2006-04-14 23:05:01 |
| Aleph Home | D     | T         | 2006-04-14 23:05:02 |
| Aleph Home | I     | T         | 2006-04-15 23:05:00 |
| Aleph Home | I     | T         | 2006-04-17 23:05:00 |
| Aleph Home | I     | T         | 2006-04-18 23:05:00 |
| Aleph Home | I     | T         | 2006-04-19 23:05:00 |
+------------+-------+-----------+---------------------+

 It shows that no jobs ran over the period 6th -9th April. Is this
perhaps the problem? The Full job did not fail because it did not run. It
did not run because I turned bacula off, knowing that it could not
work without the tape drive.  The differential job does not see a
failed earlier job so does not upgrade itself. Maybe I should have
left bacula running, and allow it to fail, so as to get the required behaviour?



--
 Alex Finch, Research Fellow, Physics Department, Lancaster University.
+44 (0) 1524 593618   http://www.lancs.ac.uk/depts/physics/staff/ajf.htm


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to