OK, call me stupid but I can't make it work and I can't seem to find the
right "How To".
Do I need to use autochanger?
I have two tape drives, one DLT (which has been running for a long time) and
1 LTO (new drive that I am trying to add).
Trying to run job Client1.
Getting "Fatal Error: Device "Quantum-LTO" with MediaType "DLT" not found
in SD Device resources.
Here are my configs:
# Default Bacula Director Configuration file
# For Bacula release 1.38.3 (04 January 2006) -- redhat (Stentz)
Director { # define myself
Name = Computer-dir
DirAddress = 127.0.0.1
DIRport = 9101 # where we listen for UA connections
QueryFile = "/etc/bacula/bin/query.sql"
WorkingDirectory = "/etc/bacula/working"
PidDirectory = "/etc/bacula/pid"
Maximum Concurrent Jobs = 1
Password = "...................................." # Console
password
Messages = Daemon
}
JobDefs {
Name = "DefaultJob"
Type = Backup
Level = Full
Client = Computer -fd
FileSet = "Full Set"
Schedule = "WeeklyCycle"
Storage = Computer -sd
Messages = Standard
Pool = LTO-Pool
Priority = 10
}
Job {
Name = "Client1"
JobDefs = "DefaultJob"
Write Bootstrap = "/etc/bacula/working/Client1.bsr"
}
Job {
Name = "RestoreFiles"
Type = Restore
Client= Computer -fd
FileSet="Full Set"
Storage = Computer -sd
Pool = Default
Messages = Standard
Where = /tmp/bacula-restores
}
# List of files to be backed up
FileSet {
Name = "Full Set"
Include {
Options {
signature = MD5
}
file = /etc/bacula
}
Exclude {
File = /proc
File = /tmp
File = /.journal
File = /.fsck
File = /lost+found
File = /.Trash-root
}
}
Name = "WeeklyCycle"
Run = Full mon-fri at 22:11
}
Client {
Name = Computer -fd
Address = 127.0.0.1
FDPort = 9102
Catalog = MyCatalog
Password = "..........................................." #
password for FileDaemon
File Retention = 5 days # 30 days
Job Retention = 5 days # six months
AutoPrune = yes # Prune expired Jobs/Files
}
# Definition of DLT tape storage device
Storage {
Name = Computer -sd
Address = 127.0.0.1
SDPort = 9103
Password = "......................................................."
Device = "Quantum-DLT"
Media Type = DLT
}
# Definition of LTO tape storage device
Storage {
Name = Computer -sd
Address = 127.0.0.1
SDPort = 9103
Password = "........................................................"
Device = Quantum-LTO
Media Type = LTO
}
# Generic catalog service
Catalog {
Name = MyCatalog
dbname = bacula; user = ..........; password = ".........."
}
Messages {
Name = Standard
Email info intentionally left off here
}
# Default pool definition
Pool {
Name = Default
Pool Type = Backup
Recycle = yes # Bacula can automatically recycle
Volumes
AutoPrune = yes # Prune expired volumes
Volume Retention = 5 days # one year
Accept Any Volume = yes # write on any volume in the pool
Recycle Current Volume = yes
Maximum Volume Jobs = 1
}
Pool {
Name = LTO-Pool
Pool Type = Backup
Recycle = yes # Bacula can automatically recycle
Volumes
AutoPrune = yes # Prune expired volumes
Volume Retention = 5 days # one year
Accept Any Volume = yes # write on any volume in the pool
Recycle Current Volume = yes
Maximum Volume Jobs = 1
}
#
# Restricted console used by tray-monitor to get the status of the director
#
Console {
Name = Computer -mon
Password = "........................................................."
CommandACL = status, .status
}
#
# Default Bacula Storage Daemon Configuration file
#
# For Bacula release 1.38.3 (04 January 2006) -- redhat (Stentz)
Storage { # definition of myself
Name = Computer -sd
SDPort = 9103 # Director's port
WorkingDirectory = "/etc/bacula/working"
Pid Directory = "/etc/bacula/pid"
Maximum Concurrent Jobs = 20
}
Director {
Name = Computer -dir
Password = "................................................"
# Monitor = yes
}
Device {
Name = Quantum-DLT
Media Type = DLT
Archive Device = /dev/nst0
LabelMedia = yes; # lets Bacula label unlabeled media
Random Access = Yes;
AutomaticMount = yes; # when device opened, read it
RemovableMedia = yes;
AlwaysOpen = no;
RandomAccess = no;
}
Device {
Name = Quantum-LTO
Media Type = LTO
Archive Device = /dev/nst1
LabelMedia = yes; # lets Bacula label unlabeled media
Random Access = Yes;
AutomaticMount = yes; # when device opened, read it
RemovableMedia = yes;
AlwaysOpen = no;
RandomAccess = no;
}
Messages {
Name = Standard
director = Computer -dir = all
}
#
# Restricted Director, used by tray-monitor to get the
# status of the storage daemon
#
Director {
Name = Computer -mon
Password =
"..............................................................."
Either I am missing something obvious or I am doing this all wrong,
whichever the case, I need HELP!!!
Please???
Pat
<<attachment: winmail.dat>> ------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H _______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|