Re: [Bacula-users] Bacula 9.6.5, Debian 10, how to determine if encyrption is working?

2020-06-26 Thread Martin Simmons
The file names are not encrypted in Bacula. You could run bscan -r with the volume filename, which will print lines like this: bscan: bscan.c:442-0 Record: SessId=1 SessTim=135235 FileIndex=9 Stream=2 len=1895 Here Stream=2 corresponds to STREAM_FILE_DATA in the source file src/streams.h (i

Re: [Bacula-users] Cannot find any appendable volumes

2020-07-06 Thread Martin Simmons
> On Fri, 3 Jul 2020 16:00:10 -0600, Greg Woods said: > > I am getting this error when running copy jobs. I have an "ARCHIVE-ALL" job > that searches for any client backup jobs that terminated normally and have > not yet been copied from online to archive backups, and runs copy jobs for > each

Re: [Bacula-users] Bacula Errors Running Differential Backup Job with Accurate Set

2020-07-23 Thread Martin Simmons
You need to enter Backup1 or *1 (the prompt says this, but it is somewhat cryptic). __Martin > On Thu, 23 Jul 2020 14:56:23 +1200, Michael Williams said: > > Hi Radosław, > > Thank you for the reply and my apologies for emailing you directly - that > was by mistake. > > I have been doing

Re: [Bacula-users] BSR file not updated with every job

2020-07-24 Thread Martin Simmons
> On Fri, 24 Jul 2020 09:09:12 -0400, Dan Langille said: > > I'm using Bacula 9.6.5 on FreeBSD 12.1 > > I have noticed a BSR file which is not getting updated after every job run. > ... > This is the most recent job, from today: > > 24-Jul 03:05 bacula-dir JobId 314258: Start Backup JobId 31

Re: [Bacula-users] Conflicting Include and Exclude resource

2020-07-27 Thread Martin Simmons
The Exclude directive is ignored for everything listed in the fileset, either statically or from a dynamic script. If your script outputs /home/yateen/testdir/foo1.mp3 then I am surprised it is not backed up. Is this with level=Full? __Martin > On Sun, 26 Jul 2020 16:00:21 +, "Shaligra

Re: [Bacula-users] Pool files marked error.

2020-07-27 Thread Martin Simmons
> On Mon, 27 Jul 2020 14:23:32 +0200, Erik P Olsen said: > > On 2020-07-27 at 08:01:06 Heitor Faria wrote: > Thanks Heitor. > > > > I have some pool files that are marked error. What am I supposed to do > > > with > > > them? > > > > It will all depend on the reason your volumes were flag

Re: [Bacula-users] BSR file not updated with every job

2020-07-28 Thread Martin Simmons
>>>>> On Tue, 28 Jul 2020 07:55:21 -0400, Dan Langille said: > > On Mon, Jul 27, 2020, at 11:55 AM, Dan Langille wrote: > > On Sun, Jul 26, 2020, at 7:33 AM, Dan Langille wrote: > > > > On Jul 24, 2020, at 6:00 PM, Martin Simmons > > > > wrote:

Re: [Bacula-users] Bacula / MySQL Question

2020-09-02 Thread Martin Simmons
> On Tue, 1 Sep 2020 13:59:01 -0400, Phil Stracchino said: > > On 2020-09-01 10:54, Russell DeFlavia wrote: > > Greetings and good day all! > > > > Regarding Bacula, ever since I migrated my database from sqlite3 to > > mysql, the LogText element in the Log table is no longer populated. > >

Re: [Bacula-users] Fwd: Re: Bacula / MySQL Question

2020-09-07 Thread Martin Simmons
on this excellent list! > > I meant to send this to the list; so, I am forwarding this reply that I sent > to Martin with hopes of benefiting others on the list. > > With kind regards, > Russell > > > ------ Original Message -- > > From: Russell DeF

Re: [Bacula-users] Multiple messages for every copied job

2020-10-01 Thread Martin Simmons
> On Thu, 1 Oct 2020 10:47:12 +0200, Radosław Korzeniewski said: > > Hello, > > I have an impression that you and I are talking about two totally > distinctive things, so to progress with our discussion all things have to > be cleared out. > > śr., 30 wrz 2020 o 14:04 napisał(a): > > > >>

Re: [Bacula-users] Baculum 9.6.5.1

2020-10-02 Thread Martin Simmons
This output makes no sense to me. Firstly, you need to put the SELECT on a separate line. It should look like this: Enter a period to cancel a command. *sqlquery Automatically selected Catalog: MyCatalog Using Catalog "MyCatalog" Entering SQL query mode. Terminate each query with a semicolon. Te

Re: [Bacula-users] %t incorrectly expanding as "System or Console"

2020-10-02 Thread Martin Simmons
It looks like the job type is not passed to the FD for ClientRunBeforeJob. __Martin > On Fri, 02 Oct 2020 16:37:48 +0200, news said: > > Hello! > > I just used %t with ClientRunBeforeJob with a job of type "Backup" and > level "Full" and noticed that %t expanded as "System or Console". >

Re: [Bacula-users] Baculum 9.6.5.1

2020-10-02 Thread Martin Simmons
e db=7fcaec005360 > bacula-dir: job.c:1466-0 Start dird free_jcr > bacula-dir: mem_pool.c:372-0 garbage collect memory pool > bacula-dir: job.c:1522-0 End dird free_jcr > > > On Fri, Oct 2, 2020 at 12:56 PM Martin Simmons wrote: > > > This output makes no sense to me. >

Re: [Bacula-users] Baculum 9.6.5.1

2020-10-05 Thread Martin Simmons
> > > https://pastebin.com/u81FRDu8 > > > > On Fri, Oct 2, 2020 at 4:57 PM Martin Simmons wrote: > >> > >> It looks like bconsole is broken. Does it work with other commands, > >> e.g. restore? > >> > >> The code doesn't cont

Re: [Bacula-users] Backup from client with deduplication

2020-10-07 Thread Martin Simmons
I think you cannot do a Windows backup of just one subdirectory (D:/FS/) from a deduplicated volume because that doesn't include the deduplication store. It should work if you add portable=yes, as long as you don't need any Windows-specific bits. __Martin > On Wed, 7 Oct 2020 07:37:18 +0300,

Re: [Bacula-users] Issue restoring directory contents from restore list file

2020-10-29 Thread Martin Simmons
Try changing file= On Thu, 29 Oct 2020 07:24:34 +, Murray Trainer said: > > Hi All, > > I am using Bacula 7.0.5-7 on CentOS 7.6.1810. I am trying to restore a list > of 200 directories and their contents from bconsole. I have tried various > command lines including the one below but

Re: [Bacula-users] Autoprune not getting rid of Verify jobs

2020-11-05 Thread Martin Simmons
You are correct that autoprune doesn't get rid of Verify jobs. What is the Level of your Verify jobs? I run VolumeToCatalog Verify jobs but they never have any files listed by "list files jobid=" (just the job record itself) so I don't understand your comment below. I work around the autoprune is

Re: [Bacula-users] Fwd: Speeding up incremental backups

2020-11-09 Thread Martin Simmons
Bacula doesn't have any code to match a renamed file with a previous file. It just makes a backup of every unknown file or those that match the Accurate options. Note that if you remove "5" from the Accurate options then you will need to add "mc" to make it detect changes to existing files. __Ma

Re: [Bacula-users] Fwd: Speeding up incremental backups

2020-11-10 Thread Martin Simmons
ly backup the file if the md5 has changed. But > that doesn't seem to be an option. Yes, that's correct. __Martin > > Thanks again for all the help, > > B. Smith > > > On Mon, Nov 9, 2020 at 11:56 AM Martin Simmons wrote: > > > Bacula doesn't

Re: [Bacula-users] Fwd: Speeding up incremental backups

2020-11-10 Thread Martin Simmons
continue with an incremental backup so long as I don't change the > actual files/directories in the FileSet? > > Thanks again for all the help. > > On Tue, Nov 10, 2020 at 7:15 AM Martin Simmons wrote: > > > I'm replying inline because it is easier. > >

Re: [Bacula-users] Tandberg 8 Slot - Config help need and Bscan need

2020-12-01 Thread Martin Simmons
I think the first argument to mtx-changer must be the generic device associated with /dev/sch0 (the robot), not the tape drive. You can list the generic devices using "lsscsi --generic". See https://unix.stackexchange.com/a/193474. __Martin > On Tue, 1 Dec 2020 04:35:35 +0100, mauric said:

Re: [Bacula-users] Baculum Startup Error

2020-12-01 Thread Martin Simmons
The error seems to be: /usr/lib/php/20180731/pdo_mysql.so: undefined symbol: mysqlnd_allocator so maybe look at: https://stackoverflow.com/questions/38055444/php-7-0-and-mysql-start-up-error-undefined-symbol-mysqlnd-allocator-in-unknown __Martin > On Tue, 1 Dec 2020 09:03:19 +, Chris

Re: [Bacula-users] Bacula backup to S3 (help)

2020-12-02 Thread Martin Simmons
Those messages about "Rejected plugin: want=-sd.so" are benign (none of those files are plugins). It might help if you post your bacula-sd.conf and the bconsole output from running a job. __Martin > On Tue, 1 Dec 2020 20:01:58 -0500, r0002@nxlplyx com said: > > Hi everyone. > > I have bee

Re: [Bacula-users] Data loss with Hard Links

2020-12-15 Thread Martin Simmons
> On Tue, 15 Dec 2020 11:31:46 +0100, Andrea Venturoli said: > > Hello. > > I'm backing up a FreeBSD server where Cyrus IMAP runs and I'm using > Full/Differential/Incremental scheme. > > As you probably know, Cyrus IMAP uses hardlinks to avoid saving > duplicate messages (and probably for

Re: [Bacula-users] Data loss with Hard Links

2020-12-21 Thread Martin Simmons
>>>>> On Fri, 18 Dec 2020 16:57:56 +0100, Eric Bollengier via Bacula-users said: > > Hello, > > On 2020-12-18 15:16, Andrea Venturoli wrote: > > On 12/15/20 6:49 PM, Martin Simmons wrote: > > > >> What is the fileset definition? > > &

Re: [Bacula-users] Bacula For Mac Clients

2021-02-12 Thread Martin Simmons
> On Thu, 11 Feb 2021 13:28:31 -0800, jmaness said: > > On Thu, Feb 11, 2021 at 12:54 PM Josh Fisher wrote: > > > > > On 2/11/21 12:40 PM, jman...@engineering.ucsb.edu wrote: > > > > Hello! > > > > About two years ago our Bacula client package stopped working in > > Catalina. We've fig

Re: [Bacula-users] Error on despooling attributes in catreq.c: wanted xxx bytes, maximum permitted 10000000 bytes

2021-02-15 Thread Martin Simmons
> On Mon, 15 Feb 2021 09:56:33 +0100, Uwe Schuerkamp said: > > Hi folks, > > during a largish backup job (3,8TB windows fileserver, about 5m files > & directories) I'm seeing this error when the attributes are being > despooled once the job completes: > > Fatal error: catreq.c:762 fread attr

Re: [Bacula-users] Bacula For Mac Clients

2021-02-15 Thread Martin Simmons
>>>>> On Fri, 12 Feb 2021 17:47:52 -0500, Josh Fisher said: > > On 2/12/21 12:53 PM, Martin Simmons wrote: > > > > > I don't understand the comment about "refactor" or "all instances" unless > > there are other errors as well.

Re: [Bacula-users] Error on despooling attributes in catreq.c: wanted xxx bytes, maximum permitted 10000000 bytes

2021-02-16 Thread Martin Simmons
> On Tue, 16 Feb 2021 12:22:51 +0100, Uwe Schuerkamp said: > > Hi folks, > > thanks for all your suggestions. I compiled 9.6.7 from source and > "patched" catreq.c to increase the maximum attribute spool size to 3x > the original value. Why 3x? The value in tne message is almost 197x the or

Re: [Bacula-users] Error on despooling attributes in catreq.c: wanted xxx bytes, maximum permitted 10000000 bytes

2021-02-17 Thread Martin Simmons
> On Wed, 17 Feb 2021 15:11:30 +0100, Josip Deanovic said: > > On Tuesday 2021-02-16 12:22:51 Uwe Schuerkamp wrote: > > Hi folks, > > > > thanks for all your suggestions. I compiled 9.6.7 from source and > > "patched" catreq.c to increase the maximum attribute spool size to 3x > > the origina

Re: [Bacula-users] Fwd: bacula-fd errors on backupCatalog run

2021-02-22 Thread Martin Simmons
> On Sun, 21 Feb 2021 09:25:01 +0100, Sven Hartge said: > > On 20.02.21 21:12, Robert Earl wrote: > > > If I create a zero-size file in the proper place on the client, the > > Catalog backup proceeds, but is of course null. Why is it even looking > > for a database?? > > The catalog backup

Re: [Bacula-users] Error on despooling attributes in catreq.c: wanted xxx bytes, maximum permitted 10000000 bytes

2021-02-23 Thread Martin Simmons
>>>>> On Thu, 18 Feb 2021 09:19:36 +0100, Uwe Schuerkamp said: > > On Wed, Feb 17, 2021 at 07:17:17PM +, Martin Simmons wrote: > > >>>>> On Wed, 17 Feb 2021 15:11:30 +0100, Josip Deanovic said: > > > > > > I am not sure if 5M files

Re: [Bacula-users] Error on despooling attributes in catreq.c: wanted xxx bytes, maximum permitted 10000000 bytes

2021-02-24 Thread Martin Simmons
> On Wed, 24 Feb 2021 08:54:11 +0100, Uwe Schuerkamp said: > > On Tue, Feb 23, 2021 at 05:52:02PM +0100, Josip Deanovic wrote: > > On Monday 2021-02-22 16:06:42 David Brodbeck wrote: > > > On Wed, Feb 17, 2021 at 6:12 AM Josip Deanovic > > > > > > wrote: > > > > It's interesting that the job

Re: [Bacula-users] Problem with missing EOD/EOF on LTO-5 Tape

2021-02-24 Thread Martin Simmons
That is a strange error. ERR=Erfolg (Success) means that ioctl returned non-zero but didn't set any errno. Is there anything logged in the syslog (e.g. /var/log/messages or the system console)? Is this Linux? Which kernel driver are you using for the tape? __Martin > On Tue, 23 Feb 2021

Re: [Bacula-users] Problem with missing EOD/EOF on LTO-5 Tape

2021-02-26 Thread Martin Simmons
# find /sys | grep drivers.*9:0:4 > /sys/bus/scsi/drivers/st/9:0:4:0 > > Best, > > Christian > > > -Original-Nachricht- > Betreff: Re: [Bacula-users] Problem with missing EOD/EOF on LTO-5 Tape > Datum: 2021-02-24T12:42:33+0100 > Von: "Martin S

Re: [Bacula-users] Problem with missing EOD/EOF on LTO-5 Tape

2021-02-26 Thread Martin Simmons
> number by using mt -f /dev/nst0 tell > > > Best, > > Christian > > > -Original-Nachricht- > Betreff: Re: [Bacula-users] Problem with missing EOD/EOF on LTO-5 Tape > Datum: 2021-02-26T14:53:57+0100 > Von: "Martin Simmons" > An: &quo

Re: [Bacula-users] Problem with missing EOD/EOF on LTO-5 Tape

2021-03-02 Thread Martin Simmons
sume this is not the problem here as the result of (1) > correctly reports a block number. Am I right? > > Thank you very much in advance! > > Best, > > Christian > > -Ursprüngliche Nachricht- > Von: Martin Simmons > Gesendet: Freitag, 26. Februar 2021 22:

Re: [Bacula-users] Problem with missing EOD/EOF on LTO-5 Tape

2021-03-02 Thread Martin Simmons
ONLINE IM_REP_EN > > Best, > > Christian > > > > -Original-Nachricht- > Betreff: Re: AW: [Bacula-users] Problem with missing EOD/EOF on LTO-5 Tape > Datum: 2021-03-02T12:34:22+0100 > Von: "Martin Simmons" > An: "Christian Lehmann&q

Re: [Bacula-users] Backup Fail Email Notifications for Deprecated Hosts

2021-03-16 Thread Martin Simmons
> On Mon, 15 Mar 2021 23:02:02 +, Adam Palmer said: > > Good Afternoon. > > I've inherited responsibility for a Bacula instance that seems to be running > Version: 3.0.2 of the Director. > > This system outputs 5 emails every day with a subject line of: "Backup Fail: > recorded histo

[Bacula-users] Someone is sending suspicious replies to posts

2021-03-16 Thread Martin Simmons
Hi, Has anyone else received a suspicious reply after posting to this list? I just received a reply directly to me with the correct references/in-reply-to header: -- Date: Tue, 16 Mar 2021 15:50:00 +0100 Subject: Re: [Ba

Re: [Bacula-users] Regression testing - errors found with make setup

2021-03-24 Thread Martin Simmons
> On Mon, 22 Mar 2021 19:35:04 +0100, Adolf Belka (gmail) said: > > Hi Radoslaw, > > Sent from my Desktop Computer > > On 22/03/2021 16:23, Radosław Korzeniewski wrote: > > Hello, > > > > pon., 22 mar 2021 o 15:44 Adolf Belka (gmail) > > napisał(a): > > > >

Re: [Bacula-users] regression testing - more volunteers wanted

2021-03-25 Thread Martin Simmons
> On Thu, 25 Mar 2021 09:42:07 +0100, Radosław Korzeniewski said: > > śr., 24 mar 2021 o 17:46 Adolf Belka (gmail) > napisał(a): > > >File "/home/ahb/sandbox/bacula/regress/./endtime", line 16 > > print 'Total time = %d:%02d:%02d or %d secs' % (h, m, sec, t - > > float(s)) > >

Re: [Bacula-users] Archiving only concept

2021-03-25 Thread Martin Simmons
> On Thu, 25 Mar 2021 09:45:44 +0100, fk+bacula--- via Bacula-users said: > > Hello there, > > I have on a client a directory in which are images (jpg) are copied in. > Then I do a full backup of it on a tape and 2nd tape. > Then the source files will be deleted. That's working fine so far.

Re: [Bacula-users] virtual job consolidation

2021-04-06 Thread Martin Simmons
> On Fri, 2 Apr 2021 18:36:35 +0200, Samuel Zaslavsky said: > > Hello everyone, > > My setup is very simple : I have fastly growing hundreds of tera-octets of > datas that I wanted to backup.I have 2 LTO drives with autochanger. > Data never expires, I just want to backup everything once, so

Re: [Bacula-users] Version mismatch causing auth failure?

2021-04-06 Thread Martin Simmons
> On Mon, 5 Apr 2021 01:27:07 -0700, Robert Earl said: > > I recently upgraded Bacula from 9.6.5 to 9.6.7 on the director host. Now I > have received an authentication error when running backups on my client > Fedora machine. > > aten-dir JobId 3491: Start Backup JobId > 3491,Job=matthew-Bac

Re: [Bacula-users] Version mismatch causing auth failure?

2021-04-07 Thread Martin Simmons
la should be doing that automatically in the > installation, it's not my job! > > Robert > > On Tue, Apr 6, 2021 at 10:50 AM Martin Simmons wrote: > > > >>>>> On Mon, 5 Apr 2021 01:27:07 -0700, Robert Earl said: > > > > > > I recent

Re: [Bacula-users] Version mismatch causing auth failure?

2021-04-07 Thread Martin Simmons
I forgot to say that the best way to set the command line arguments for debugging purposes is to run it from a shell prompt. Pass the normal arguments as well, which you can find using ps augxww | grep bacula-dir __Martin >>>>> On Wed, 7 Apr 2021 12:05:03 +0100, Mart

Re: [Bacula-users] Version mismatch causing auth failure?

2021-04-07 Thread Martin Simmons
>>>>> On Wed, 7 Apr 2021 14:31:00 +0200, Radosław Korzeniewski said: > > Hello, > > śr., 7 kwi 2021 o 14:05 Martin Simmons napisał(a): > > > I forgot to say that the best way to set the command line arguments for > > debugging purposes is to ru

Re: [Bacula-users] Bacula restore size not match

2021-05-05 Thread Martin Simmons
> On Wed, 5 May 2021 15:42:41 +0300, Semih Durgun said: > > Hi everyone, > I am encountering file size error while restore. I think i am getting this > error because of adding to the log file during restore. Does someone have > another idea of what is causing the issue? And how can I solve thi

Re: [Bacula-users] Backup catalog error

2021-05-07 Thread Martin Simmons
> On Thu, 6 May 2021 21:54:54 +0200, Peter Milesson said: > > On 2021-05-06 15:51, Josip Deanovic wrote: > > On Wednesday 2021-05-05 20:53:42 Peter Milesson wrote: > >> Hi folks, > >> > >> After upgrading to Bacula 9.2.2, the following backup error occurs when > >> the daily catalog backup is

Re: [Bacula-users] S3 "Driver" Doesn't Work 11.0.2

2021-05-07 Thread Martin Simmons
That failure to find BaculaCloudDriver is not surprising. The bacula-sd-cloud-driver-11.0.2.so is a "SD" driver, but the code in cloud_dev.c is looking for a "Cloud" driver. You need both to make S3 work. I suggest checking bacula/src/stored/Makefile in your build to see the value of CLOUD_INSTA

Re: [Bacula-users] S3 "Driver" Doesn't Work 11.0.2

2021-05-07 Thread Martin Simmons
> On Thu, 6 May 2021 18:01:41 +0200, Kern Sibbald said: > > Your fundamental problem in making the S3 plugin work is that plugin > has the wrong name -- this can be seen from the -D200 debug output > you supplied.  The Bacula SD is looking for plugins named: > xxx-sd.so, and your plugin is nam

Re: [Bacula-users] Backup catalog error

2021-05-07 Thread Martin Simmons
>>>>> On Fri, 7 May 2021 12:37:32 +0200, Peter Milesson said: > > On 2021-05-07 12:01, Martin Simmons wrote: > >>>>>> On Thu, 6 May 2021 21:54:54 +0200, Peter Milesson said: > >> On 2021-05-06 15:51, Josip Deanovic wrote: > >>> O

Re: [Bacula-users] S3 "Driver" Doesn't Work 11.0.2

2021-05-07 Thread Martin Simmons
América Latina > [ http://bacula.lat/] > > > > Original Message > From: Martin Simmons > Sent: Friday, May 7, 2021 06:35 AM > To: Heitor Faria > Subject: Re: [Bacula-users] S3 "Driver" Doesn't Work 11.0.2 > CC: k...@sibbald.com,jim jo

Re: [Bacula-users] Backup catalog error

2021-05-07 Thread Martin Simmons
>>>>> On Fri, 7 May 2021 13:40:03 +0200, Peter Milesson said: > > On 2021-05-07 13:12, Martin Simmons wrote: > >>>>>> On Fri, 7 May 2021 12:37:32 +0200, Peter Milesson said: > >> On 2021-05-07 12:01, Martin Simmons wrote: > >>&

Re: [Bacula-users] Backup catalog error

2021-05-07 Thread Martin Simmons
>>>>> On Fri, 7 May 2021 16:24:23 +0200, Peter Milesson said: > > On 2021-05-07 16:05, Martin Simmons wrote: > >>>>>> On Fri, 7 May 2021 13:40:03 +0200, Peter Milesson said: > >> On 2021-05-07 13:12, Martin Simmons wrote: > >>&

Re: [Bacula-users] bacula-sd mount command not executing or failing even RemovableMedia=yes & Requires Mount=yes is set.

2021-05-24 Thread Martin Simmons
See the documentation for Device Type in https://www.bacula.org/11.0.x-manuals/en/main/Storage_Daemon_Configuratio.html which mentions this issue in the paragraph after the list of Device Types. __Martin > On Sat, 22 May 2021 19:11:57 +0200, Marc Elser said: > > Thanks a lot Michel, > > Th

Re: [Bacula-users] Daily Bacula backup report summary email (finally) ported to Python

2021-05-24 Thread Martin Simmons
> On Sat, 22 May 2021 23:44:42 -0400, Phil Stracchino said: > > On 5/22/21 4:48 PM, Bill Arlofski via Bacula-users wrote: > > On 5/22/21 12:49 PM, Phil Stracchino wrote: > >> > >> I'm about to try this out. But in the meantime, one minor quibble: > >> Would you consider renaming the git file

Re: [Bacula-users] Bacula-users Digest, Vol 181, Issue 21

2021-05-24 Thread Martin Simmons
> On Sun, 23 May 2021 11:53:25 -0500, Joseph Zatarski said: > > It would also be useful to know what the default options are for the > "Accurate = " flags in the fileset. Unfortunately, I don't see any > listing of default options in the documentation, beyond when they > implemented the fea

Re: [Bacula-users] Update of Bacula MySQL tables from 16 to 1017 failed. [Help!]

2021-06-01 Thread Martin Simmons
These errors might cause errors in use: > ERROR 1067 (42000) at line 53: Invalid default value for 'EventsInsertTime' > ERROR 1146 (42S02) at line 66: Table 'bacula.Events' doesn't exist It looks like commit 48905baa40933ad4bab45b1557b2caa0e4994c5d is also needed for update_mysql_tables.in. __Ma

Re: [Bacula-users] Bacula version compatibility matrix

2021-06-09 Thread Martin Simmons
Also, the Storage daemon must be running the same version as the Director. The release notes also say: Any File daemon running on the same machine as a Director or Storage daemon must be of the same version. __Martin > On Wed, 9 Jun 2021 08:31:33 -0300, Elias Pereira said: > > bacula-dir n

Re: [Bacula-users] Try to use DiskToCatalog and VolumeToCatalog checks but got error Unimplemented ...

2021-06-11 Thread Martin Simmons
You need to make a special job with Type = Verify and run that. __Martin > On Fri, 11 Jun 2021 11:07:01 +0200, Pierre Bernhardt said: > > Hello, > > I use Debian Buster with Bacula 9.4.2 with latest debian packages on the > related systems. > > I want to check the DiskToCatalog and Volum

Re: [Bacula-users] Issue with newly installed 11.0.3

2021-06-14 Thread Martin Simmons
Which SQL backend are you using? Maybe you can turn on logging in the rdbms to see if any queries fail? __Martin > On Mon, 14 Jun 2021 11:56:02 +0200, Erik P Olsen said: > > I have just installed bacula 11.0.3 from fedora's repo and now my usual > backups are > failing with: Fatal error:

Re: [Bacula-users] Solved: Try to use DiskToCatalog and VolumeToCatalog checks but got error Unimplemented ...

2021-06-14 Thread Martin Simmons
hardt said: > > Hello, > > I wonder me that the list does not send me my own mail back to me. > You answered directly to me instead to the list so I cannot also answer > to the list so the information will be lost for other people :-( > > Am 11.06.21 um 17:47 schrieb M

Re: [Bacula-users] Archiving a tape

2021-06-14 Thread Martin Simmons
I don't think Bacula ever sets volstatus to Archive automatically, so maybe you have some script that is doing it? __Martin > On Mon, 14 Jun 2021 16:36:03 +0100, Jeffrey Di Domenico said: > > Hi, > > Can someone tell me how Bacula decides to archive a tape? Recently we > seem to have tape

Re: [Bacula-users] Trying to update bacula from 7.4 to 9.6 on ancient CentOS6 system fails (segfault in director)

2021-07-29 Thread Martin Simmons
It seems to be crashing in the MySQL library, when bacula calls mysql_init. The output of ldd /server/bacula-9.6.7/lib/libbaccats-9.6.7.so might be useful. Which version of bacula was running on the server before you updated it? Do you still have the libbaccats-*.so from that? If so, then th

Re: [Bacula-users] Encrypted restore fails with openssl errors

2021-08-09 Thread Martin Simmons
> On Fri, 6 Aug 2021 15:46:49 -0700, Robert Earl said: > > My next step was to do a quick backup and restore of aten to prove it was > now decryptable. However, a funny thing happened on the way to the forum. > First I tested matthew to prove it was also decryptable with no > configuration cha

Re: [Bacula-users] How to continue after a Failed job ?

2021-09-03 Thread Martin Simmons
If the volume is not needed at all then maybe the "purge volume" command is what you need? That will forget about all data on a selected volume and mark it for reuse. If the volume contains other jobs that you want to keep, then there is no way to reuse the space. The only way around that would

Re: [Bacula-users] How to continue after a Failed job ?

2021-09-07 Thread Martin Simmons
Yes, that's true, you cannot migrate part of a job. If you migrated that job, then you would have unused space on some other volume :-( __Martin > On Mon, 6 Sep 2021 11:30:20 +0200, Dan-Gabriel CALUGARU said: > > Thanks very much Martin for your answer. In fact, I had the both cases > to

Re: [Bacula-users] Upgrade to focal zorched bacula again

2021-09-21 Thread Martin Simmons
To debug the bconsole problem, try running it with the -d500 command line argument. You'll probably need to look at the release notes for Apache to see why the baculum-api.conf doesn't work. __Martin > On Mon, 20 Sep 2021 11:10:15 -0700, Robert Earl said: > > Hi all! > We recently upgraded

Re: [Bacula-users] Volumes with ERROR status

2021-10-04 Thread Martin Simmons
> On Sat, 2 Oct 2021 05:52:21 +, "Shaligram Bhagat, Yateen (Nokia said: > > We are using Bacula 9.4.4 with PostGreSQL for disk based backeup > > Recently I observed many volumes with volstatus ERROR. > I just wonder as to when when Bacula marks a volume with ERROR . The bacula log will c

Re: [Bacula-users] Restore to cifs-mounted share fails to restore timestamps

2021-11-02 Thread Martin Simmons
It might be useful to see if /bin/touch can set these times orrectly on the restored file. That would clarify if it is a bug in Bacula. __Martin > On Tue, 2 Nov 2021 12:30:21 +0100, Uwe Schuerkamp said: > > Hi folks, > > I'm not sure if this is a bug or a feature, but here goes (bacula 11

Re: [Bacula-users] Restore to cifs-mounted share fails to restore timestamps

2021-11-02 Thread Martin Simmons
> On Tue, 2 Nov 2021 15:25:20 +0100, Uwe Schuerkamp said: > > __Martin wrote: > > > It might be useful to see if /bin/touch can set these times orrectly > > on the restored file. That would clarify if it is a > bug in > > Bacula. > > > Apparently "touch" can set the access & modification

Re: [Bacula-users] Why isn't bacula recycling these volumes?

2021-12-09 Thread Martin Simmons
> On Thu, 09 Dec 2021 10:03:16 -0600, Larry Rosenman said: > > On 12/09/2021 9:42 am, Bill Arlofski via Bacula-users wrote: > > On 12/8/21 07:08, Larry Rosenman wrote: > >> I have a bunch of volumes that bacula seems to have forgotten about. > >> Can you explain why? > >> > >> Also, what SQL/

Re: [Bacula-users] Documentation MaximumVolumes Inaccuracy Bacula Manual 11

2021-12-17 Thread Martin Simmons
I think the doc is correct because "forcibly purging" only happens if you set the Purge Oldest Volume or Recycle Oldest Volume directives to yes. The purging you are seeing below happens because the volume has no current jobs (e.g. they were pruned) so that is normal recycling. __Martin > O

Re: [Bacula-users] Packet size too big (NOT a version mismatch)

2022-01-04 Thread Martin Simmons
Is this happening for all backups? What happens if you run a backup with a minimal fileset that lists just one small file? __Martin > On Tue, 4 Jan 2022 08:13:46 -0800, Stephen Thompson said: > > I am still seeing the same issue on Monterey as on Big Sur with 11.0.5 > compiled from source

Re: [Bacula-users] Wich wildcard chars allowed

2022-01-13 Thread Martin Simmons
It is a shell-style pattern, so *, ? and [] work. The code is part of Bacula, so it not dependent on the OS. Note that [] is only for matching a single character, so 201[0-9] would match 2010-2019 but there is no way to make a match for 2010-2020. If you need to use a regex, then you can test it

Re: [Bacula-users] Trying to get mount requests by mail

2022-01-19 Thread Martin Simmons
What is in the Messages resource for the original Backup job? I suspect it will use that instead of the one for the Copy job. __Martin > On Wed, 19 Jan 2022 08:28:50 +0100, Christoph Litauer said: > > Dear bacula-users, > > I am running bacula 9.0.6 on Ubuntu 18.04.6. > > Every night I r

Re: [Bacula-users] Maximum Reload Requests

2022-02-02 Thread Martin Simmons
There is no limit when jobs are not running, but a console counts as a job so that will eventually prevent reloading until you exit from all consoles. __Martin > On Wed, 2 Feb 2022 11:45:04 +, "Shaligram Bhagat, Yateen (Nokia said: > > Hi all, > > In the Bacula 9.4.4 main reference gui

Re: [Bacula-users] Not sending mails

2022-02-14 Thread Martin Simmons
/usr/lib/sendmail is Bacula's default command for sending mail, so it looks like bacula-dir is using a Messages resource without a mailcommand. Try running "show job=RestoreFiles" in bsconsole to see what it has. __Martin > On Mon, 14 Feb 2022 11:20:17 +0100, Helmut Schneider said: > > Hi,

Re: [Bacula-users] Not sending mails

2022-02-14 Thread Martin Simmons
> On Mon, 14 Feb 2022 16:53:39 +0100, Helmut Schneider said: > > --> Messages: name=MailEverything > mailcmd=/usr/local/sbin/bsmtp -h localhost -f "(Bacula) <%r>" -s > "Testing Bacula MailEverything: %t %e of %c (%f - %l)" %r > opcmd=/usr/local/sbin/bsmtp -h localhost -f "(

Re: [Bacula-users] Not sending mails

2022-02-17 Thread Martin Simmons
>>>>> On Tue, 15 Feb 2022 15:10:34 +0100, Helmut Schneider said: > > Am 14.02.2022 um 19:31 schrieb Martin Simmons: > >>>>>> On Mon, 14 Feb 2022 16:53:39 +0100, Helmut Schneider said: > >> > >> --> Messages: name=MailEveryt

Re: [Bacula-users] How to remove all volumes?

2022-03-21 Thread Martin Simmons
You can use the "delete volume" command in bconsole to remove a volume from the catalog. After that, you can safely rm it from the filesystem. __Martin > On Sat, 19 Mar 2022 13:08:41 +0100, Justin Case said: > > Dear all, > > again another newbie question: > > I need to use a different d

Re: [Bacula-users] Link Error 11.0.5 on sles

2022-03-24 Thread Martin Simmons
It looks like it is linking against the libbac.so from 9.6.4, so some new symbols are missing. Is that the first error in the make? If so, then you could try uninstalling the 9.6.4 package before compiling 11.0.5. __Martin > On Thu, 10 Mar 2022 13:25:27 +1100, Mark Casey said: > > Hi All

Re: [Bacula-users] Compiling v9.6.7 for Raspian 64 bit

2022-04-01 Thread Martin Simmons
> On Fri, 1 Apr 2022 21:29:56 +1100, Gary R Schmidt said: > > On 01/04/2022 21:13, Chris Wilkinson wrote: > > I built this from source and found it would not run due to a permissions > > error with the daemons bacula-* and dbcheck. It seems the make builds > > them with permissions 750, root

Re: [Bacula-users] Compiling v9.6.7 for Raspian 64 bit

2022-04-01 Thread Martin Simmons
ith-dir-group=bacula \ > --with-fd-user=root \ > --with-fd-group=root \ > --with-sd-user=bacula \ > --with-sd-group=tape > > > Regards > Chris Wilkinson > > On Fri, 1 Apr 2022, 12:47 pm Martin Simmons, wrote: > > > >>>>> On Fri, 1

Re: [Bacula-users] Compiling v9.6.7 for Raspian 64 bit

2022-04-12 Thread Martin Simmons
t; whilst trying to debug this but that was dead end which I should undo now. > > > > Best > > Chris > > > > > > On Fri, 1 Apr 2022, 11:19 pm Martin Simmons, wrote: > > > >> That looks OK, but how are you running the startup scripts?

Re: [Bacula-users] Compiling v9.6.7 for Raspian 64 bit

2022-04-12 Thread Martin Simmons
hould I report it? Or > perhaps one of the devs could pick it up? > > dbcheck is also affected. This prevents the dir startup script from running. > > It all seems to be working now with these changes made. > > Chris. > > On Tue, 12 Apr 2022, 11:37 am Martin Simm

Re: [Bacula-users] Getting a LTO8 drive work with Bacula.

2022-04-13 Thread Martin Simmons
I suggest adding the -d200 argument to btape so it prints some debugging info. Also, which driver are you using? I think you need to avoid the lin_tape driver because it doesn't work with Bacula. __Martin > On Tue, 12 Apr 2022 16:46:55 -0700, Hector Barrera said: > > Hello Gentlemen, > >

Re: [Bacula-users] Restoration stuck with bconsole - bextract or baculum wizard

2022-04-13 Thread Martin Simmons
Maybe it is just running very slowly? Can you post the bsr file here? __Martin > On Wed, 13 Apr 2022 08:48:35 +, Lionel PLASSE said: > > Hello, > > I was testing my Backup support  (every 3month I test it). And was surprised > for one backup job only on the same volume is stuck. > I

Re: [Bacula-users] Comm Line Compression report

2022-05-17 Thread Martin Simmons
> On Tue, 17 May 2022 07:48:52 -0500, Dean E Weimer via Bacula-users said: > > Com Line Compression, is the compression of the data transmitted to the > server about the backup, the file list for example, its not the data > that was backed up. I think that is wrong -- it includes the file c

Re: [Bacula-users] Volume Corruption?

2022-06-08 Thread Martin Simmons
> On Tue, 7 Jun 2022 19:09:38 -0400, Ken Mandelberg said: > > I run bacula with file volumes not tapes. Recently several volumes may > have gotten corrupted. Here are 3 examples > > Vol0001   Read-Only  File  2022-06-01 2:22:42 34.0GB > Vol0004   Full   File  2022-05-26 2:11:09 53.6GB >

Re: [Bacula-users] Occasional zero size volumes on Google Drive

2022-06-08 Thread Martin Simmons
> On Wed, 8 Jun 2022 09:14:59 +0100, Chris Wilkinson said: > > Occasionally I see the error below. > 08-Jun 03:47 homeserver-sd JobId 6071: Error: Bacula cannot write on disk > Volume "gdrive-incr16451" because: The sizes do not match! Volume=0 > Catalog=2,713,614,175 > > The storage in this

Re: [Bacula-users] Volume Corruption?

2022-06-08 Thread Martin Simmons
s to show the file is fine. How do I get it > back into the catalog? > > > > Martin Simmons wrote on 6/8/22 05:46: > >>>>>> On Tue, 7 Jun 2022 19:09:38 -0400, Ken Mandelberg said: > >> I run bacula with file volumes not tapes. Recently several volumes ma

Re: [Bacula-users] [External] Re: Volume Corruption?

2022-06-08 Thread Martin Simmons
t recycled as needed. > > However, the content of the  files are no longer represented in the > catalog, and would be unavailable in a recover. Do I need to scan them > into the catalog? > > Martin Simmons wrote on 6/8/22 13:26: > > To fix a volume, you could use the &qu

Re: [Bacula-users] Q: fileset "magic" - still weird

2022-06-16 Thread Martin Simmons
> On Wed, 15 Jun 2022 22:07:06 +, Bill Arlofski via Bacula-users said: > > On 6/15/22 15:23, sruckh--- via Bacula-users wrote:> Below is an example > Fileset I use which has includes and excludes. > > > > Fileset { > > Name = "Firewall Full" > > Include { > > File = "/" > >

Re: [Bacula-users] Q: fileset "magic" - still weird

2022-06-16 Thread Martin Simmons
> On Thu, 16 Jun 2022 02:36:37 +0200, Justin Case said: > > Hello John, > > I found this approach quite compelling: > > > On 16. Jun 2022, at 00:24, John Lockard wrote: > > > > |sh -c ’echo /mnt/cdat-*’ > No matter what characters i use for the ‘ I get "Error sending include list.” > (alr

Re: [Bacula-users] Volume (Tapes) go Read-only on mounting

2022-06-20 Thread Martin Simmons
The drive (or driver) must be reporting the tape as read-only for some reason. Maybe there is a hardware problem with the sensor that detects the write protect tab? Also, are these LTO-6 tapes in an LTO-6 drive? You could try writing to the tape with tar or dd. __Martin > On Sun, 19 Jun 20

Re: [Bacula-users] Fileset with wildcards

2022-06-22 Thread Martin Simmons
Your first attempt didn't work because the "File =" line doesn't allow wildcards. Your second attempt didn't work because Bacula traverses the folder tree starting from /home, but the fileset doesn't match any direct subfolders in /home, so it stopped before it could find the subfolders matching y

Re: [Bacula-users] Spool files not deleted if job canceled

2022-06-27 Thread Martin Simmons
What is in the bconsole log and messages? Maybe it reports some error? __Martin > On Sun, 26 Jun 2022 12:55:41 +0200, Dietz Proepper said: > > Hi, > > since an update from a rather ancient 9.0.x version to 11.0.6 I notice the > behaviour from the subject line. > > If I cancel a backup

<    8   9   10   11   12   13   14   15   16   17   >