Re: [Bacula-users] How to LTO-8

2019-01-11 Thread Richard Couture
The SAS controller was working with an IBM library with LTO-4 with another computer running bacula 5.xxx. When the IBM died we decided that it was time to upgrade rather than repair as the LTO-4 was no longer large enough to backup everything. We never really looked into whether it was the HBA

Re: [Bacula-users] Running a script each time a client is addressed

2019-01-11 Thread Adam Nielsen
> I have a client that's remote. The connectivity to the remote client is > established through an SSH script. > In general the SSH connection is up or re-established when a job runs > through Run Before Job in a JobDefs piece. > This works properly. Just curious - any reason why you're using SSH

Re: [Bacula-users] How to LTO-8

2019-01-11 Thread Adam Nielsen
> I found another person with the very same symptoms and they resolved the > problem by changing out the SAS host adapter Wow that's weird that a SAS controller would be to blame! My library and drive are HP and they supply "HP Tape Tools" which you can use to run tests on the library (and

Re: [Bacula-users] mtx and mtx-changer not functioning

2019-01-11 Thread Richard Couture
Here is my lsscsi -g I use sg3 to talk to the magazine mech and st0 or nst0 to talk to the drive I don't have a /dev/changer as many seem to have In /dev/tape I have [root@LTOMag ~]# ls -al /dev/tape/by-id/ total 0 drwxr-xr-x 2 root root 100 Jan 9 21:06 ./ drwxr-xr-x 4 root root 80 Jan 9

Re: [Bacula-users] mtx and mtx-changer not functioning

2019-01-11 Thread Jeffrey R. Lang
In your mtx command output one thing I don't see is the Data Transfer Unit (i.e. tape drive) associated with the tape library. For my tape library I get: [root@bkupsvr3 ~]# mtx -f /dev/xchg0 status Storage Changer /dev/xchg0:4 Drives, 179 Slots ( 2 Import/Export ) Data Transfer Element 0:Full

Re: [Bacula-users] mtx and mtx-changer not functioning

2019-01-11 Thread Adzhubey, Ivan A,Ph.D.
Hi Richard, Have you tried updating inventory on the changer *via the firmware command*? I have seen this type of discrepancies appearing every time I power cycle my changer and it loses its inventory list stored on the device. Best, Ivan On Friday, January 11, 2019 2:58:46 PM EST Richard

Re: [Bacula-users] mtx and mtx-changer not functioning

2019-01-11 Thread Richard Couture
How odd [root@LTOMag ~]# mt -f /dev/st0 offline [root@LTOMag ~]# mtx -f /dev/sg3 unload 1 0 Data Transfer Element 0 is Empty Now says the tape drive is empty HOWEVER [root@LTOMag ~]# mtx -f /dev/sg3 status Storage Changer /dev/sg3:1 Drives, 30 Slots ( 5 Import/Export ) Data Transfer Element

[Bacula-users] Running a script each time a client is addressed

2019-01-11 Thread PenguinWhispererThe
Hi, What I'm trying to do feels obvious but I can't find what I'm looking for. I have a client that's remote. The connectivity to the remote client is established through an SSH script. In general the SSH connection is up or re-established when a job runs through Run Before Job in a JobDefs

Re: [Bacula-users] mtx and mtx-changer not functioning

2019-01-11 Thread Jeffrey R. Lang
I have run into tape libraries that require the tape to be unloaded from the drive before performing an unload command. The mtx-changer script supports this feature. You need to change the .../etc/mtx-changer.conf file, specifically the line # Set to 1 if you want to do offline before

Re: [Bacula-users] mtx and mtx-changer not functioning

2019-01-11 Thread Sebastian Suchanek
Am 11.01.2019 um 14:49 schrieb Richard Couture: >> Does mtx work when you explicitly specify the slots? I.e.: >> >> mtx -f /dev/sg3 load 1 0 >> mtx -f /dev/sg3 unload 1 0 > > No Then, in my opinion, the problem is somewhere outside of Bacula. My best guess is that either your library and your

Re: [Bacula-users] Baculum restorations issues

2019-01-11 Thread Frédéric F .
Hello, Thank you for your answer, I will try your fork next week. I use CentOS for intructions. If anyone have an idea about my issues, I am interested. Le ven. 11 janv. 2019 à 12:27, Wanderlei Huttel a écrit : > > Are you using CentOS or Debian? > > Best regards > > Wanderlei Hüttel >

Re: [Bacula-users] How to LTO-8

2019-01-11 Thread Richard Couture
I found another person with the very same symptoms and they resolved the problem by changing out the SAS host adapter I Note that both my bacula-dir and my bacula-sd conf files have a Storage section, with a Device section only in bacula-sd. Is this correct or should the Storage and

Re: [Bacula-users] mtx and mtx-changer not functioning

2019-01-11 Thread Richard Couture
No Richard On 1/10/19 11:08 PM, Sebastian Suchanek wrote: Am 11.01.2019 um 02:05 schrieb Richard Couture: [...] [root@LTOMag scripts]# mtx -f /dev/sg3 unload Unloading drive 0 into Storage Element 1...mtx: Request Sense: Long Report=yes mtx: Request Sense: Valid Residual=no mtx: Request

Re: [Bacula-users] Problem with volume are not present when the tape is empty on incremental

2019-01-11 Thread Olivier Delestre
Hi, Thanks for the answer. i have a pool for a client. And i have a script python for purge+delete volume before the Full backup. ( for optimize the disk space on retention , script -> Full , Incr, Incr ../.. , script -> Full , incr, incr ...) This script utilize the modify query 3 + 4 ( see

Re: [Bacula-users] Baculum restorations issues

2019-01-11 Thread Wanderlei Huttel
Are you using CentOS or Debian? Best regards *Wanderlei Hüttel* http://www.bacula.com.br Em sex, 11 de jan de 2019 às 09:24, Chris Wilkinson escreveu: > My Portuguese is not so good  > > Regards > Chris Wilkinson > > On Fri, 11 Jan 2019, 11:22 am Wanderlei Huttel wrote: > >> Hello Chris >>

Re: [Bacula-users] Problem with volume are not present when the tape is empty on incremental

2019-01-11 Thread Radosław Korzeniewski
Hello, czw., 10 sty 2019 o 14:40 Olivier Delestre napisał(a): > hi, > > i use bacula v9.2.2 and storage on disk. > i notice that when an incremantal is empty, bacula make a tape with a file > ( 612 bytes ). > when you list with the query "5: List all backups for a Client" , this > volume is not

Re: [Bacula-users] Baculum restorations issues

2019-01-11 Thread Chris Wilkinson
My Portuguese is not so good  Regards Chris Wilkinson On Fri, 11 Jan 2019, 11:22 am Wanderlei Huttel Hello Chris > > Yes there is, but the instructions are in Portuguese. > https://github.com/wanderleihuttel/bacula-utils/tree/master/tutorial > > > Best regards > > *Wanderlei Hüttel* >

Re: [Bacula-users] Baculum restorations issues

2019-01-11 Thread Wanderlei Huttel
Hello Chris Yes there is, but the instructions are in Portuguese. https://github.com/wanderleihuttel/bacula-utils/tree/master/tutorial Best regards *Wanderlei Hüttel* http://www.bacula.com.br Em sex, 11 de jan de 2019 às 09:16, Chris Wilkinson escreveu: > Very interesting. Is there a link

Re: [Bacula-users] Baculum restorations issues

2019-01-11 Thread Chris Wilkinson
Very interesting. Is there a link for the installation instructions? The docs folder appears to be old. Regards Chris Wilkinson On Fri, 11 Jan 2019, 9:34 a.m. Wanderlei Huttel Hello Frederic > > I have a fork o Webacula with a new visual and some improvements. >

Re: [Bacula-users] Error on Virt Full backup

2019-01-11 Thread info
Hello Kern, we've updated to 9.4.1 and the situation is the same. Do you have any recommendations how to identify the reason for such an error? Regards. Tuesday, January 8, 2019, 11:19:20 PM: KS> Hello, KS> I would recommend that you consider doing an upgrade to 9.4.1, because KS> from

Re: [Bacula-users] Virtual full backup ends with error

2019-01-11 Thread azurit
Hi Wanderlei, i thought that too before i found that error message in syslog. Before that, i tried: - setting Heartbeat Interval in Director and Storage daemon to 1000 minutes AND - setting TCP keepalive in /proc/sys/net/ipv4/tcp_keepalive_time to 10 on Director and SD (after that i

Re: [Bacula-users] Virtual full backup ends with error

2019-01-11 Thread Alfred Weintoegl
Hello azur, we had an Error a few days ago which is very like to yours: VFull was working fine about half a year and suddenly Bacula can't complete the VFull-Job. The error occurs near the end of the job. Here our last lines from job report: ... . . 05-Jan 02:04 npkj-dir JobId 668: All

Re: [Bacula-users] Virtual full backup ends with error

2019-01-11 Thread Wanderlei Huttel
Hello Azur It looks that problem was an error on the connection: *11-jan 05:42 server00-dir JobId 56875: Error: Director's connection to SD for this Job was lost. * You could try enable "Heartbeat Interval in your config files:

Re: [Bacula-users] Baculum restorations issues

2019-01-11 Thread Wanderlei Huttel
Hello Frederic I have a fork o Webacula with a new visual and some improvements. https://github.com/wanderleihuttel/webacula You cant take a look in the screens here: https://github.com/wanderleihuttel/webacula/wiki Best regards *Wanderlei Hüttel* http://www.bacula.com.br Em qui, 10 de jan

[Bacula-users] Virtual full backup ends with error

2019-01-11 Thread azurit
Hi all, i'm having problems with virtual full backup on one of our clients. Everything was working fine for years but, suddenly, Bacula is unable to complete the job - i was trying to run it about 10 times during past few days, all of them ends with the same weird error. The error is