Hey Gang,
I'm going to rephrase my question about my difficulty backing up to tape.
Given the following volume listing from bconsole and my bacula-dir.conf file,
will the backup to tape occur when required or will Bacula (v.2.2.5) again ask
for appendable media in the WeeklyPool?
-=-=-==-=-=-=-=--=-==-=-=-=--===-=-
*list volumes
Automatically selected Catalog: MyCatalog
Using Catalog "MyCatalog"
Pool: Default
<...snip...>
Pool: WeeklyPool
+---------+-------------+-----------+---------+----------+----------+--------------+---------+------+-----------+-----------+---------------------+
| MediaId | VolumeName | VolStatus | Enabled | VolBytes | VolFiles |
VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten |
+---------+-------------+-----------+---------+----------+----------+--------------+---------+------+-----------+-----------+---------------------+
| 21 | Weekly-0001 | Append | 1 | 64,512 | 0 |
2,937,600 | 1 | 0 | 0 | DAT-72 | 0000-00-00 00:00:00 |
+---------+-------------+-----------+---------+----------+----------+--------------+---------+------+-----------+-----------+---------------------+
Pool: Scratch
No results to list.
<...snip...>
#############################################################
#
# Bacula Director Configuration file for AirAdvice, Inc.
#
# For Bacula release 2.2.5 (09 October 2007) -- redhat (Zod)
#
# Initial version, 25Oct2007, DJG
#############################################################
#################### JobDefns #########################
# Default Job Definition
JobDefs {
Name = DefaultJob
Type = Backup
Schedule = "WeeklyCycle"
Storage = File
Messages = Standard
Pool = Default
Priority = 10
}
@/etc/bacula/bacula-dir-filesets.conf
@/etc/bacula/bacula-dir-jobs.conf
@/etc/bacula/bacula-dir-clients.conf
@/etc/bacula/bacula-dir-storage.conf
@/etc/bacula/bacula-dir-pools.conf
@/etc/bacula/bacula-dir-schedules.conf
################### Directors ########################
Director {
Name = DURANGO-dir
DIRport = 9101 # where we listen for UA
connections
QueryFile = "/etc/bacula/query.sql"
WorkingDirectory = "/var/bacula/working"
PidDirectory = "/var/run"
Maximum Concurrent Jobs = 1
Password = "...yyyy..." # Console password
Messages = Daemon
}
########################## Catalog ##########################
# Generic catalog service
Catalog {
Name = MyCatalog
dbname = bacula
user = bacula
password = ""
}
######################## Messages ##########################
# Reasonable message delivery -- send most everything to email address
# and to the console
Messages {
Name = Standard
mailcommand = "/sbin/bsmtp -h localhost -f \"\(Bacula\) \<%r\>\" -s \"Bacula:
%t %e of %c %l\" %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
#
# 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/working/log" = all, !skipped
}
# Send messages only to the console
Messages {
Name = ConsOnly
console = all, !skipped, !saved
append = "/var/bacula/working/log" = all, !skipped
}
# Message delivery for daemon messages (no job).
Messages {
Name = Daemon
mailcommand = "/sbin/bsmtp -h localhost -f \"\(Bacula\) \<%r\>\" -s \"Bacula
daemon message\" %r"
mail = [EMAIL PROTECTED] = all, !skipped
console = all, !skipped, !saved
append = "/var/bacula/working/log" = all, !skipped
}
######################## Console ############################
#
# Restricted console used by tray-monitor to get the status of the director
#
Console {
Name = DURANGO-mon
Password = "...xxx..."
CommandACL = status, .status
}
################### Schedules #########################
#
# default Daily full backup
Schedule {
Name = "DailyFull"
Run = Full mon-sat at 21:07
}
# The WeeklyCycle uses 5 different pools so that tapes can be recycled weekly
Schedule {
Name = "WeeklyCycle"
Run = Level=Differential Pool=SaturdayPool Saturday at 22:00
Run = Level=Differential Pool=SundayPool Sunday at 22:00
Run = Level=Differential Pool=MondayPool Monday at 22:00
Run = Level=Differential Pool=TuesdayPool Tuesday at 22:00
Run = Level=Differential Pool=WednesdayPool Wednesday at 22:00
Run = Level=Full Pool=WeeklyPool Thursday at 22:00
Run = Level=Differential Pool=FridayPool Friday at 22:00
}
# This does the catalog. It starts after the WeeklyCycle
#
# Never worked!!!! 01Nov2007, DJG
#
#Schedule {
# Name = "WeeklyCycleAfterBackup"
# Run = Level=Full Pool=SaturdayPool Saturday at 22:15
# Run = Level=Full Pool=SundayPool Sunday at 22:15
# Run = Level=Full Pool=MondayPool Monday at 22:15
# Run = Level=Full Pool=TuesdayPool Tuesday at 22:15
# Run = Level=Full Pool=WednesdayPool Wednesday at 22:15
# Run = Level=Full Pool=WeeklyPool Thursday at 22:15
# Run = Level=Full Pool=FridayPool Friday at 22:15
#}
############################ Pools ##########################
# Default pool definition
Pool {
Name = Default
Pool Type = Backup
}
# Saturday Storage pool
Pool {
Name = SaturdayPool
Pool Type = Backup
Recycle = yes
AutoPrune = yes
Volume Retention = 6d
# Maximum Volume Jobs = 6
}
<...snip...>
# Weekly storage pool
Pool {
Name = WeeklyPool
Pool Type = Backup
Recycle = yes
AutoPrune = yes
Volume Retention = 34d
# Maximum Volume Jobs = 6
}
<...snip...>
######################## Storage ##################################
# Definition of file storage device
Storage {
Name = File
Address = DURANGO # N.B. Use a fully qualified name here
SDPort = 9103
Password = "...xyz..."
Device = FileStorage
Media Type = File
}
# Definition of DAT72 tape storage device
Storage {
Name = DAT72
Address = DURANGO
SDPort = 9103
Password = "...abc..." # Storage daemon password
Device = DAT72
Media Type = DAT-72
Autochanger = no
}
###################### Jobs ###########################
# Associate DURANGO's files with the DURANGO server
Job {
Name = "DURANGO-Full"
JobDefs = "DefaultJob"
Client = "DURANGO-fd"
FileSet = "DURANGO-homes"
Write Bootstrap = "/var/bacula/working/DURANGO.bsr"
}
# Associate DB2's files with the DB2 server allowing for spooling
Job {
Name = "DB2-Full"
# Name = "DB2-Full-Spooled"
JobDefs = "DefaultJob"
Client = "DB2-fd"
FileSet = "DB2-airadvice_BU"
Write Bootstrap = "/var/bacula/working/DB2.bsr"
Level = Full
SpoolData = yes
}
# Associate SINALOA's files with the SINALOA server
Job {
Name = "SINALOA-Full"
JobDefs = "DefaultJob"
Client = "SINALOA-fd"
FileSet = "SINALOA_BU"
Write Bootstrap = "/var/bacula/working/SINALOA.bsr"
SpoolData = yes
}
# Associate VERACRUZ's files with the VERACRUZ server
Job {
Name = "VERACRUZ-Full"
JobDefs = "DefaultJob"
Client = "VERACRUZ-fd"
FileSet = "VERACRUZ_BU"
Write Bootstrap = "/var/bacula/working/VERACRUZ.bsr"
SpoolData = yes
}
##################### Clients #########################
# DURANGO server
Client {
Name = DURANGO-fd
Address = DURANGO
FDPort = 9102
Catalog = MyCatalog
Password = "l45Qk...."
File Retention = 30 days # 30 days
Job Retention = 30 days # 30 days
AutoPrune = yes # Prune expired Jobs/Files
}
# DB2 server
Client {
Name = DB2-fd
Address = DB2
FDPort = 9102
Catalog = MyCatalog
Password = "l45Qk...."
File Retention = 30 days # 30 days
Job Retention = 30 days # 30 days
AutoPrune = yes # Prune expired Jobs/Files
}
# SINALOA server
Client {
Name = SINALOA-fd
Address = SINALOA
FDPort = 9102
Catalog = MyCatalog
Password = "l45Qk...."
File Retention = 30 days # 30 days
Job Retention = 30 days # 30 days
AutoPrune = yes # Prune expired Jobs/Files
}
# VERACRUZ server
Client {
Name = VERACRUZ-fd
Address = VERACRUZ
FDPort = 9102
Catalog = MyCatalog
Password = "l45Qk...."
File Retention = 30 days # 30 days
Job Retention = 30 days # 30 days
AutoPrune = yes # Prune expired Jobs/Files
}
#################### FileSets #########################
# Catalog FileSet
FileSet {
Name = "Catalog"
Include {
Options {
signature = MD5
}
File = /var/bacula/working/bacula.sql
}
Exclude {}
}
<...snip...>
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
David Gardner
email: djgardner(at)yahoo.com
Yahoo! IM: djgardner
AIM: dgardner09
"Everything is a learning experience, even a mistake."
____________________________________________________________________________________
Be a better sports nut! Let your teams follow you
with Yahoo Mobile. Try it now.
http://mobile.yahoo.com/sports;_ylt=At9_qDKvtAbMuh1G1SQtBI7ntAcJ
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users