Re: [Bacula-users] Backup fails with Fatal error: catreq.c:736 attribute create error. ERR=

2023-02-19 Thread Charles Tassell
Are you checking the client, or the director?  The attribute create error would probably be on the catalogue box, so I'd check your DB server or the director box if it's not using an external DB.  If you are using MySQL or Postgres, check their logs (either /var/log/mysqld/mysql.log or /var/

Re: [Bacula-users] Backup volume creation permissions

2022-10-22 Thread Charles Tassell
Yes, with directory permissions execute means access, read means you can list files in the directory.  So read doesn't work without execute. On 2022-10-22 06:36, Chris Wilkinson wrote: My user is a member of the tape group but gets permission denied error ls'ing the directory. The directory is

Re: [Bacula-users] ERR=Input/output error

2022-09-17 Thread Charles Tassell
ar: Child returned status 2 tar: Error is not recoverable: exiting now Error code: 2 I'm wondering if I need to try something other than Ubuntu 22.04. Doug On Fri, Sep 16, 2022, at 10:39 PM, Charles Tassell wrote: Hmm, that's odd that the mt commands work but the btape doesn't..

Re: [Bacula-users] ERR=Input/output error

2022-09-16 Thread Charles Tassell
ailed. ERR=Input/output error btape: btape.c:1156-0 Error writing block to device. *quit Doug On Fri, Sep 16, 2022, at 10:01 AM, Charles Tassell wrote: Hi Doug, Hmm, that looks fine. Try the following: mt -f /dev/nst0 status mt -f /dev/nst0 rewind mt -f /dev/st0 eof mt -f /dev/nst0 rewind bt

Re: [Bacula-users] ERR=Input/output error

2022-09-16 Thread Charles Tassell
orage Element 7:Empty Storage Element 8:Full Doug On Fri, Sep 16, 2022, at 9:18 AM, Charles Tassell wrote: Hi Doug, Try running the following and posting the output: su -s /bin/bash bacula ls -dl /dev/nst* /dev/sg* groups mtx -f /dev/sg3 status exit That will switch you to the bacula

Re: [Bacula-users] ERR=Input/output error

2022-09-16 Thread Charles Tassell
:Empty Storage Element 8:Full I do believe this is probably a permission issue, but I'm not sure what the correct way to resolve it is. Doug On Thu, Sep 15, 2022, at 12:04 PM, Charles Tassell wrote: Hi Doug, Is bacula running as root? On most setups it runs as the bacula user, s

Re: [Bacula-users] ERR=Input/output error

2022-09-15 Thread Charles Tassell
Hi Doug,   Is bacula running as root?  On most setups it runs as the bacula user, so you would need to make sure that that user is in the "tape" group and has rw access to /dev/nst0. On 2022-09-15 12:17, Doug Eubanks via Bacula-users wrote: Hello! I'm setting up an HP autochanger with an LT

Re: [Bacula-users] bacula is compatible with ibm ts4300?

2022-09-14 Thread Charles Tassell
From my understanding you should be fine as long as your SAS card has Linux drivers.  We use a TS3500 and it works fine.  Generally all the IBM tape libraries work off of the same SCSI standards so Linux doesn't need a model-specific driver for them. On 2022-09-14 11:06, suscripcion aplicacion

[Bacula-users] Problem Importing Tapes Into Catalog

2022-09-09 Thread Charles Tassell
Hello Everyone,   I'm having a problem importing some existing tapes in my autochanger into bacula.  I am pretty sure these tapes were in use before but were expired, so I want to get them back into the pool.  They show up when I do an mtx status, but not in my media list.  I can't label them

Re: [Bacula-users] Migrating from mariadb to postgresql

2022-08-30 Thread Charles Tassell
Hi Uwe,   I think Martin was right with this one.  You are probably going to have to edit the export file from mysqldump to remove the inserts for tables that the Postgres schema maker creates automatically.  To make this easier, so you don't have to recreate the schema each time, you can use

Re: [Bacula-users] Migrating from mariadb to postgresql

2022-08-29 Thread Charles Tassell
Hi Uwe,   You might want to try just dumping the data as full inserts and then import it with pgsql.  IE: mysqldump -nc bacula |grep INSERT >output.sql psql bacula \. output.sql Another option wqould be to use the --default-character-set option to mysqldump to switch the output to just latin1

Re: [Bacula-users] Getting RHEL 7 to see ancient Ultrium 4 LTO

2022-08-01 Thread Charles Tassell
Hi Ray,   If the drive is SCSI it might be a termination issue.  Does the drive show up in the BIOS POST screen's SCSI section with the other devices?  What's the output of "cat /proc/scsi/scsi"?  The only driver you should need is "st" (SCSI tape) if it's seeing the other attached devices and

[Bacula-users] Backups Won't Run, No Error Message

2022-07-18 Thread Charles Tassell
Hello,   I'm having a strange problem.  I have a bacula setup with a tape library and 3 drives.  Backups on one of the drives are not working.  No error message, the jobs just queue up and then don't run.  They don't seem to select a volume.  The problem is with my tape labelled LTO-5-1.  Her

Re: [Bacula-users] Slow Backups to Disk? [SOLVED]

2015-05-25 Thread Charles Tassell
quot;Spool Attributes = yes" to the default job definition and backups went from 120-130 hours down to 10. Quite an improvement. :) On 15-05-22 06:28 AM, Charles Tassell wrote: > Hello, > > I'm using external USB drives setup with the vchanger system to > simulate a tape libra

[Bacula-users] Slow Backups to Disk?

2015-05-22 Thread Charles Tassell
Hello, I'm using external USB drives setup with the vchanger system to simulate a tape library, and I've got a problem where the backups are running horrendously slow. IE, the full backup of my small server (5.5GB) takes 8 hours and 10 minutes, and the backup of my 690GB file server takes