Hello!
I've fixed problem fault with devices, but it isn't help for my issue :(
I set Max Concurrent Job = 20 in "bacula-sd.conf" for storage, in
"bacula-dir.conf" for all clients and for storages and in "bacula-fd.conf"
on all of clients...
Storage: name=HDD2 address=10.1.2.24 SDport=9103 MaxJobs=20
DeviceName=STORAGE2 MediaType=HDD2 StorageId=2
Storage: name=HDD3 address=10.1.2.24 SDport=9103 MaxJobs=20
DeviceName=STORAGE3 MediaType=HDD3 StorageId=3
....................................................................
Client: name=box44 address=10.1.2.44 FDport=9102 MaxJobs=20
JobRetention=1 month FileRetention=1 month AutoPrune=1
--> Catalog: name=MyCatalog address=*None* DBport=0 db_name=bacula
db_user=bacula MutliDBConn=0
.....................................................................
Here is my config in attached files.
Director {
Name = backup1-dir
Description = "director"
DIRport = 9101
DirAddress = 10.1.2.24
QueryFile = "/usr/local/bacula/etc/query.sql"
WorkingDirectory = "/usr/local/bacula/var/bacula/working"
PidDirectory = "/var/run"
Maximum Concurrent Jobs = 20
Password = "fewfwefwef" # Console password
Messages = StdMail
}
# List of files to be backed up
FileSet {
Name = "Full Set"
Include {
Options {signature=MD5};
File = /etc/bacula
}
}
JobDefs {
Name = "DefaultJob"
Type = Backup
Level = Incremental
FileSet = "Full Set"
Schedule = "WeeklyCycle"
Storage = HDD2
Messages = StdMail
Pool = Default
Priority = 10
}
# Generic catalog service
Catalog {
Name = MyCatalog
dbname = bacula; user = bacula; password = ""
}
# This is the backup of the catalog
FileSet {
Name = "Catalog"
Include {
Options {signature=MD5};
File = /var/lib/bacula/bacula.sql
}
}
Pool {
Name = "full_catalog.pool"
Pool Type = Backup
Recycle = yes # Bacula can automatically recycle Volumes
LabelFormat = "full_catalog_"
AutoPrune = yes # Prune expired volumes
Volume Retention = 5 weeks
Accept Any Volume = yes # write on any volume in the pool
Cleaning Prefix = "CLN"
}
# Backup the catalog database (after the nightly save)
Job {
Name = "BackupCatalog"
JobDefs = "DefJob2"
Level = Full
FileSet="Catalog"
Schedule = "WeeklyCycleAfterBackup"
# This creates an ASCII copy of the catalog
RunBeforeJob = "/usr/lib/bacula/make_catalog_backup bacula"
# This deletes the copy of the catalog
RunAfterJob = "/usr/lib/bacula/delete_catalog_backup"
Write Bootstrap = "/var/lib/bacula/BackupCatalog.bsr"
Priority = 11 # run after main backup
Client = box24
Full Backup Pool = full_catalog.pool
}
Job {
Name = "RestoreFiles"
Type = Restore
Client = box24
FileSet = "Full Set"
Storage = HDD2
Pool = Default
Messages = StdMail
Where = /tmp/bacula-restored
}
#
# When to do the backups, full backup on first sunday of the month,
# differential (i.e. incremental since full) every other sunday,
# and incremental backups other days
Schedule {
Name = "WeeklyCycle"
Run = Full 1st sun at 1:05
Run = Differential 2nd-5th sun at 1:05
Run = Incremental mon-sat at 1:05
}
# This schedule does the catalog. It starts after the WeeklyCycle
Schedule {
Name = "WeeklyCycleAfterBackup"
Run = Full sun-sat at 1:10
}
# Define Pools ------------------------------------------------------
Pool {
Name = "Default"
Pool Type = Backup
Recycle = yes # Bacula can automatically recycle Volumes
LabelFormat = "Default"
AutoPrune = yes # Prune expired volumes
Volume Retention = 365 days
Accept Any Volume = yes # write on any volume in the pool
Cleaning Prefix = "CLN"
}
######################################
@/usr/local/bacula/etc/director-addon.conf
#
# Default Bacula File Daemon Configuration file
#
# For Bacula release 1.34.5 (21 June 2004) -- mandrake for
#
# There is not much to change here except perhaps the
# File daemon Name to
#
#
# List Directors who are permitted to contact this File daemon
#
Director {
Name = backup1-dir
Password = "fewfwefwef"
}
#
# "Global" File daemon configuration specifications
#
FileDaemon { # this is me
Name = backup1-fd
FDport = 9102 # where we listen for the director
Maximum Concurrent Jobs = 20
WorkingDirectory = /var/lib/bacula
Pid Directory = /var/run
}
# Send all messages except skipped files back to Director
Messages {
Name = Standard
director = backup1-dir = all, !skipped
}
#
# Default Bacula Storage Daemon Configuration file
#
# For Bacula release 1.34.5 (21 June 2004) -- mandrake for
#
# You may need to change the name of your tape drive
# on the "Archive Device" directive in the Device
# resource. If you change the Name and/or the
# "Media Type" in the Device resource, please ensure
# that dird.conf has corresponding changes.
#
Storage { # definition of myself
Name = backup1-sd
SDPort = 9103 # Director's port
SDAddress = 10.1.2.24
WorkingDirectory = "/var/lib/bacula"
Pid Directory = "/var/run"
Maximum Concurrent Jobs = 40
}
#
# List Directors who are permitted to contact Storage daemon
#
Director {
Name = backup1-dir
Password = "fewfwefwef"
}
Messages {
Name = Standard
director = backup1-dir = all
}
#Device {
# Name = STORAGE1
# Media Type = HDD1
# Archive Device = /storage/disk1
# LabelMedia = yes;
# Random Access = Yes;
# AutomaticMount = yes;
# RemovableMedia = no;
# AlwaysOpen = no;
#}
Device {
Name = STORAGE2
Media Type = HDD2
Archive Device = /storage/disk2
LabelMedia = yes;
Random Access = Yes;
AutomaticMount = yes;
RemovableMedia = no;
AlwaysOpen = yes;
}
Device {
Name = STORAGE3
Media Type = HDD3
Archive Device = /storage/disk3
LabelMedia = yes;
Random Access = Yes;
AutomaticMount = yes;
RemovableMedia = no;
AlwaysOpen = yes;
}
Client
{
Name = "box11"
Address = "10.1.2.11"
FDPort = 9102
Catalog = MyCatalog
Password = "JI7sPpwmhETA2fhr31a+EyLbtI66uFCQw/TbY4PuO/0A"
File Retention = 30 days
Job Retention = 30 days
AutoPrune = yes
Maximum Concurrent Jobs = 20
}
Pool
{
Name = full_box11.pool
Pool Type = Backup
LabelFormat = full_box11_pool-
Recycle = yes
AutoPrune = yes
VolumeRetention = 30 days
Accept Any Volume = yes
Maximum Volume Jobs = 4
}
Pool
{
Name = dif_box11.pool
Pool Type = Backup
LabelFormat = dif_box11_pool-
Recycle = yes
AutoPrune = yes
VolumeRetention = 20 days
Accept Any Volume = yes
Maximum Volume Jobs = 10
}
Pool
{
Name = inc_box11.pool
Pool Type = Backup
LabelFormat = inc_box11_pool-
Recycle = yes
AutoPrune = yes
VolumeRetention = 20 days
Accept Any Volume = yes
Maximum Volume Jobs = 30
}
Job
{
Name = box11_etc
Client = box11
JobDefs = DefJob2
FileSet = box11_etc
Schedule = Box
Write Bootstrap = "/var/lib/bacula/box11.bsr"
Full Backup Pool = full_box11.pool
Differential Backup Pool = dif_box11.pool
Incremental Backup Pool = inc_box11.pool
}
FileSet
{
Name = box11_etc
Include
{
Options
{
signature=MD5
};
File = /etc
}
}
Storage {
Name = HDD2
Address = "10.1.2.24"
SDPort = 9103
Password = "fewfwefwef"
Device = STORAGE2 # must be same as Device in Storage daemon
Media Type = HDD2 # must be same as MediaType in Storage daemon
Maximum Concurrent Jobs = 20
}
Storage {
Name = HDD3
Address = "10.1.2.24"
SDPort = 9103
Password = "fewfwefwef"
Device = STORAGE3 # must be same as Device in Storage daemon
Media Type = HDD3 # must be same as MediaType in Storage daemon
Maximum Concurrent Jobs = 20
}
Messages {
Name = StdMail
mailcommand = "/usr/sbin/bsmtp -h localhost -f \"\(Bacula\) %r\" -s
\"Bacula: %t %e of %c %l\" %r"
operatorcommand = "/usr/sbin/bsmtp -h localhost -f \"\(Bacula\) %r\" -s
\"Bacula: Intervention needed for %j\" %r"
mail = [EMAIL PROTECTED] = all, !skipped, !terminate
operator = [EMAIL PROTECTED] = mount
MailOnError = [EMAIL PROTECTED] = all, !skipped, !terminate
console = all, !skipped, !saved
append = "/var/lib/bacula/log" = all, !skipped
}
JobDefs {
Name = DefJob2
Type = Backup
Messages = StdMail
Pool = Default
Priority = 10
Storage = HDD2
}
JobDefs {
Name = DefJob3
Type = Backup
Messages = StdMail
Pool = Default
Priority = 10
Storage = HDD3
}
Schedule {
Name = Box
Run = Level=Full 1st sun at 01:05
Run = Level=Differential 2nd-5th sun at 01:05
Run = Level=Incremental mon-sat at 01:05
}
Schedule {
Name = Daily
Run = Level=Full daily at 03:15
}
Schedule {
Name = Weekly
Run = Level=Full sun at 01:05
}
Schedule {
Name = Monthly
Run = Level=Full on 1 at 01:05
}
Schedule {
Name = Biweekly
Run = Level=Full on 1 at 01:05
Run = Level=Full on 15 at 01:05
}
@/usr/local/bacula/etc/boxes.conf