Hi to all:
I'm trying to fit in this scenario:
One pool per day with one LTO-2 tape per day
>From monday to Thuesday Incremental backup of 4 servers
Weekend ( Sunday ) Full Backup of each one
Every backup will be retained for 6 days and then reuse the daily trape
corresponding to each day.
I've followed
http://www.bacula.org/rel-manual/Backup_Strategies.html#SECTION003030000000000000000
as guide example, but when I try to start bacula-dir, refuses with the error
message:
Starting Bacula Director services: 15-jun 19:48 bacula-dir: Fatal
error: "pool" directive in Job "nclserver01-diario" resource is
required, but not found.
15-jun 19:48 bacula-dir: Fatal error: "pool" directive in Job
"nclserver02-diario" resource is required, but not found.
15-jun 19:48 bacula-dir: Fatal error: "pool" directive in Job
"nclserver03-diario" resource is required, but not found.
15-jun 19:48 bacula-dir: Fatal error: "pool" directive in Job
"nclserver04-diario" resource is required, but not found.
15-jun 19:48 bacula-dir ERROR TERMINATION
Please correct configuration file: /etc/bacula/bacula-dir.conf
[FALLĂ“]
I'm not able to see where is my error, any help will be appreciated, If
I'm not able to solve it, i will return to my previous config ( full
each day ) but I prefer to run with the new config to test how is going.
My bacula-dir.conf:
#
# Default Bacula Director Configuration file
#
# The only thing that MUST be changed is to add one or more
# file or directory names in the Include directive of the
# FileSet resource.
#
# For Bacula release 2.0.3 (06 March 2007) -- redhat
#
# You might also want to change the default email address
# from root to your address. See the "mail" and "operator"
# directives in the Messages resource.
#
Director { # define myself
Name = nclserver01-dir
DIRport = 9101 # where we listen for UA
connections
QueryFile = "/etc/bacula/query.sql"
WorkingDirectory = "/var/bacula"
PidDirectory = "/var/run"
Maximum Concurrent Jobs = 1
Password = "(xxx) # Console password
Messages = Daemon
}
Job {
Name = "nclserver01-diario"
FileSet = "Full Set nclserver01"
Client = nclserver01-fd
Schedule = "diario"
Type = Backup
Messages = Standard
Storage = HPLTO-2
Priority = 10
Write Bootstrap = "/var/bacula/nclserver01-diario.bsr"
}
Job {
Name = "nclserver02-diario"
FileSet = "Full Set nclserver02"
Client = nclserver02-fd
Schedule = "diario"
Type = Backup
Messages = Standard
Storage = HPLTO-2
Priority = 10
Write Bootstrap = "/var/bacula/nclserver02-diario.bsr"
}
Job {
Name = "nclserver03-diario"
FileSet = "Full Set nclserver03"
Client = nclserver03-fd
Schedule = "diario"
Type = Backup
Messages = Standard
Storage = HPLTO-2
Priority = 10
Write Bootstrap = "/var/bacula/nclserver03-diario.bsr"
}
Job {
Name = "nclserver04-diario"
FileSet = "Full Set nclserver04"
Client = nclserver04-fd
Schedule = "diario"
Type = Backup
Messages = Standard
Storage = HPLTO-2
Priority = 10
Write Bootstrap = "/var/bacula/nclserver04-diario.bsr"
}
# List of files to be backed up
FileSet {
Name = "Full Set nclserver02"
Include {
File = /boot
File = /
File = /opt/nucliexperts/comu
File = /opt/nucliexperts/homes
Options {
signature = MD5
}
}
Exclude {
File = /proc
File = /tmp
File = /.journal
File = /.fsck
File = /media
File = /mnt
File = /sys
File = /opt/maquines_virtuals
File = /opt/maquines_virtuals_II
File = /opt/maquines_virtuals_III
File = /opt/backups_bacula
File = /usr/lib/oracle/xe
}
}
FileSet {
Name = "Full Set nclserver03"
Include {
File = /boot
File = /
File = /home
File = /usr
File = /var
File = /u01
Options {
signature = MD5
}
}
Exclude {
File = /proc
File = /tmp
File = /.journal
File = /.fsck
File = /media
File = /mnt
File = /sys
File=/tmp
}
}
FileSet {
Name = "Full Set nclserver01"
Include {
File = /
Options {
signature = MD5
}
}
Exclude {
File = /proc/
File = /tmp/
File = /.journal
File = /.fsck
File = /media/
File = /mnt/
File = /sys
File=/opt/pool_backups/
}
}
FileSet {
Name = "Full Set nclserver04"
Include {
File = /
File = /boot
File = /home
File = /tmp
File = /usr
File = /var
File = /opt/dbm
File = /oracle
Options {
signature = MD5
}
}
Exclude {
File = /proc/
File = /tmp/
File = /.journal
File = /.fsck
File = /media/
File = /mnt/
File = /sys
File=/oracle/ias1012/oradata/asdb
}
}
FileSet {
Name = "backup rman nclserver03"
Include {
File = /home/oracle/backup_rman/
Options {
signature = MD5
}
}
Exclude {
File = /
}
}
#
# 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 = "diario"
Run = Level=Incremental Pool=DiarioLunes Monday at 10:00pm
Run = Level=Incremental Pool=DiarioMartes Tuesday at 10:00pm
Run = Level=Incremental Pool=DiarioMiercoles Wednesday at
10:00pm
Run = Level=Incremental Pool=DiarioJueves Thursday at 10:00pm
Run = Level=Full Pool=FinDeSemana Sunday at 8:00am
}
# This schedule does the catalog. It starts after the
WeeklyCycle
#Schedule {
# Name = "despuesBackup"
# Run = Full sun-sat at 23:10
#}
# This is the backup of the catalog
FileSet {
Name = "BaculaCatalog"
Include {
Options {
signature = MD5
}
File = /var/bacula/bacula.sql
}
}
Client {
Name = nclserver02-fd
Address =
FDPort = 9102
Catalog = C
Password = " # password for FileDaemon
File Retention = 30 days # 30 days
Job Retention = 6 months # six months
AutoPrune = yes # Prune expired Jobs/Files
}
Client {
Name = nclserver03-fd
Address = n
FDPort = 9102
Catalog = A
Password = " # password for FileDaemon
File Retention = 30 days # 30 days
Job Retention = 6 months # six months
AutoPrune = yes # Prune expired Jobs/Files
}
Client {
Name = nclserver01-fd
Address = (XXX)
FDPort = 9102
Catalog =
Password = "(XXX) # password for FileDaemon
File Retention = 30 days # 30 days
Job Retention = 6 months # six months
AutoPrune = yes # Prune expired Jobs/Files
}
Client {
Name = nclserver04-fd
Address = n(XXXX)
FDPort = 9102
Catalog = C(XXX)
Password = "(XXX) # password for FileDaemon
File Retention = 30 days # 30 days
Job Retention = 6 months # six months
AutoPrune = yes # Prune expired Jobs/Files
}
#
# Second Client (File Services) to backup
# You should change Name, Address, and Password before using
#
#Client {
# Name = el4_64_build2-fd
# Address = el4_64_build2
# FDPort = 9102
# Catalog = MyCatalog
# Password = "qMqZFgsxHFQhPwbyyqtGv3ppvhhAubDTBg3VeYHt3hUV2"
# password for FileDaemon 2
# File Retention = 30 days # 30 days
# Job Retention = 6 months # six months
# AutoPrune = yes # Prune expired
Jobs/Files
#}
# Definition of file storage device
#Storage {
# Name = File
# Do not use "localhost" here
# Address = el4_64_build # N.B. Use a fully
qualified name here
# SDPort = 9103
# Password = "uWfgXjTwtYr8YTyo6YAI729YLe79G2RU67ACWbQ3EGdP"
# Device = FileStorage
# Media Type = File
#}
# Definition of DDS tape storage device
Storage {
Name = HPLTO-2
# Do not use "localhost" here
Address = (xxx) # N.B. Use a fully qualified
name here
SDPort = 9103
Password = "(xxx) # password for Storage daemon
Device = HPLTO-2 # must be same as Device
in Storage daemon
Media Type = LTO-2 # must be same as
MediaType in Storage daemon
Autochanger = no # enable for autochanger
device
}
# Definition of DVD storage device
Storage {
Name = "DVD"
# Do not use "localhost" here
Address = nc(xxx) # N.B. Use a fully qualified
name here
SDPort = 9103
Password = "(XXX)
Device = "DVD Writer"
MediaType = "DVD"
}
# Generic catalog service
Catalog {
Name = (xxx)
dbnam(xxxx)
}
# Reasonable message delivery -- send most everything to email
address
# and to the console
Messages {
Name = Standard
#
# NOTE! If you send to two email or more email addresses, you
will need
# to replace the %r in the from field (-f part) with a single
valid
# email address in both the mailcommand and the
operatorcommand.
# What this does is, it sets the email address that emails
would display
# in the FROM field, which is by default the same email as
they're being
# sent to. However, if you send email to more than one
address, then
# you'll have to set the FROM address manually, to a single
address.
# for example, a '[EMAIL PROTECTED]', is better since that
tends to
# tell (most) people that its coming from an automated source.
#
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
operator = [EMAIL PROTECTED] = mount
console = all, !skipped, !saved
#
# WARNING! the following will create a file that you must cycle
from
# time to time as it will grow indefinitely. However,
it will
# also keep all your messages if they scroll off the
console.
#
append = "/var/bacula/log" = all, !skipped
}
#
# Message delivery for daemon messages (no job).
Messages {
Name = Daemon
mailcommand = "/usr/sbin/bsmtp -h localhost -f \"\(Bacula\) %r
\" -s \"Bacula daemon message\" %r"
mail = [EMAIL PROTECTED] = all, !skipped
console = all, !skipped, !saved
append = "/var/bacula/log" = all, !skipped
}
# Default pool definition
Pool {
Name = DiarioLunes
Maximum Volumes = 1
Pool Type = Backup
Recycle = yes # Bacula can automatically
recycle Volumes
AutoPrune = yes # Prune expired volumes
Volume Retention = 6 days # one year
}
Pool {
Name = DiarioMartes
Maximum Volumes = 1
Pool Type = Backup
Recycle = yes # Bacula can automatically
recycle Volumes
AutoPrune = yes # Prune expired volumes
Volume Retention = 6 days # one year
}
Pool {
Name = DiarioMiercoles
Maximum Volumes = 1
Pool Type = Backup
Recycle = yes # Bacula can automatically
recycle Volumes
AutoPrune = yes # Prune expired volumes
Volume Retention = 6 days # one year
}
Pool {
Name = DiarioJueves
Maximum Volumes = 1
Pool Type = Backup
Recycle = yes # Bacula can automatically
recycle Volumes
AutoPrune = yes # Prune expired volumes
Volume Retention = 6 days # one year
}
Pool {
Name = DiarioViernes
Maximum Volumes = 1
Pool Type = Backup
Recycle = yes # Bacula can automatically
recycle Volumes
AutoPrune = yes # Prune expired volumes
Volume Retention = 6 days # one year
}
Pool {
Name = FinDeSemana
Maximum Volumes = 1
Pool Type = Backup
Recycle = yes # Bacula can automatically
recycle Volumes
AutoPrune = yes # Prune expired volumes
Volume Retention = 6 days
}
Pool {
Name = PoolTest
Maximum Volumes = 1
Pool Type = Backup
Recycle = yes # Bacula can automatically
recycle Volumes
AutoPrune = yes # Prune expired volumes
Volume Retention = 1 days
}
Console {
Name = nclserver01-mon
Password = "XXXX"
CommandACL = status, .status
}
-------------------------------------------------------------------------
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
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users