Bacula-users

[Bacula-users] Storage Daemon Issues

2010-06-05 16:05:34
Subject: [Bacula-users] Storage Daemon Issues
From: ElCid32 <bacula-forum AT backupcentral DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Fri, 04 Jun 2010 19:08:30 -0400
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&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;#
#################################################

#################################################
# Define The Director
#
Director &#123;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp; Name = backupserver-dir
&nbsp; DIRport = 9101&nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp; QueryFile = "/etc/bacula/scripts/query.sql"
&nbsp; WorkingDirectory = "/var/lib/bacula"
&nbsp; PidDirectory = "/var/run/bacula"
&nbsp; Maximum Concurrent Jobs = 1
&nbsp; Password = "yveAet993vzsWug3KoZUKjVbdZy0nrSqIqQCFH80rIVS"&nbsp; &nbsp; 
&nbsp;
&nbsp; Messages = Standard
&nbsp; DirAddress = 127.0.0.1
&#125;
#################################################
# Define The Jobs
#
Job &#123;
&nbsp; Name = "TestBackup"
&nbsp; Type = Backup
&nbsp; Level = full
&nbsp; Client = BackupServer
&nbsp; FileSet = FullBackup
&nbsp; Storage = TapeDrive
&nbsp; Messages = Standard
&nbsp; Pool = default
&nbsp; Write Bootstrap = "/var/lib/bacula/FullBackup.bsr"
&nbsp; Priority = 1
&nbsp; Max Start Delay = 22h
&#125;
#################################################
# Define The Client
#
Client &#123;
&nbsp; Name = BackupServer
&nbsp; Address = 127.0.0.1
&nbsp; FDPort = 9102
&nbsp; Catalog = BackupCatalog
&nbsp; Password = "yveAet993vzsWug3KoZUKjVbdZy0nrSqIqQCFH80rIVS"
&nbsp; File Retention = 30d
&nbsp; Job Retention = 30d
&nbsp; AutoPrune = yes
&#125;
#################################################
# Define The FileSet
#
FileSet &#123;
&nbsp; Name = FullBackup
&nbsp; Include &#123;
&nbsp; &nbsp; Options &#123;
&nbsp; &nbsp; &nbsp;Accurate = mcs5
&nbsp; &nbsp; &nbsp;Verify&nbsp; &nbsp;= pin5
&nbsp; &nbsp; &#125;
&nbsp; &nbsp; File = /etc
&nbsp; &#125;
&#125;
#################################################
# Define The Storage 
#
Storage &#123;
&nbsp; Name = TapeDrive
&nbsp; Device = VXATapeDrive
&nbsp; Media Type = VXA-4
&nbsp; Address = localhost
&nbsp; SDPort = 9103
&nbsp; Password = "yveAet993vzsWug3KoZUKjVbdZy0nrSqIqQCFH80rIVS"
&#125;
#################################################
# Define The Messages
#
Messages &#123;
&nbsp; Name = Standard
&nbsp; mailcommand = "/usr/lib/bacula/bsmtp -h localhost -f 
\"\&#40;Bacula\&#41; \<%r\>\" -s \"Bacula daemon message\" %r"
&nbsp; mail = root@localhost = all, !skipped&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp; 
&nbsp; console = all, !skipped, !saved
&nbsp; append = "/var/lib/bacula/log" = all, !skipped
&#125;
#################################################
# Define The Pool
#
Pool &#123;
&nbsp; Name = default
&nbsp; Pool Type = Backup
&#125;
#################################################
# Define The Catalog
#
Catalog &#123;
&nbsp; Name = BackupCatalog
&nbsp; dbname = bacula; user=bacula;password=appleseed32
&#125;


bacula-sd.conf:

#################################################
#CPS Bacula Director Configuration File&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;#
#################################################

#################################################
# Define The Storage
#
Storage &#123;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; Name = backupserver-sd
&nbsp; SDPort = 9103&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp; 
&nbsp; WorkingDirectory = "/var/lib/bacula"
&nbsp; Pid Directory = "/var/run/bacula"
&nbsp; Maximum Concurrent Jobs = 2
&nbsp; SDAddress = 127.0.0.1
&#125;
#################################################
# Define The Alowed Directors
#
Director &#123;
&nbsp; Name = backupserver-dir
&nbsp; Password = "yveAet993vzsWug3KoZUKjVbdZy0nrSqIqQCFH80rIVS"
&#125;
Director &#123;
&nbsp; Name = backupserver-mon
&nbsp; Password = "yveAet993vzsWug3KoZUKjVbdZy0nrSqIqQCFH80rIVS"
&nbsp; Monitor = yes
&#125;
#################################################
# Define The Devices
#
Device &#123;
&nbsp; Name = VXATapeDrive
&nbsp; Drive Index = 0
&nbsp; Media Type = VXA-4
&nbsp; Archive Device = /dev/nst0
&nbsp; AutomaticMount = yes;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp;
&nbsp; AlwaysOpen = no;
&nbsp; RemovableMedia = yes;
&nbsp; RandomAccess = no;
&nbsp; AutoChanger = no;
&nbsp; #Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
&#125;
#################################################
# Define The Messages
#
Messages &#123;
&nbsp; Name = Standard
&nbsp; director = backupserver-dir = all
&#125;


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>