Hello,
I'm starting to implement a bacula environment.
Now I have a problem with two jobs started at the same time. One starts
without error but the second throws errors while the first one is
running (log file)
Can someone help me?
Thanks
Moritz Herrmann
#
# For Bacula release 5.0.1 (24 February 2010) -- ubuntu 10.04
#
Director { # define myself
Name = backup-dir
DIRport = 9101 # where we listen for UA connections
QueryFile = "/etc/bacula/scripts/query.sql"
WorkingDirectory = "/var/lib/bacula"
PidDirectory = "/var/run/bacula"
Maximum Concurrent Jobs = 3
Password = "xx"
Messages = Daemon
DirAddress = 127.0.0.1
}
# Generic catalog service
Catalog {
Name = MyCatalog
# Uncomment the following line if you want the dbi driver
# dbdriver = "dbi:sqlite3"; dbaddress = 127.0.0.1; dbport =
dbname = bacula; DB Address = ""; dbuser = "bacula"; dbpassword = "xx"
}
# Definition of file storage device
Storage {
Name = File
# Do not use "localhost" here
Address = xxx.xxx.xxx.87 # host running bacula director
SDPort = 9103
Password = "xx"
Device = FileStorage
Media Type = File
Maximum Concurrent Jobs = 3
}
# File Pool definition
Pool {
Name = File
Pool Type = Backup
Recycle = no # Bacula can automatically recycle Volumes
AutoPrune = yes # Prune expired volumes
Volume Retention = 180 days # one year
Maximum Volume Jobs = 1
Label Format =
"${Job}_${Year}-${Month:p/2/0/r}-${Day:p/2/0/r}_${Hour:p/2/0/r}h${Minute:p/2/0/r}m"
Storage = File
}
# Reasonable message delivery -- send most everything to email address and to
the console
Messages {
Name = Standard
mailcommand = "/usr/lib/bacula/bsmtp -h localhost -f \"\(Bacula\) \<%r\>\" -s
\"Bacula: %t %e of %c %l\" %r"
operatorcommand = "/usr/lib/bacula/bsmtp -h localhost -f \"\(Bacula\)
\<%r\>\" -s \"Bacula: Intervention needed for %j\" %r"
mail = root = all, !skipped
operator = root = mount
console = all, !skipped, !saved
append = "/var/lib/bacula/log" = all, !skipped
catalog = all
}
#
# Message delivery for daemon messages (no job).
Messages {
Name = Daemon
mailcommand = "/usr/lib/bacula/bsmtp -h localhost -f \"\(Bacula\) \<%r\>\" -s
\"Bacula daemon message\" %r"
mail = root = all, !skipped
console = all, !skipped, !saved
append = "/var/lib/bacula/log" = all, !skipped
}
#
# Restricted console used by tray-monitor to get the status of the director
#
Console {
Name = backup-mon
Password = "xx"
CommandACL = status, .status
}
# SCHEDULES
# -----------------------------------------------------------------------------
# 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 23:05
Run = Differential 2nd-5th sun at 23:05
#Run = Incremental mon-sat at 23:05
Run = Incremental mon-sat at 10:05
}
# This schedule does the catalog. It starts after the WeeklyCycle
Schedule {
Name = "WeeklyCycleAfterBackup"
#Run = Full sun-sat at 23:10
Run = Full sun-sat at 10:05
}
Schedule {
Name = "Desktop"
Run = Incremental mon-fri at 10:30
}
# FILE SET
# -----------------------------------------------------------------------------
# List of files to be backed up
FileSet {
Name = "Full Set"
Include {
Options {
signature = MD5
}
File = /
}
Exclude {
File = /var/lib/bacula
File = /media/storage
File = /proc
File = /tmp
File = /.journal
File = /.fsck
}
}
# This is the backup of the catalog
FileSet {
Name = "Catalog"
Include {
Options {
signature = MD5
}
File = "/var/lib/bacula/bacula.sql"
}
}
FileSet {
Name = "FullWin7Set"
Ignore FileSet Changes = yes
Include {
Options {
compression = GZIP
signature = MD5
IgnoreCase = yes
Exclude = yes
# Exclude junction points
WildDir = "[A-Z]:/Dokumente und Einstellungen"
WildDir = "[A-Z]:/Documents and Settings"
WildDir = "[A-Z]:/Program Files/Gemeinsame Dateien"
WildDir = "[A-Z]:/Program Files/Windows NT/Zubehör"
WildDir = "[A-Z]:/ProgramData/Anwendungsdaten"
WildDir = "[A-Z]:/ProgramData/Application Data"
WildDir = "[A-Z]:/ProgramData/Desktop"
WildDir = "[A-Z]:/ProgramData/Documents"
WildDir = "[A-Z]:/ProgramData/Dokumente"
WildDir = "[A-Z]:/ProgramData/Favoriten"
WildDir = "[A-Z]:/ProgramData/Favorites"
WildDir = "[A-Z]:/ProgramData/Microsoft/Windows/Start Menu/Programme"
WildDir = "[A-Z]:/ProgramData/Start Menu"
WildDir = "[A-Z]:/ProgramData/Startmenü"
WildDir = "[A-Z]:/ProgramData/Templates"
WildDir = "[A-Z]:/ProgramData/Vorlagen"
WildDir = "[A-Z]:/Programme"
WildDir = "[A-Z]:/Documents and Settings"
WildDir = "[A-Z]:/Users/All Users"
WildDir = "[A-Z]:/Users/Default User"
WildDir = "[A-Z]:/Users/*/AppData/Local/Application Data"
WildDir = "[A-Z]:/Users/*/AppData/Local/Anwendungsdaten"
WildDir = "[A-Z]:/Users/*/AppData/Local/History"
WildDir = "[A-Z]:/Users/*/AppData/Local/Verlauf"
WildDir = "[A-Z]:/Users/*/AppData/Local/Temporary Internet Files"
WildDir = "[A-Z]:/Users/*/Application Data"
WildDir = "[A-Z]:/Users/*/Anwendungsdaten"
WildDir = "[A-Z]:/Users/*/Gemeinsame Dateien"
WildDir = "[A-Z]:/Users/*/Cookies"
WildDir = "[A-Z]:/Users/*/Documents/My Music"
WildDir = "[A-Z]:/Users/*/Documents/Eigene Musik"
WildDir = "[A-Z]:/Users/*/Documents/My Pictures"
WildDir = "[A-Z]:/Users/*/Documents/Eigene Bilder"
WildDir = "[A-Z]:/Users/*/Documents/My Videos"
WildDir = "[A-Z]:/Users/*/Documents/Eigene Videos"
WildDir = "[A-Z]:/Users/*/Local Settings"
WildDir = "[A-Z]:/Users/*/Lokale Einstellungen"
WildDir = "[A-Z]:/Users/*/My Documents"
WildDir = "[A-Z]:/Users/*/Eigene Dateien"
WildDir = "[A-Z]:/Users/*/NetHood"
WildDir = "[A-Z]:/Users/*/Netzwerkumgebung"
WildDir = "[A-Z]:/Users/*/PrintHood"
WildDir = "[A-Z]:/Users/*/Druckumgebung"
WildDir = "[A-Z]:/Users/*/Recent"
WildDir = "[A-Z]:/Users/*/SendTo"
WildDir = "[A-Z]:/Users/*/Start Menu"
WildDir = "[A-Z]:/Users/*/Startmenü"
WildDir = "[A-Z]:/Users/*/Templates"
WildDir = "[A-Z]:/Users/*/Vorlagen"
# Temporary directories & files
WildDir = "[A-Z]:/Windows/Temp"
WildDir = "[A-Z]:/Users/*/AppData/Local/Mozilla/Firefox/Profiles/*/Cache"
# Recycle bins
WildDir = "[A-Z]:/$Recycle.Bin"
# Swap files
WildFile = "[A-Z]:/pagefile.sys"
}
ExcludeDirContaining = "bacula_exclude.dir"
File = "C:/"
File = "E:/"
File = "\\<C:/bacula_include.txt"
}
}
# CLIENTS
# -----------------------------------------------------------------------------
Client {
Name = backup.localdomain
Address = localhost
FDPort = 9102
Catalog = MyCatalog
Password = "xx" # password for FileDaemon
File Retention = 30 days # 30 days
Job Retention = 6 months # six months
AutoPrune = yes # Prune expired Jobs/Files
}
Client {
Name = r25-fd
Address = xxx.xxx.xxx.125
FDPort = 9102
Catalog = MyCatalog
Password = "xx" # password for FileDaemon
File Retention = 30 days # 30 days
Job Retention = 6 months # six months
AutoPrune = yes # Prune expired Jobs/Files
}
Client {
Name = r33-fd
Address = xxx.xxx.xxx.133
FDPort = 9102
Catalog = MyCatalog
Password = "xx" # password for FileDaemon
File Retention = 30 days # 30 days
Job Retention = 6 months # six months
AutoPrune = yes # Prune expired Jobs/Files
}
Client {
Name = r35-fd
Address = xxx.xxx.xxx.135
FDPort = 9102
Catalog = MyCatalog
Password = "xx" # password for FileDaemon
File Retention = 30 days # 30 days
Job Retention = 6 months # six months
AutoPrune = yes # Prune expired Jobs/Files
}
# JOBS
# -----------------------------------------------------------------------------
JobDefs {
Name = "DefaultJob"
Type = Backup
Level = Incremental
Client = backup.localdomain
FileSet = "Full Set"
Schedule = "WeeklyCycle"
Pool = File
Messages = Standard
Priority = 10
Write Bootstrap = "/var/lib/bacula/%c.bsr"
}
JobDefs {
Name = "Win7"
Type = Backup
Level = Incremental
Client = backup.localdomain
FileSet = "FullWin7Set"
Schedule = "Desktop"
Pool = File
Messages = Standard
Priority = 10
Write Bootstrap = "/var/lib/bacula/%c.bsr"
}
# Define the main nightly save backup job.
Job {
Name = "backup.localdomain"
JobDefs = "DefaultJob"
}
# Backup the catalog database (after the nightly save)
Job {
Name = "BackupCatalog"
JobDefs = "DefaultJob"
Level = Full
FileSet="Catalog"
Schedule = "WeeklyCycleAfterBackup"
# This creates an ASCII copy of the catalog
# Arguments to make_catalog_backup.pl are:
# make_catalog_backup.pl <catalog-name>
RunBeforeJob = "/etc/bacula/scripts/make_catalog_backup.pl MyCatalog"
# This deletes the copy of the catalog
RunAfterJob = "/etc/bacula/scripts/delete_catalog_backup"
Write Bootstrap = "/var/lib/bacula/%n.bsr"
Priority = 11 # run after main backup
}
#
# Standard Restore template, to be changed by Console program
# Only one such job is needed for all Jobs/Clients/Storage ...
#
Job {
Name = "RestoreFiles"
Type = Restore
Client = backup.localdomain
FileSet = "Full Set"
Pool = File
Messages = Standard
}
Job {
Name = "R25"
Client = r25-fd
JobDefs = "Win7"
}
Job {
Name = "R33"
Client = r33-fd
JobDefs = "Win7"
}
Job {
Name = "R35"
Client = r35-fd
Enabled = no
JobDefs = "Win7"
}
2012-01-13 10:30:00 backup-dir JobId 34: No prior Full backup Job record
found.
2012-01-13 10:30:00 backup-dir JobId 34: No prior or suitable Full backup
found in catalog. Doing FULL backup.
2012-01-13 10:30:04 backup-dir JobId 34: Start Backup JobId 34,
Job=R33.2012-01-13_10.30.00_35
2012-01-13 10:30:04 backup-dir JobId 34: Created new Volume
"R33_2012-01-13_10h30m" in catalog.
2012-01-13 10:30:04 backup-dir JobId 34: Error: sql_create.c:401 Volume
"R33_2012-01-13_10h30m" already exists.
2012-01-13 10:30:04 backup-dir JobId 34: Error: sql_create.c:401 Volume
"R33_2012-01-13_10h30m" already exists.
2012-01-13 10:30:04 backup-dir JobId 34: Error: sql_create.c:401 Volume
"R33_2012-01-13_10h30m" already exists.
2012-01-13 10:31:04 backup-dir JobId 34: Created new Volume
"R33_2012-01-13_10h31m" in catalog.
2012-01-13 10:31:04 backup-dir JobId 34: Error: sql_create.c:401 Volume
"R33_2012-01-13_10h31m" already exists.
2012-01-13 10:31:04 backup-dir JobId 34: Error: sql_create.c:401 Volume
"R33_2012-01-13_10h31m" already exists.
2012-01-13 10:31:04 backup-dir JobId 34: Error: sql_create.c:401 Volume
"R33_2012-01-13_10h31m" already exists.
2012-01-13 10:32:04 backup-dir JobId 34: Created new Volume
"R33_2012-01-13_10h32m" in catalog.
2012-01-13 10:32:04 backup-dir JobId 34: Error: sql_create.c:401 Volume
"R33_2012-01-13_10h32m" already exists.
2012-01-13 10:32:04 backup-dir JobId 34: Error: sql_create.c:401 Volume
"R33_2012-01-13_10h32m" already exists.
2012-01-13 10:32:04 backup-dir JobId 34: Error: sql_create.c:401 Volume
"R33_2012-01-13_10h32m" already exists.
2012-01-13 10:32:34 backup-dir JobId 34: Error: sql_create.c:401 Volume
"R33_2012-01-13_10h32m" already exists.
2012-01-13 10:32:34 backup-dir JobId 34: Error: sql_create.c:401 Volume
"R33_2012-01-13_10h32m" already exists.
2012-01-13 10:32:35 backup-dir JobId 34: Error: sql_create.c:401 Volume
"R33_2012-01-13_10h32m" already exists.
2012-01-13 10:33:05 backup-dir JobId 34: Created new Volume
"R33_2012-01-13_10h33m" in catalog.
2012-01-13 10:33:05 backup-dir JobId 34: Error: sql_create.c:401 Volume
"R33_2012-01-13_10h33m" already exists.
2012-01-13 10:33:05 backup-dir JobId 34: Error: sql_create.c:401 Volume
"R33_2012-01-13_10h33m" already exists.
2012-01-13 10:33:05 backup-dir JobId 34: Error: sql_create.c:401 Volume
"R33_2012-01-13_10h33m" already exists.
2012-01-13 10:33:35 backup-dir JobId 34: Error: sql_create.c:401 Volume
"R33_2012-01-13_10h33m" already exists.
2012-01-13 10:33:35 backup-dir JobId 34: Error: sql_create.c:401 Volume
"R33_2012-01-13_10h33m" already exists.
2012-01-13 10:33:35 backup-dir JobId 34: Error: sql_create.c:401 Volume
"R33_2012-01-13_10h33m" already exists.
2012-01-13 10:34:05 backup-dir JobId 34: Created new Volume
"R33_2012-01-13_10h34m" in catalog.
2012-01-13 10:34:05 backup-dir JobId 34: Error: sql_create.c:401 Volume
"R33_2012-01-13_10h34m" already exists.
2012-01-13 10:34:05 backup-dir JobId 34: Error: sql_create.c:401 Volume
"R33_2012-01-13_10h34m" already exists.
2012-01-13 10:34:05 backup-dir JobId 34: Error: sql_create.c:401 Volume
"R33_2012-01-13_10h34m" already exists.
2012-01-13 10:34:35 backup-dir JobId 34: Error: sql_create.c:401 Volume
"R33_2012-01-13_10h34m" already exists.
2012-01-13 10:34:35 backup-dir JobId 34: Error: sql_create.c:401 Volume
"R33_2012-01-13_10h34m" already exists.
2012-01-13 10:34:35 backup-dir JobId 34: Error: sql_create.c:401 Volume
"R33_2012-01-13_10h34m" already exists.
2012-01-13 10:35:05 backup-dir JobId 34: Created new Volume
"R33_2012-01-13_10h35m" in catalog.
2012-01-13 10:35:05 backup-dir JobId 34: Error: sql_create.c:401 Volume
"R33_2012-01-13_10h35m" already exists.
2012-01-13 10:35:05 backup-dir JobId 34: Error: sql_create.c:401 Volume
"R33_2012-01-13_10h35m" already exists.
2012-01-13 10:35:05 backup-dir JobId 34: Error: sql_create.c:401 Volume
"R33_2012-01-13_10h35m" already exists.
2012-01-13 10:35:35 backup-dir JobId 34: Error: sql_create.c:401 Volume
"R33_2012-01-13_10h35m" already exists.
2012-01-13 10:35:35 backup-dir JobId 34: Error: sql_create.c:401 Volume
"R33_2012-01-13_10h35m" already exists.
2012-01-13 10:35:35 backup-dir JobId 34: Error: sql_create.c:401 Volume
"R33_2012-01-13_10h35m" already exists.
2012-01-13 10:36:05 backup-dir JobId 34: Created new Volume
"R33_2012-01-13_10h36m" in catalog.
2012-01-13 10:36:05 backup-dir JobId 34: Error: sql_create.c:401 Volume
"R33_2012-01-13_10h36m" already exists.
2012-01-13 10:36:05 backup-dir JobId 34: Error: sql_create.c:401 Volume
"R33_2012-01-13_10h36m" already exists.
2012-01-13 10:36:05 backup-dir JobId 34: Error: sql_create.c:401 Volume
"R33_2012-01-13_10h36m" already exists.
2012-01-13 10:36:35 backup-dir JobId 34: Error: sql_create.c:401 Volume
"R33_2012-01-13_10h36m" already exists.
2012-01-13 10:36:35 backup-dir JobId 34: Error: sql_create.c:401 Volume
"R33_2012-01-13_10h36m" already exists.
2012-01-13 10:36:35 backup-dir JobId 34: Error: sql_create.c:401 Volume
"R33_2012-01-13_10h36m" already exists.
2012-01-13 10:37:05 backup-dir JobId 34: Created new Volume
"R33_2012-01-13_10h37m" in catalog.
2012-01-13 10:37:05 backup-dir JobId 34: Error: sql_create.c:401 Volume
"R33_2012-01-13_10h37m" already exists.
2012-01-13 10:37:05 backup-dir JobId 34: Error: sql_create.c:401 Volume
"R33_2012-01-13_10h37m" already exists.
2012-01-13 10:37:05 backup-dir JobId 34: Error: sql_create.c:401 Volume
"R33_2012-01-13_10h37m" already exists.
2012-01-13 10:37:35 backup-dir JobId 34: Error: sql_create.c:401 Volume
"R33_2012-01-13_10h37m" already exists.
2012-01-13 10:37:35 backup-dir JobId 34: Error: sql_create.c:401 Volume
"R33_2012-01-13_10h37m" already exists.
2012-01-13 10:37:35 backup-dir JobId 34: Error: sql_create.c:401 Volume
"R33_2012-01-13_10h37m" already exists.
2012-01-13 10:38:05 backup-dir JobId 34: Created new Volume
"R33_2012-01-13_10h38m" in catalog.
2012-01-13 10:38:05 backup-dir JobId 34: Error: sql_create.c:401 Volume
"R33_2012-01-13_10h38m" already exists.
2012-01-13 10:38:05 backup-dir JobId 34: Error: sql_create.c:401 Volume
"R33_2012-01-13_10h38m" already exists.
2012-01-13 10:38:06 backup-dir JobId 34: Error: sql_create.c:401 Volume
"R33_2012-01-13_10h38m" already exists.
2012-01-13 10:38:36 backup-dir JobId 34: Error: sql_create.c:401 Volume
"R33_2012-01-13_10h38m" already exists.
2012-01-13 10:38:36 backup-dir JobId 34: Error: sql_create.c:401 Volume
"R33_2012-01-13_10h38m" already exists.
2012-01-13 10:38:36 backup-dir JobId 34: Error: sql_create.c:401 Volume
"R33_2012-01-13_10h38m" already exists.
2012-01-13 10:39:06 backup-dir JobId 34: Created new Volume
"R33_2012-01-13_10h39m" in catalog.
2012-01-13 10:39:06 backup-dir JobId 34: Error: sql_create.c:401 Volume
"R33_2012-01-13_10h39m" already exists.
2012-01-13 10:39:06 backup-dir JobId 34: Error: sql_create.c:401 Volume
"R33_2012-01-13_10h39m" already exists.
2012-01-13 10:39:06 backup-dir JobId 34: Error: sql_create.c:401 Volume
"R33_2012-01-13_10h39m" already exists.
2012-01-13 10:39:36 backup-dir JobId 34: Error: sql_create.c:401 Volume
"R33_2012-01-13_10h39m" already exists.
2012-01-13 10:39:36 backup-dir JobId 34: Error: sql_create.c:401 Volume
"R33_2012-01-13_10h39m" already exists.
2012-01-13 10:39:36 backup-dir JobId 34: Error: sql_create.c:401 Volume
"R33_2012-01-13_10h39m" already exists.
2012-01-13 10:40:06 backup-dir JobId 34: Using Device "FileStorage"
2012-01-13 10:40:06 backup-sd JobId 34: Labeled new Volume
"R33_2012-01-13_10h30m" on device "FileStorage" (/media/storage).
2012-01-13 10:40:06 backup-sd JobId 34: Wrote label to prelabeled Volume
"R33_2012-01-13_10h30m" on device "FileStorage" (/media/storage)
2012-01-13 10:40:06 backup-dir JobId 34: Max Volume jobs exceeded. Marking
Volume "R33_2012-01-13_10h30m" as Used.
2012-01-13 10:40:25 r33-fd JobId 34: Generate VSS snapshots. Driver="VSS
Vista", Drive(s)="CE"
------------------------------------------------------------------------------
RSA(R) Conference 2012
Mar 27 - Feb 2
Save $400 by Jan. 27
Register now!
http://p.sf.net/sfu/rsa-sfdev2dev2
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users