Bacula-users

Re: [Bacula-users] Bacula Version 5.2.6 Connection Problem

2016-07-28 09:43:43
Subject: Re: [Bacula-users] Bacula Version 5.2.6 Connection Problem
From: Wanderlei Huttel <wanderleihuttel AT gmail DOT com>
To: Tyler Rothenberg <trothenberg AT stmatthews DOT edu>
Date: Thu, 28 Jul 2016 10:42:42 -0300
This is the normal behavior, but you have a problem with the version of bacula-sd.

Your bacula-sd is on a prior version (5.0.1) and bacula-dir in (5.2.6) . 
According the manual this is not recommended. bacula-dir and bacula-sd always must be in the same version. 
Only bacula-fd is allowed to be in prior versions of bacula-dir.



Best Regards

Wanderlei Hüttel

2016-07-28 10:05 GMT-03:00 Tyler Rothenberg <trothenberg AT stmatthews DOT edu>:
Bacula Version: 5.2.6
Operating System: Ubuntu 14.04.1 LTS

Problem: When connecting to my NAS storage File I can see my previously terminated jobs, but it says Device "NAS_FileStorage" (/home/backups/bacula) is not open. I can't figure out how to get it open 

Inline image 1

Director Config

Director {                            # define myself
  Name = chronos-dir
  DIRport = 9101                # where we listen for UA connections
  QueryFile = "/etc/bacula/scripts/query.sql"
  WorkingDirectory = "/var/lib/bacula"
  PidDirectory = "/var/run/bacula"
  Maximum Concurrent Jobs = 1
  Password = "PFz_ayeRL1SFBxbxZRTEglF8UiujNGM-g"         # Console password
  Messages = Daemon
  DirAddress = 127.0.0.1
}

# Definition of file storage device
Storage {
  Name = File
# Do not use "localhost" here
  Address = 192.168.5.70              # N.B. Use a fully qualified name here
  SDPort = 9103
  Password = "Ui3dLcjKWiR6QIyTu+PjPK6wHlziIf7fZlSiCgiZZ3jq"
 # Password = "REfJ1Mo5tNGhti30Yi5c6eALlZ9emVCaP"
  Device = FileStorage
  Media Type = File
  Maximum Concurrent Jobs = 3
}

Storage {
  Name = Quantum_Tape
  Password = "REfJ1Mo5tNGhti30Yi5c6eALlZ9emVCaP"
  Address = 192.168.5.3
  SDPort = 9103
  Device = Quantum_Library
  Autochanger = yes
  Maximum Concurrent Jobs = 1
  Media Type = LTO-5
  Autochanger = yes
}

Console {
  Name = chronos-mon
  Password = "lzlmyTTEr5FgD17-_jXDRNs2vXdAKDU-0"
  CommandACL = status, .status
}


SD Config

Storage {                             # definition of myself
  Name = chronos-sd
  SDPort = 9103                  # Director's port
  WorkingDirectory = "/var/lib/bacula"
  Pid Directory = "/var/run/bacula"
  Maximum Concurrent Jobs = 20
  SDAddress = 192.168.5.3
}

#
# List Directors who are permitted to contact Storage daemon
#
Director {
  Name = chronos-dir
  Password = "REfJ1Mo5tNGhti30Yi5c6eALlZ9emVCaP"
}
# Nas Director Director {
#  Name = nas-dir
#  Password = "Ui3dLcjKWiR6QIyTu+PjPK6wHlziIf7fZlSiCgiZZ3jq"
#}
#
# Restricted Director, used by tray-monitor to get the
#   status of the storage daemon
#
Director {
  Name = chronos-mon
  Password = "iWhOWbAh2WKu16-K-v70kbTaiSlNTFuck"
  Monitor = yes
}

#
# Note, for a list of additional Device templates please
#  see the directory <bacula-source>/examples/devices
# Or follow the following link:
#

#
# Devices supported by this Storage daemon
# To connect, the Director's bacula-dir.conf must have the
#  same Name and MediaType.
#

Device {
  Name = FileStorage
  Media Type = File
  Archive Device = /home/backups/bacula
# Archive Device = /mybackup/backup
  LabelMedia = yes;                   # lets Bacula label unlabeled media
  Random Access = Yes;
  AutomaticMount = yes;               # when device opened, read it
  RemovableMedia = no;
  AlwaysOpen = yes;
}

Autochanger {
  Name = Quantum_Library
  Device = SASDrive1
  Changer Device = /dev/sg3
  Changer Command = "/etc/bacula/scripts/mtx-changer %c %o %S %a %d"
}
Device {
  Name = SASDrive1
  Drive Index = 0
  Media Type = LTO-5
  Archive Device = /dev/nst0
  AutomaticMount = yes;
  AlwaysOpen = yes;
  RemovableMedia = yes;
  LabelMedia = yes;
  RandomAccess = no;


------------------------------------------------------------------------------

_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users


------------------------------------------------------------------------------
_______________________________________________
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>