I'm running Bacula 2.03 on a Fedora 5 x86 system. For test purposes I only have
one client configured and the /etc directory being backed up to a SATA hard
drive in the system. I have set the backups to run every 10min and I set max
volumes to 24, so that should be 6 hours of backup and then it should start
recycling the volumes as I understand it.
Seems it ran from 1pm - 6pm every hour making a full backup to a diffrent
file(like I want) and 4 incrementals between the hour. Everything ran fine and
then just stopped after 6:15pm and hung on the 6.35 inc- job for 17hours while
it queued up more jobs. By this point it had made 14 Full backups.
The SQL database is on a mount with 56GB still free and the backup
target(onsite) still has 300GB free and /var still has 600mb free(NOTE:Database
is not on /var). I cancelled that job now and the next one in the queue is
still hanging. I cant see anything wrong with my config, whats going on here?
Is there a better way to have my config? I need to have it autoname the Full
and Incremental backups for multiple systems.
Email with errors follows and I have pasted my bacula-dir.conf file as
well.
Thanks for any assistance.
John Smith III
---------Email of canceled job--------------
28-Jun 18:35 haleiwa: Start Backup JobId 186,
Job=wkst09-Onsite.2007-06-28_18.35.00
28-Jun 18:33 haleiwa: DIR and FD clocks differ by -115 seconds, FD
automatically adjusting.
28-Jun 18:35 haleiwa: Job wkst09-Onsite.2007-06-28_18.35.00 waiting. Cannot
find any appendable volumes.
Please use the "label" command to create a new Volume for:
Storage: "OnsiteStorage" (/onsite)
Media type: File
Pool: Wkst09-Inc-Pool
28-Jun 18:35 haleiwa: wkst09-Onsite.2007-06-28_18.35.00 Error: message.c:713
Operator mail program terminated in error.
CMD=/sbin/bsmtp -h localhost -f "(Bacula) [EMAIL PROTECTED]"
-s "Bacula: Intervention needed for wkst09-Onsite.2007-06-28_18.35.00"
[EMAIL PROTECTED]
ERR=Child exited with code 1
28-Jun 19:35 haleiwa: Job wkst09-Onsite.2007-06-28_18.35.00 waiting. Cannot
find any appendable volumes.
Please use the "label" command to create a new Volume for:
Storage: "OnsiteStorage" (/onsite)
Media type: File
Pool: Wkst09-Inc-Pool
28-Jun 19:35 haleiwa: wkst09-Onsite.2007-06-28_18.35.00 Error: message.c:713
Operator mail program terminated in error.
CMD=/sbin/bsmtp -h localhost -f "(Bacula) [EMAIL PROTECTED]"
-s "Bacula: Intervention needed for wkst09-Onsite.2007-06-28_18.35.00"
[EMAIL PROTECTED]
ERR=Child exited with code 1
28-Jun 21:35 haleiwa: Job wkst09-Onsite.2007-06-28_18.35.00 waiting. Cannot
find any appendable volumes.
Please use the "label" command to create a new Volume for:
Storage: "OnsiteStorage" (/onsite)
Media type: File
Pool: Wkst09-Inc-Pool
28-Jun 21:35 haleiwa: wkst09-Onsite.2007-06-28_18.35.00 Error: message.c:713
Operator mail program terminated in error.
CMD=/sbin/bsmtp -h localhost -f "(Bacula) [EMAIL PROTECTED]"
-s "Bacula: Intervention needed for wkst09-Onsite.2007-06-28_18.35.00"
[EMAIL PROTECTED]
ERR=Child exited with code 1
29-Jun 01:35 haleiwa: Job wkst09-Onsite.2007-06-28_18.35.00 waiting. Cannot
find any appendable volumes.
Please use the "label" command to create a new Volume for:
Storage: "OnsiteStorage" (/onsite)
Media type: File
Pool: Wkst09-Inc-Pool
29-Jun 01:35 haleiwa: wkst09-Onsite.2007-06-28_18.35.00 Error: message.c:713
Operator mail program terminated in error.
CMD=/sbin/bsmtp -h localhost -f "(Bacula) [EMAIL PROTECTED]"
-s "Bacula: Intervention needed for wkst09-Onsite.2007-06-28_18.35.00"
[EMAIL PROTECTED]
ERR=Child exited with code 1
29-Jun 09:35 haleiwa: Job wkst09-Onsite.2007-06-28_18.35.00 waiting. Cannot
find any appendable volumes.
Please use the "label" command to create a new Volume for:
Storage: "OnsiteStorage" (/onsite)
Media type: File
Pool: Wkst09-Inc-Pool
29-Jun 09:35 haleiwa: wkst09-Onsite.2007-06-28_18.35.00 Error: message.c:713
Operator mail program terminated in error.
CMD=/sbin/bsmtp -h localhost -f "(Bacula) [EMAIL PROTECTED]"
-s "Bacula: Intervention needed for wkst09-Onsite.2007-06-28_18.35.00"
[EMAIL PROTECTED]
ERR=Child exited with code 1
---------------------------------------------------------------
--------- Bacula-dir.conf ------------
Director { # define myself
Name = haleiwa
DIRport = 9101
QueryFile = "/etc/bacula/query.sql"
WorkingDirectory = "/var/bacula"
PidDirectory = "/var/run"
Maximum Concurrent Jobs = 2
Password = ""
Messages = Standard
}
JobDefs {
Name = "Onsite"
Type = Backup
FileSet = "All Files"
Schedule = "OnsiteCycle"
Messages = Standard
Pool = Default
Full Backup Pool = Full-Pool
Incremental Backup Pool = Inc-Pool
Priority = 10
Storage = Onsite
}
##### Onsite Jobs ##########
Job {
Name = wkst09-Onsite
Type = Backup
JobDefs = Onsite
Client = wkst09
Write Bootstrap = "/var/bacula/wkst09-onsite.bsr"
Pool = Default
Full Backup Pool = Wkst09-Full-Pool
Incremental Backup Pool = Wkst09-Inc-Pool
}
###### FileSet ######
FileSet {
Name = "All Files"
Include { Options { onefs=yes;compression=gzip9 }
# File = /
File = /etc
}
Exclude {
File = /proc
File = /tmp
File = /.journal
File = /.fsck
File = *.o
File = *.sock
File = /mnt
File = /var/cache/*
File = *.rpm
File = *.tar
File = *.tgz
File = *.tar.gz
File = */lost+found
File = /var/tmp/*
File = /var/run/*
File = /var/lib/mysql
}
}
######## Schedule ##############
Schedule {
Name = "OnsiteCycle"
Run = Level=Full hourly at 0:01
Run = Level=Incremental hourly at 0:15
Run = Level=Incremental hourly at 0:25
Run = Level=Incremental hourly at 0:35
Run = Level=Incremental hourly at 0:45
}
######## Clients ################
Client {
Name = haleiwa
Address = haleiwa
FDPort = 9102
Catalog = MyCatalog
Password = ""
AutoPrune = yes ## Prune expired Jobs/Files
Job Retention = 6 months ## How long to keep a record of the job
File Retention = 60 days ## How long to keep file records in the database
}
Client {
Name = wkst09
Address = wkst09
FDPort = 9102
Catalog = MyCatalog
Password = ""
AutoPrune = yes # Prune expired Jobs/Files
Job Retention = 6 months
File Retention = 60 days
}
####### Storage #################
Storage {
Name = Onsite
Address = haleiwa
SDPort = 9103
Password = ""
Device = OnsiteStorage
Media Type = File
}
Catalog {
Name = MyCatalog
dbname = bacula; user = bacula; password = ""
}
####### The Default Pools ############
### ( This is because normally I have about 10diff systems being backed up) ####
Pool {
Name = Full-Pool
Pool Type = Backup
Recycle = yes # automatically recycle Volumes
AutoPrune = yes # Prune expired volumes
Volume Retention = 6 months
Use Volume Once = yes
Maximum Volume Jobs = 1 # num. of systems. All systems one file
Maximum Volumes = 24 # Every Sun, 6 months
Volume Use Duration = 6 months
LabelFormat = "Full-Started-${Year}-${Month:p/2/0/r}-${Day:p/2/0/r}-"
}
Pool {
Name = Inc-Pool
Pool Type = Backup
Recycle = yes # automatically recycle Volumes
AutoPrune = yes # Prune expired volumes
Volume Retention = 30 days
Maximum Volume Jobs = 7
Label Format = "Inc-Started-${Year}-${Month:p/2/0/r}-${Day:p/2/0/r}"
Maximum Volumes = 7
}
Pool {
Name = Default
Pool Type = Backup
Recycle = yes
AutoPrune = yes
Volume Retention = 6 months
# Maximum Volume Jobs = 1
Label Format = "Wrong-${Client}"
Maximum Volumes = 7
}
#####################################
Pool {
Name = Wkst09-Full-Pool
Pool Type = Backup
Recycle = yes # automatically recycle Volumes
AutoPrune = yes # Prune expired volumes
Volume Retention = 6 months
Use Volume Once = yes
Maximum Volume Jobs = 1 # 1 Full job in 1 volume
Maximum Volumes = 24 # Every hour for 6 hours=24backups
LabelFormat =
"Wkst09-Full-Started-${Year}-${Month:p/2/0/r}-${Day:p/2/0/r}-${JobId}"
}
Pool {
Name = Wkst09-Inc-Pool
Pool Type = Backup
Recycle = yes # automatically recycle Volumes
AutoPrune = yes # Prune expired volumes
Volume Retention = 30 days
Maximum Volume Jobs = 6 # 5 Inc jobs in 1 volume
Maximum Volumes = 4 # Theres only 4 weeks(1vol = 1week)
LabelFormat =
"Wkst09-Inc-Started-${Year}-${Month:p/2/0/r}-${Day:p/2/0/r}-${JobId}"
}
######## Tailing Config Stuff ###########
Messages {
Name = Standard
mailcommand = "/sbin/bsmtp -h localhost -f \"\(Bacula\) [EMAIL PROTECTED]" -s
\"Bacula: %t %e of %c %l\" %r" -h localhost -f \"\(Bacula\) %r\"
operatorcommand = "/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 = "/var/bacula/log" = all, !skipped
catalog = all, !skipped, !saved
}
Console {
Name = haleiwa
Password = ""
CommandACL = status, .status
}
____________________________________________________________________________________
Never miss an email again!
Yahoo! Toolbar alerts you the instant new Mail arrives.
http://tools.search.yahoo.com/toolbar/features/mail/
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users