From: Tyler R. <tro...@st...> - 2016-07-28 13:29:10
Attachments:
image.png
|
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 [image: 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: # http://bacula.svn.sourceforge.net/viewvc/bacula/trunk/bacula/examples/devices/ # # # 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; |
From: Wanderlei H. <wan...@gm...> - 2016-07-28 13:42:49
Attachments:
image.png
|
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* http://www.huttel.com.br 2016-07-28 10:05 GMT-03:00 Tyler Rothenberg <tro...@st...>: > 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 > > [image: 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: > # > http://bacula.svn.sourceforge.net/viewvc/bacula/trunk/bacula/examples/devices/ > # > > # > # 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 > Bac...@li... > https://lists.sourceforge.net/lists/listinfo/bacula-users > > |