Greetings all,
I have been working on this for a few days but can't seem to get it
right. Bacula seems to ignore my schedule and wants to run my jobs every
night instead of the Full job once a month and the differential job
every 2nd-5th Sunday. I ran a full job after setting up bacula but all
the other jobs are upgraded to full every night not recognizing that a
full was done. I have something miss configured but I haven't been able
to figure out what. Any pointers or info would be much appreciated.
Thanks, Robert
P.S. I'm off to work so I wont be able to reply until tonight.
Scheduled jobs according to bconsole:
Scheduled Jobs:
Level Type Pri Scheduled Name Volume
=============================================
Incremental Backup 10 23-Aug-05 21:00 Ns1-Full
Ns1-Full-0001
Incremental Backup 10 23-Aug-05 21:00 Ns1-Diff
Ns1-Diff-0001
Incremental Backup 10 23-Aug-05 21:00 Ns1-Inc
Ns1-Inc-0001
Full Backup 11 23-Aug-05 21:10 BackupCatalog
*unknown*
#
# Bacula Director Configuration file
# For Bacula release 1.36.3 (22 April 2005) -- solaris 5.8
#
Director {
Name = Ns1-dir
Password = ""
Messages = Daemon
WorkingDirectory = "/opt/csw/var/bacula/working"
PidDirectory = "/opt/csw/var/bacula/run"
QueryFile = "/opt/csw/etc/bacula/query.sql"
Maximum Concurrent Jobs = 1
DIRport = 9101
}
JobDefs {
Name = "DefaultJob"
Type = Backup
Level = Incremental
Write Bootstrap = "/opt/csw/var/bacula/working/Ns1.bsr"
Client = Ns1-fd
FileSet = "Full Set"
Messages = Standard
Pool = Default
Storage = File
Prune Jobs = yes
Prune Files = yes
Prune Volumes = yes
Priority = 10
}
Job {
Name = "Ns1-Full"
JobDefs = "DefaultJob"
Level = Full
Pool = Ns1-Full
Schedule = "MonthlyCycle"
Storage = SLR-5
}
Job {
Name = "Ns1-Diff"
JobDefs = "DefaultJob"
Level = Differential
Pool = Ns1-Diff
Schedule = "MonthlyCycle"
Storage = SLR-5
}
Job {
Name = "Ns1-Inc"
JobDefs = "DefaultJob"
Level = Incremental
Pool = Ns1-Inc
Schedule = "MonthlyCycle"
Storage = SLR-5
}
# Backup the catalog database (after the nightly save)
Job {
Name = "BackupCatalog"
JobDefs = "DefaultJob"
Level = Full
FileSet="Catalog"
Schedule = "WeeklyCycleAfterBackup"
RunBeforeJob = "/opt/csw/etc/bacula/make_catalog_backup bacula bacula"
RunAfterJob = "/opt/csw/etc/bacula/delete_catalog_backup"
Write Bootstrap = "/opt/csw/var/bacula/working/BackupCatalog.bsr"
Priority = 11 # run after main backup
}
# Standard Restore template, to be changed by Console program
Job {
Name = "RestoreFiles"
Type = Restore
Client=Ns1-fd
FileSet="Full Set"
Storage = File
Pool = Default
Messages = Standard
Where = /tmp/bacula-restores
}
# List of files to be backed up
FileSet {
Name = "Full Set"
Include {
Options {
signature = MD5
}
File = /
File = /export/home
}
Exclude {
File = /proc
File = /tmp
File = /home
}
}
Schedule {
Name = "MonthlyCycle"
Run = Level=Full on 1 at 9:00
Run = Level=Differential 2nd-5th sun at 9:00pm
Run = Level=Incremental mon-sat at 9:00pm
}
# This schedule does the catalog. It starts after the WeeklyCycle
Schedule {
Name = "WeeklyCycleAfterBackup"
Run = Level=Full sun-sat at 9:10pm
}
# This is the backup of the catalog
FileSet {
Name = "Catalog"
Include {
Options {
signature = MD5
}
File = /opt/csw/var/bacula/working/bacula.sql
}
}
# Client (File Services) to backup
Client {
Name = Ns1-fd
Address = Ns1
FDPort = 9102
Catalog = MyCatalog
Password = "" # password for FileDaemon
File Retention = 90 days # 3 Months
Job Retention = 90 days # 3 Months
AutoPrune = yes # Prune expired Jobs/Files
}
# Definiton of file storage device
Storage {
Name = File
Address = Ns1 # N.B. Use a fully qualified name here
SDPort = 9103
Password = ""
Device = FileStorage
Media Type = File
}
# Definition of SLR-5 tape storage device
Storage {
Name = SLR-5
Address = Ns1 # N.B. Use a fully qualified name here
SDPort = 9103
Password = "" # password for Storage daemon
Device = SLR-5 # must be same as Device in
Storage daemon
Media Type = SLR-5 # must be same as MediaType in
Storage daemon
}
# Generic catalog service
Catalog {
Name = MyCatalog
dbname = bacula; user = bacula; Password = ""
}
# Reasonable message delivery -- send most everything to email address
# and to the console
Messages {
Name = Standard
mailcommand = "/opt/csw/sbin/bsmtp -h localhost -f \"\(Bacula\) %r\"
-s \"Bacula: %t %e of %c %l\" %r"
operatorcommand = "/opt/csw/sbin/bsmtp -h localhost -f \"\(Bacula\)
%r\" -s \"Bacula: Intervention needed for %j\" %r"
mail = [EMAIL PROTECTED] = all, !skipped
operator = [EMAIL PROTECTED] = mount
console = all, !skipped, !saved
append = "/opt/csw/var/bacula/working/log" = all, !skipped
}
#
# Message delivery for daemon messages (no job).
Messages {
Name = Daemon
mailcommand = "/opt/csw/sbin/bsmtp -h localhost -f \"\(Bacula\) %r\"
-s \"Bacula daemon message\" %r"
mail = [EMAIL PROTECTED] = all, !skipped
console = all, !skipped, !saved
append = "/opt/csw/var/bacula/working/log" = all, !skipped
}
# Default pool definition
Pool {
Name = Default
Pool Type = Backup
Recycle = yes # Bacula can automatically recycle
Volumes
AutoPrune = yes # Prune expired volumes
Volume Retention = 90 days # 90 Days
Accept Any Volume = yes # write on any volume in the pool
}
# Ns1 Full-Pool Definition
Pool {
Name = Ns1-Full
Pool Type = Backup
Use Volume Once = no
Catalog Files = yes
Auto Prune = yes
Volume Retention = 90 Days
Recycle = yes
Recycle Oldest Volume = yes
Accept Any Volume = no
}
# Ns1 Differential-Pool Definition
Pool {
Name = Ns1-Diff
Pool Type = Backup
Use Volume Once = no
Catalog Files = yes
Auto Prune = yes
Volume Retention = 30 Days
Recycle = yes
Recycle Oldest Volume = yes
Accept Any Volume = no
}
# Ns1 Incremental-Pool Definition
Pool {
Name = Ns1-Inc
Pool Type = Backup
Use Volume Once = no
Catalog Files = yes
Auto Prune = yes
Volume Retention = 30 Days
Recycle = yes
Recycle Oldest Volume = yes
Accept Any Volume = no
}
#
# Restricted console used by tray-monitor to get the status of the director
#
Console {
Name = Ns1-mon
Password = ""
CommandACL = status, .status
}
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users