Hello Bacula Running gere with Debian 9, and Bacula 7.4.4
root@bacularestore:/home/caragadm# bconsole Connecting to Director bacularestore:9101 1000 OK: 102 bacularestore-dir Version: 7.4.4 (20 September 2016) Enter a period to cancel a command. *mount Automatically selected Catalog: CaragCatalog Using Catalog "CaragCatalog" The defined Storage resources are: 1: FileStorageVMware 2: TapeStorageVMware Select Storage resource (1-2): 1 here nothing going on please i need to load Slot 5 and do a Bscan so that help for bscan command ? after that need restoring Data from this tape, that sitting on slot 5, try also with this command but the Tape will do nothing /etc/bacula/scripts/mtx-changer /dev/sg3 load 5 /dev/nst0 I have here by me critical recorver, please help me so that i can do communication with this Tape Roboter, so that i can start as fast possible the process. also iam not shure if the Bacula-sd.conf are setup correct, in the meantime i the this setup, and the Tape Library mad no sign of live. this tape library are a 8 Slot Tape Tandberg - LTO-6 --- root@bacularestore:/etc/bacula# cat bacula-sd.conf # # Default Bacula Storage Daemon Configuration file # # For Bacula release 7.4.4 (20 September 2016) -- debian 9.13 # # You may need to change the name of your tape drive # on the "Archive Device" directive in the Device # resource. If you change the Name and/or the # "Media Type" in the Device resource, please ensure # that dird.conf has corresponding changes. # # # Copyright (C) 2000-2015 Kern Sibbald # License: BSD 2-Clause; see file LICENSE-FOSS # Storage { # definition of myself Name = bacularestore-sd SDPort = 9103 # Director's port WorkingDirectory = "/var/lib/bacula" Pid Directory = "/run/bacula" Maximum Concurrent Jobs = 20 SDAddress = 127.0.0.1 } # # List Directors who are permitted to contact Storage daemon # Director { Name = bacularestore-dir Password = "o5ahKDmsAMGoVm-LO8k5U_s8Glk3K2hHk" } # # Restricted Director, used by tray-monitor to get the # status of the storage daemon # Director { Name = bacularestore-mon Password = "G5UTaDyJDaLIXofnE43X_ywY2YyA3QSiA" 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/device s/ # # # Devices supported by this Storage daemon # To connect, the Director's bacula-dir.conf must have the # same Name and MediaType. # # # Define a Virtual autochanger # Autochanger { Name = FileChgr1 Device = FileChgr1-Dev1, FileChgr1-Dev2 Changer Command = "" Changer Device = /dev/null } Device { Name = FileChgr1-Dev1 Media Type = File1 Archive Device = /nonexistant/path/to/file/archive/dir LabelMedia = yes; # lets Bacula label unlabeled media Random Access = Yes; AutomaticMount = yes; # when device opened, read it RemovableMedia = no; AlwaysOpen = no; Maximum Concurrent Jobs = 5 } Device { Name = FileChgr1-Dev2 Media Type = File1 Archive Device = /nonexistant/path/to/file/archive/dir LabelMedia = yes; # lets Bacula label unlabeled media Random Access = Yes; AutomaticMount = yes; # when device opened, read it RemovableMedia = no; AlwaysOpen = no; Maximum Concurrent Jobs = 5 } # # Define a second Virtual autochanger # Autochanger { Name = FileChgr2 Device = FileChgr2-Dev1, FileChgr2-Dev2 Changer Command = "" Changer Device = /dev/null } Device { Name = FileChgr2-Dev1 Media Type = File2 Archive Device = /nonexistant/path/to/file/archive/dir LabelMedia = yes; # lets Bacula label unlabeled media Random Access = Yes; AutomaticMount = yes; # when device opened, read it RemovableMedia = no; AlwaysOpen = no; Maximum Concurrent Jobs = 5 } Device { Name = FileChgr2-Dev2 Media Type = File2 Archive Device = /nonexistant/path/to/file/archive/dir LabelMedia = yes; # lets Bacula label unlabeled media Random Access = Yes; AutomaticMount = yes; # when device opened, read it RemovableMedia = no; AlwaysOpen = no; Maximum Concurrent Jobs = 5 } # # An autochanger device with two drives # #Autochanger { # Name = Autochanger # Device = Drive-1 # Device = Drive-2 # Changer Command = "/etc/bacula/scripts/mtx-changer %c %o %S %a %d" # Changer Device = /dev/sg0 #} #Device { # Name = Drive-1 # # Drive Index = 0 # Media Type = DLT-8000 # Archive Device = /dev/nst0 # AutomaticMount = yes; # when device opened, read it # AlwaysOpen = yes; # RemovableMedia = yes; # RandomAccess = no; # AutoChanger = yes # # # # Enable the Alert command only if you have the mtx package loaded # # Note, apparently on some systems, tapeinfo resets the SCSI controller # # thus if you turn this on, make sure it does not reset your SCSI # # controller. I have never had any problems, and smartctl does # # not seem to cause such problems. # # # Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'" # If you have smartctl, enable this, it has more info than tapeinfo # Alert Command = "sh -c 'smartctl -H -l error %c'" #} # # A Linux or Solaris LTO-4 tape drive # Device { Name = LTO-6 Media Type = LTO-6 Archive Device = /dev/nst0 AutomaticMount = yes; # when device opened, read it AlwaysOpen = yes; RemovableMedia = yes; RandomAccess = no; # Maximum File Size = 5GB Changer Command = "/etc/bacula/scripts/mtx-changer %c %o %S %a %d" Changer Device = /dev/sg0 AutoChanger = yes # Enable the Alert command only if you have the mtx package loaded ## Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'" ## If you have smartctl, enable this, it has more info than tapeinfo ## Alert Command = "sh -c 'smartctl -H -l error %c'" } Messages { Name = Standard director = bacularestore-dir = all --- also now this messages will be appair 30-Nov 17:23 bacularestore-dir JobId 0: Warning: bsock.c:107 Could not connect to Storage daemon on tape.car.local:9103. ERR=Connection refused Retrying ... 30-Nov 17:28 bacularestore-dir JobId 0: Warning: bsock.c:107 Could not connect to Storage daemon on tape.car.local:9103. ERR=Connection refused Retrying ... 30-Nov 17:33 bacularestore-dir JobId 0: Warning: bsock.c:107 Could not connect to Storage daemon on tape.car.local:9103. ERR=Connection refused Retrying ... 30-Nov 17:38 bacularestore-dir JobId 0: Warning: bsock.c:107 Could not connect to Storage daemon on tape.car.local:9103. ERR=Connection refused Retrying ... 30-Nov 17:43 bacularestore-dir JobId 0: Warning: bsock.c:107 Could not connect to Storage daemon on tape.car.local:9103. ERR=Connection refused Retrying ... 30-Nov 17:49 bacularestore-dir JobId 0: Warning: bsock.c:107 Could not connect to Storage daemon on tape.car.local:9103. ERR=Connection refused Retrying ... 30-Nov 17:53 bacularestore-dir JobId 0: Fatal error: bsock.c:113 Unable to connect to Storage daemon on tape.car.local:9103. ERR=Connection refused
_______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users