[Bacula-users] Storage Daemon Issues
2010-06-05 16:05:34
Greetings Gurus:
I installed Bacula 5.0.1 on Ubuntu Server 10.0.4. I've configured everything
to spec. Btape recognizes, reads and writes the tape drive attached to
/dev/nst0. When I run BAT to try getting a status on the storage device I get
an error "Failed to connect to storage deamon..." I have been looking for
hours for a solution but I am at an impasse. Can someone please help me by
looking at my .conf files? Thanks!
bacula-dir.conf:
#################################################
#CPS Bacula Director Configuration File #
#################################################
#################################################
# Define The Director
#
Director {
Name = backupserver-dir
DIRport = 9101
QueryFile = "/etc/bacula/scripts/query.sql"
WorkingDirectory = "/var/lib/bacula"
PidDirectory = "/var/run/bacula"
Maximum Concurrent Jobs = 1
Password = "yveAet993vzsWug3KoZUKjVbdZy0nrSqIqQCFH80rIVS"
Messages = Standard
DirAddress = 127.0.0.1
}
#################################################
# Define The Jobs
#
Job {
Name = "TestBackup"
Type = Backup
Level = full
Client = BackupServer
FileSet = FullBackup
Storage = TapeDrive
Messages = Standard
Pool = default
Write Bootstrap = "/var/lib/bacula/FullBackup.bsr"
Priority = 1
Max Start Delay = 22h
}
#################################################
# Define The Client
#
Client {
Name = BackupServer
Address = 127.0.0.1
FDPort = 9102
Catalog = BackupCatalog
Password = "yveAet993vzsWug3KoZUKjVbdZy0nrSqIqQCFH80rIVS"
File Retention = 30d
Job Retention = 30d
AutoPrune = yes
}
#################################################
# Define The FileSet
#
FileSet {
Name = FullBackup
Include {
Options {
Accurate = mcs5
Verify = pin5
}
File = /etc
}
}
#################################################
# Define The Storage
#
Storage {
Name = TapeDrive
Device = VXATapeDrive
Media Type = VXA-4
Address = localhost
SDPort = 9103
Password = "yveAet993vzsWug3KoZUKjVbdZy0nrSqIqQCFH80rIVS"
}
#################################################
# Define The Messages
#
Messages {
Name = Standard
mailcommand = "/usr/lib/bacula/bsmtp -h localhost -f
\"\(Bacula\) \<%r\>\" -s \"Bacula daemon message\" %r"
mail = root@localhost = all, !skipped
console = all, !skipped, !saved
append = "/var/lib/bacula/log" = all, !skipped
}
#################################################
# Define The Pool
#
Pool {
Name = default
Pool Type = Backup
}
#################################################
# Define The Catalog
#
Catalog {
Name = BackupCatalog
dbname = bacula; user=bacula;password=appleseed32
}
bacula-sd.conf:
#################################################
#CPS Bacula Director Configuration File #
#################################################
#################################################
# Define The Storage
#
Storage {
Name = backupserver-sd
SDPort = 9103
WorkingDirectory = "/var/lib/bacula"
Pid Directory = "/var/run/bacula"
Maximum Concurrent Jobs = 2
SDAddress = 127.0.0.1
}
#################################################
# Define The Alowed Directors
#
Director {
Name = backupserver-dir
Password = "yveAet993vzsWug3KoZUKjVbdZy0nrSqIqQCFH80rIVS"
}
Director {
Name = backupserver-mon
Password = "yveAet993vzsWug3KoZUKjVbdZy0nrSqIqQCFH80rIVS"
Monitor = yes
}
#################################################
# Define The Devices
#
Device {
Name = VXATapeDrive
Drive Index = 0
Media Type = VXA-4
Archive Device = /dev/nst0
AutomaticMount = yes;
AlwaysOpen = no;
RemovableMedia = yes;
RandomAccess = no;
AutoChanger = no;
#Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
}
#################################################
# Define The Messages
#
Messages {
Name = Standard
director = backupserver-dir = all
}
What in the world am I missing here? Thank you all.
+----------------------------------------------------------------------
|This was sent by elcidsps AT gmail DOT com via Backup Central.
|Forward SPAM to abuse AT backupcentral DOT com.
+----------------------------------------------------------------------
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit. See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Bacula-users] Storage Daemon Issues,
ElCid32 <=
|
|
|