I am running into a problem here. I have had to purge a previous full backup for a client machine. I then manually ran a full backup from the console. After that was completed I then tried to manually run an incremental (as the full took several days to run). But if I try either a differential or incremental backup both are upgraded to full's with the message "No prior or suitable Full backup found in catalog. Doing FULL backup."

The full backup is in the catalogue and I can restore files from it. It's as if there is no link to the full for some reason.

How can I get bacula to recognize the full backup for subsequent incremental's/differentials?

Attached is my bacula-dir.conf


Steve


Director {
  Name = loki-dir
  DIRport = 9101
  HeartbeatInterval= 295
  Maximum Concurrent Jobs = 1
  Messages = Daemon
  Password = "xxxxxx"
  PidDirectory = "/var/run"
  QueryFile = "/opt/bacula/etc/query.sql"
  WorkingDirectory = "/opt/bacula/var/bacula/working"
}
JobDefs {
  Name = "DefaultJob"
  Accurate = yes
  Client = loki-fd
  FileSet = "loki-FileSet"
  Level = Incremental
  Messages = Standard
  Pool = BackupSetDD
  Priority = 50
  Storage = LTO4
  Type = Backup
}
Job {
  Name = "loki-FullBackup"
  Accurate = yes
  Client = loki-fd
  FileSet = "loki-FileSet"
  Level = Full
  Messages = Standard
  Pool = BackupSetAA
  Priority = 10
  Schedule = "loki-Schedule"
  Storage = LTO4
  Type = Backup
}
Job {
  Name = "loki-DiffBackup"
  Accurate = yes
  Client = loki-fd
  FileSet = "loki-FileSet"
  Level = Differential
  Messages = Standard
  Pool = BackupSetDD
  Priority = 20
  Storage = LTO4
  Type = Backup
}
Job {
  Name = "loki-IncrBackup"
  Accurate = yes
  Client = loki-fd
  FileSet = "loki-FileSet"
  Level = Incremental
  Messages = Standard
  Pool = BackupSetDD
  Priority = 30
  Storage = LTO4
  Type = Backup
}
Job {
  Name = "loki-BackupCatalog"
  Client = loki-fd
  FileSet = "Catalog"
  Level = Full
  Level = Incremental
  Messages = Standard
  Pool = BackupSetDD
  Priority = 15
  RunAfterJob  = "/opt/bacula/etc/delete_catalog_backup"
  RunBeforeJob = "/opt/bacula/etc/make_catalog_backup bacula bacula"
  Schedule = "loki-Catalog"
  Storage = File
  Type = Backup
  Write Bootstrap = "/opt/bacula/var/bacula/working/BackupCatalog.bsr"
}
Job {
  Name = "loki-FTPVerify"
  Client = loki-fd
  FileSet = "loki-VerifyFileSet"
  Level = Catalog
  Messages = Standard
  Pool = BackupSetAA
  Schedule = "loki-VerifySchedule"
  Storage = LTO4
  Type = Verify
}
Job {
  Name = "RestoreFiles"
  Accurate = yes
  Client = loki-fd
  FileSet = "loki-FileSet"
  Messages = Standard
  Pool = BackupSetAA
  Replace = Always
  Storage = File
  Type = Restore
  Where = /tmp/bacula-restores
}
FileSet {
  Name = "loki-FileSet"
  Ignore FileSet Changes = yes
  Include {
    Options {
      accurate=mcs1
      checkfilechanges=yes
      hardlinks=yes
      noatime=yes
      onefs=yes
      recurse=yes
      signature=SHA1
      sparse=yes
      verify=pns1
    }
    File = /
    File = /boot
    File = /home/mldonkey
    File = /home/software
    File = /home/vmware
    File = /var/ftp
  }
  Exclude {
    File = /cdrom
    File = /dev
    File = /lost+found
    File = /media
    File = /opt/bacula/var/bacula/spool
    File = /opt/bacula/var/bacula/working
    File = /proc
    File = /sys
    File = /tmp
    File = /var/ftp/tmp
    File = /var/lock
    File = /var/run
    File = /var/tmp
    File = /.fsck
    File = /.journal
  }
}
FileSet {
  Name = "loki-VerifyFileSet"
  Ignore FileSet Changes = yes
  Include {
    Options {
      accurate=mcs1
      checkfilechanges=yes
      hardlinks=yes
      noatime=yes
      onefs=yes
      recurse=yes
      signature=SHA1
      sparse=yes
      verify=pns1
    }
    File = /var/ftp
    File = /home/software
  }
  Exclude {
    File = /cdrom
    File = /dev
    File = /home/software/Backups
    File = /home/vmware/Virtual_Machines
    File = /lost+found
    File = /media
    File = /opt/bacula/var/bacula/spool
    File = /opt/bacula/var/bacula/working
    File = /proc
    File = /sys
    File = /tmp
    File = /var/ftp/findls-li
    File = /var/ftp/ls-lR
    File = /var/ftp/ls-lR.gz
    File = /var/ftp/ls-lR.Z
    File = /var/ftp/tmp
    File = /var/lock
    File = /var/run
    File = /var/tmp
    File = /.fsck
    File = /.journal
  }
}
FileSet {
  Name = "Catalog"
  Include {
    Options {
      signature = MD5
    }
    File = /opt/bacula/var/bacula/working/bacula.sql
  }
}
Schedule {
  Name="loki-Schedule"
  Run=Full Pool=BackupSetAA 1st Friday December at 17:00
  Run=Differential Pool=BackupSetDD FullPool=BackupSetAA 2nd 4th Sat at 05:00
  Run=Incremental Pool=BackupSetDD FullPool=BackupSetAA Sun-Fri at 05:00
}
Schedule {
  Name = "loki-Catalog"
  Run = Full sun-sat at 23:10
}
Schedule {
  Name="loki-VerifySchedule"
  Run= Level=Catalog 3rd 5th Friday at 06:00
}
Client {
  Name = loki-fd
  Address = loki
  AutoPrune = yes
  Catalog = MyCatalog
  FDPort = 9102
  File Retention = 365 days
  Job Retention = 13 months
  Password = "xxxxxxx"
}
Storage {
  Name = File
  Address = loki
  Device = FileStorage
  Media Type = File
  Password = "xxxxx"
  SDPort = 9103
}
Storage {
  Name = LTO4
  Address = loki
  Device = LTO4
  Media Type = LTO4
  Password = "xxxxx"
  SDPort = 9103
}
Catalog {
  Name = MyCatalog
  dbname = "bacula"; dbuser = "bacula"; dbpassword = ""
}
Messages {
  Name = Standard
  append = "/opt/bacula/var/bacula/working/log" = all, !skipped
  catalog = all
  console = all, !skipped, !saved
  mail = xxxxxx = all, !skipped
  mailcommand = "/opt/bacula/sbin/bsmtp -h localhost -f xxxxxx -s \"Bacula: %t 
%e of %c %j %l\" %r"
  operatorcommand = "/opt/bacula/sbin/bsmtp -h localhost -f xxxxx -s \"Bacula: 
Intervention needed for %j\" %r"
  operator = xxxxx = mount
}
Messages {
  Name = Daemon
  append = "/opt/bacula/var/bacula/working/log" = all, !skipped
  console = all, !skipped, !saved
  mailcommand = "/opt/bacula/sbin/bsmtp -h localhost -f \"\(Bacula\) \<%r\>\" 
-s \"Bacula daemon message\" %r"
  mail = r...@localhost = all, !skipped
}
Pool {
  Name = BackupSetAA
  AutoPrune = yes
  Catalog Files = yes
  Cleaning Prefix = "CLN"
  Label Format = "AA"
  MaximumVolumeJobs = 1
  Maximum Volumes = 50
  Pool Type = Backup
  Recycle = yes
  Storage = LTO4
  Volume Retention = 180 days
}
Pool {
  Name = BackupSetDD
  AutoPrune = yes
  Catalog Files = yes
  Cleaning Prefix = "CLN"
  Label Format = "DD"
  Maximum Volumes = 05
  Pool Type = Backup
  Recycle = yes
  Storage = LTO4
  Volume Retention = 21 days
}
Console {
  Name = loki-mon
  CommandACL = status, .status
  Password = "xxxxx"
}
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to