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 
\"\&#40;Bacula\&#41; \<%r\>\" -s \"Bacula daemon message\" %r"
&nbsp; mail = r...@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 elcid...@gmail.com via Backup Central.
|Forward SPAM to ab...@backupcentral.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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to