]> git.ipfire.org Git - thirdparty/bacula.git/log
thirdparty/bacula.git
2 years agoAdd FileEvents features
Eric Bollengier [Wed, 7 Sep 2022 14:44:09 +0000 (16:44 +0200)] 
Add FileEvents features

2 years agoregress: tweak snapshot-lvm-test for sqlite
Alain Spineux [Fri, 2 Sep 2022 09:35:37 +0000 (11:35 +0200)] 
regress: tweak snapshot-lvm-test for sqlite

- the auto numbering is not the same between pgsql and sqlite
  - the counter are shared by all "serial" in pgsql
  - while each "auto increment" have there own counter

2 years agomake snapshots works on sqlite
Alain Spineux [Fri, 2 Sep 2022 09:33:50 +0000 (11:33 +0200)] 
make snapshots works on sqlite

- the goal is to make tests/snapshot-lvm-test works
- there is some difference on the DB side :
  - serial and bigserial don't exist in Sqlite, instead use
    INTEGER PRIMARY KEY AUTOINCREMENT
  - the row title for sqlite is SnapshotId vs snapshotid for pgsql

2 years agotweak bsnapshot.c to use a fd instead of FILE* for debugging
Alain Spineux [Wed, 31 Aug 2022 14:25:51 +0000 (16:25 +0200)] 
tweak bsnapshot.c to use a fd instead of FILE* for debugging

- see last change in message.c

2 years agouse a UNIX file descriptor instead of FILE* for the trace file
Alain Spineux [Wed, 31 Aug 2022 14:23:54 +0000 (16:23 +0200)] 
use a UNIX file descriptor instead of FILE* for the trace file

- avoid the double buffering that can be responsible for undesirable
  mix of debug message
- there is no justification for the use of a FILE*
  - every fputs() is followed by a fflush()
- Note from "man 2 open" concurrent write() to NFS using O_APPEND may lead to
  lead to corrupted files

2 years agoFix typo in make_mysql_tables
Eric Bollengier [Fri, 12 Aug 2022 13:10:56 +0000 (15:10 +0200)] 
Fix typo in make_mysql_tables

2 years agoAdd SQL code to update Job::Encrypted field
Eric Bollengier [Fri, 12 Aug 2022 12:56:04 +0000 (14:56 +0200)] 
Add SQL code to update Job::Encrypted field

2 years agoAdd Job::Encrypted catalog field
Eric Bollengier [Fri, 12 Aug 2022 12:55:39 +0000 (14:55 +0200)] 
Add Job::Encrypted catalog field

2 years agoUpdate new field RealStartTime
Eric Bollengier [Fri, 12 Aug 2022 09:11:03 +0000 (11:11 +0200)] 
Update new field RealStartTime

2 years agoMove some common code to update_job_end_record()
Eric Bollengier [Fri, 12 Aug 2022 08:45:24 +0000 (10:45 +0200)] 
Move some common code to update_job_end_record()

2 years agoAdd cats functions to deal with new Job table fields
Eric Bollengier [Fri, 12 Aug 2022 08:43:44 +0000 (10:43 +0200)] 
Add cats functions to deal with new Job table fields

2 years agoAdd new SQL fields inside JOB_DBR
Eric Bollengier [Fri, 12 Aug 2022 08:39:07 +0000 (10:39 +0200)] 
Add new SQL fields inside JOB_DBR

2 years agoAdd new SQLite3 fields in make_sqlite3_tables
Eric Bollengier [Fri, 12 Aug 2022 08:38:30 +0000 (10:38 +0200)] 
Add new SQLite3 fields in make_sqlite3_tables

2 years agoAdd new MySQL fields in make_mysql_tables
Eric Bollengier [Fri, 12 Aug 2022 08:34:53 +0000 (10:34 +0200)] 
Add new MySQL fields in make_mysql_tables

2 years agoAdd new PostgreSQL fields in make_postgresql_tables
Eric Bollengier [Fri, 12 Aug 2022 08:22:18 +0000 (10:22 +0200)] 
Add new PostgreSQL fields in make_postgresql_tables

2 years agoKeep the first FATAL code inside jcr->StatusInfo
Eric Bollengier [Fri, 12 Aug 2022 08:19:58 +0000 (10:19 +0200)] 
Keep the first FATAL code inside jcr->StatusInfo

The Job status code is good, but users have to dig into the
log output to determine the reason of the failure.

We can keep the first FATAL message code inside jcr->StatusInfo
and store it in the catalog to help users. ([DE0001] kind of code)

2 years agoAdd FileIndex to Object table for better VirtualFull support
Eric Bollengier [Mon, 30 May 2022 09:06:19 +0000 (11:06 +0200)] 
Add FileIndex to Object table for better VirtualFull support

2 years agoCheck malware with Verify jobs
Eric Bollengier [Wed, 4 May 2022 17:27:59 +0000 (19:27 +0200)] 
Check malware with Verify jobs

2 years agoAdd bconsole 'list files type=malware' command
Eric Bollengier [Wed, 4 May 2022 17:27:44 +0000 (19:27 +0200)] 
Add bconsole 'list files type=malware' command

2 years agoregress: Add malware-test
Eric Bollengier [Thu, 21 Apr 2022 15:51:59 +0000 (17:51 +0200)] 
regress: Add malware-test

2 years agoAdd new tables to dbcheck cleanup functions
Eric Bollengier [Thu, 21 Apr 2022 15:51:22 +0000 (17:51 +0200)] 
Add new tables to dbcheck cleanup functions

2 years agoAdd core functions to check malware after a backup
Eric Bollengier [Thu, 21 Apr 2022 15:51:09 +0000 (17:51 +0200)] 
Add core functions to check malware after a backup

2 years agoAdd SQL command to clear the Malware table
Eric Bollengier [Thu, 21 Apr 2022 15:49:59 +0000 (17:49 +0200)] 
Add SQL command to clear the Malware table

2 years agoAdd SQL tables to store Malware database
Eric Bollengier [Thu, 21 Apr 2022 15:49:27 +0000 (17:49 +0200)] 
Add SQL tables to store Malware database

2 years agoAdd script scripts/md5tobase64.py
Alain Spineux [Tue, 12 Apr 2022 10:10:11 +0000 (12:10 +0200)] 
Add script scripts/md5tobase64.py

usage: md5tobase64.py [-h] [--keep-padding] [FILENAME [FILENAME ...]]

Convert md5 in Hexa into base64.

positional arguments:
  FILENAME        input file. If no file use STDIN

optional arguments:
  -h, --help      show this help message and exit
  --keep-padding  keep the '=' at the end if any

2 years agoAdd script to download malware database from abuse.ch
Eric Bollengier [Thu, 21 Apr 2022 15:48:13 +0000 (17:48 +0200)] 
Add script to download malware database from abuse.ch

2 years agovss: Fix #9403 About segfault when VSS is not enabled in the FileSet
Eric Bollengier [Wed, 10 Aug 2022 06:53:37 +0000 (08:53 +0200)] 
vss: Fix #9403 About segfault when VSS is not enabled in the FileSet

2 years agocloud: azure driver commit adjustements.
norbert.bizet [Fri, 6 May 2022 13:45:27 +0000 (09:45 -0400)] 
cloud: azure driver commit adjustements.

2 years agoregress: Schedule read-only-device-test
Eric Bollengier [Fri, 25 Feb 2022 18:04:09 +0000 (19:04 +0100)] 
regress: Schedule read-only-device-test

2 years agoregress: Add regress test to test read-only device order
Eric Bollengier [Fri, 25 Feb 2022 18:03:10 +0000 (19:03 +0100)] 
regress: Add regress test to test read-only device order

2 years agoReorganize dynamically device order in Autochangers to use read-only devices first
Eric Bollengier [Fri, 25 Feb 2022 17:37:19 +0000 (18:37 +0100)] 
Reorganize dynamically device order in Autochangers to use read-only devices first

2 years agoupdate catalog version to 1026
Eric Bollengier [Tue, 12 Apr 2022 07:43:59 +0000 (09:43 +0200)] 
update catalog version to 1026

2 years agoSend reload messages directly to the UA Console rather than via a Job message
Eric Bollengier [Mon, 11 Apr 2022 07:23:36 +0000 (09:23 +0200)] 
Send reload messages directly to the UA Console rather than via a Job message

When the Job messages are not send to the console (when using a
web interface to manage bacula for example), the reload messages
are not visible within bconsole after a reload command.

2 years agoFix compilation issue on old GCC
Eric Bollengier [Tue, 8 Feb 2022 07:23:00 +0000 (08:23 +0100)] 
Fix compilation issue on old GCC

2 years agoChange edit_device_codes() prototype to avoid POOLMEM leaks
norbert.bizet [Wed, 12 Oct 2022 15:46:10 +0000 (11:46 -0400)] 
Change edit_device_codes() prototype to avoid POOLMEM leaks

2 years agoFix #9569 About incorrect file selection with restore menu 7
Eric Bollengier [Tue, 18 Oct 2022 15:37:50 +0000 (17:37 +0200)] 
Fix #9569 About incorrect file selection with restore menu 7

2 years agoregress: Add test to reproduce #9569
Eric Bollengier [Tue, 18 Oct 2022 15:32:22 +0000 (17:32 +0200)] 
regress: Add test to reproduce #9569

2 years agoImprove .status dir running with .api
Eric Bollengier [Mon, 17 Oct 2022 08:48:48 +0000 (10:48 +0200)] 
Improve .status dir running with .api

2 years agocloud: exercice StorageClass directive for Amazon cloud driver
norbert.bizet [Thu, 13 Oct 2022 10:05:44 +0000 (06:05 -0400)] 
cloud: exercice StorageClass directive for Amazon cloud driver

2 years agoupdate configure
bsbuild [Mon, 10 Jul 2023 09:22:39 +0000 (11:22 +0200)] 
update configure

2 years agotweak configure
Eric Bollengier [Mon, 10 Jul 2023 09:22:04 +0000 (11:22 +0200)] 
tweak configure

2 years agoupdate configure
bsbuild [Mon, 10 Jul 2023 08:50:05 +0000 (10:50 +0200)] 
update configure

2 years agoTweak configure.in
Eric Bollengier [Mon, 10 Jul 2023 08:49:10 +0000 (10:49 +0200)] 
Tweak configure.in

2 years agoupdate configure
bsbuild [Mon, 3 Jul 2023 16:34:13 +0000 (18:34 +0200)] 
update configure

2 years agoFix compilation issue with tls.c
Eric Bollengier [Mon, 3 Jul 2023 16:31:43 +0000 (18:31 +0200)] 
Fix compilation issue with tls.c

2 years agoFix #9594 Use a default date when the data has not timestamp
Eric Bollengier [Thu, 13 Oct 2022 16:15:43 +0000 (18:15 +0200)] 
Fix #9594 Use a default date when the data has not timestamp

2 years agoAdd OT_DATE in OutputWriter
Eric Bollengier [Thu, 13 Oct 2022 16:05:56 +0000 (18:05 +0200)] 
Add OT_DATE in OutputWriter

2 years agoExtend the Metadata email search parameters to 512 bytes
Eric Bollengier [Wed, 28 Sep 2022 09:01:38 +0000 (11:01 +0200)] 
Extend the Metadata email search parameters to 512 bytes

2 years agoUse ERROR instead of FATAL for Meta data insertion problem
Eric Bollengier [Mon, 26 Sep 2022 13:49:01 +0000 (15:49 +0200)] 
Use ERROR instead of FATAL for Meta data insertion problem

2 years agoglacier: fix load_glacier_driver for MT9470
norbert.bizet [Wed, 5 Oct 2022 09:24:13 +0000 (05:24 -0400)] 
glacier: fix load_glacier_driver for MT9470

2 years agoglacier: Fix #9470 One glacier instance per s3 driver
norbert.bizet [Thu, 29 Sep 2022 14:13:08 +0000 (10:13 -0400)] 
glacier: Fix #9470 One glacier instance per s3 driver

2 years agoregress: Fix Catalog backup setup
norbert.bizet [Mon, 26 Sep 2022 12:36:33 +0000 (08:36 -0400)] 
regress: Fix Catalog backup setup

2 years agoregress: introduce a 2clouds tests for MT9470
norbert.bizet [Mon, 26 Sep 2022 12:24:36 +0000 (08:24 -0400)] 
regress: introduce a 2clouds tests for MT9470

2 years agometa-plugin: Added extra debug about data size. Fixed hello plugin with latest parameters
Jorge Gea [Fri, 23 Sep 2022 11:21:42 +0000 (13:21 +0200)] 
meta-plugin: Added extra debug about data size. Fixed hello plugin with latest parameters

2 years agoregress: if regress/tmp don't exist avoid chmod: cannot access 'tmp'
Alain Spineux [Tue, 20 Sep 2022 07:49:31 +0000 (09:49 +0200)] 
regress: if regress/tmp don't exist avoid chmod: cannot access 'tmp'

- avoid the disturbing message below if regress/tmp don't exist
chmod: cannot access 'tmp': No such file or directory

2 years agocloud: loosen the glacier transfer test waiting check
norbert.bizet [Thu, 22 Sep 2022 09:04:29 +0000 (05:04 -0400)] 
cloud: loosen the glacier transfer test waiting check

2 years agoglacier: Fix #9511 handle return values in case of glacier retry
norbert.bizet [Thu, 22 Sep 2022 09:03:36 +0000 (05:03 -0400)] 
glacier: Fix #9511 handle return values in case of glacier retry

2 years agoFix windows compilation
Eric Bollengier [Wed, 14 Sep 2022 15:03:32 +0000 (17:03 +0200)] 
Fix windows compilation

2 years agounittests: allow to use NULL in is() string checking function
Eric Bollengier [Wed, 14 Sep 2022 13:43:18 +0000 (15:43 +0200)] 
unittests: allow to use NULL in is() string checking function

2 years agoFix windows compilation issue
Eric Bollengier [Wed, 14 Sep 2022 13:37:23 +0000 (15:37 +0200)] 
Fix windows compilation issue

2 years agoAdd bstrcasestr() for non GNU platforms
Eric Bollengier [Wed, 14 Sep 2022 13:36:36 +0000 (15:36 +0200)] 
Add bstrcasestr() for non GNU platforms

2 years agoFix #9334 About issue with the AllowXXXXDirectories directive that was not case sensi...
Eric Bollengier [Wed, 14 Sep 2022 12:54:35 +0000 (14:54 +0200)] 
Fix #9334 About issue with the AllowXXXXDirectories directive that was not case sensitive on Unix

2 years agosir: Fix the record number with aligned volume
Eric Bollengier [Fri, 9 Sep 2022 13:03:00 +0000 (15:03 +0200)] 
sir: Fix the record number with aligned volume

2 years agoOptimize Aligned format for Single Item Restore
Eric Bollengier [Fri, 17 Jun 2022 08:56:20 +0000 (10:56 +0200)] 
Optimize Aligned format for Single Item Restore

Allow to read only the ameta records and rehydrate the data block
only when needed.

dev->clear_rehydrate_record();
...
// read blocks
dev->rehydrate_record(dcr, rec)

2 years agosir: Fix the record number with aligned volume
Eric Bollengier [Fri, 9 Sep 2022 13:03:00 +0000 (15:03 +0200)] 
sir: Fix the record number with aligned volume

2 years agoregress: reduce backup-bacula-test output
Eric Bollengier [Fri, 9 Sep 2022 12:59:07 +0000 (14:59 +0200)] 
regress: reduce  backup-bacula-test output

2 years agocloud: Fix #9419 Avoid abort when truncate() fails
norbert.bizet [Fri, 9 Sep 2022 12:56:53 +0000 (08:56 -0400)] 
cloud: Fix #9419 Avoid abort when truncate() fails

2 years agoFix #9455 test-cpp.c in 14.0.5 don't compile on freebsd
Alain Spineux [Thu, 8 Sep 2022 11:54:07 +0000 (13:54 +0200)] 
Fix #9455 test-cpp.c in 14.0.5 don't compile on freebsd

- fixed the elegant way :-)

2 years agoFix #9443 About incorrect management of the STDERR via open_bpipe()
Eric Bollengier [Wed, 7 Sep 2022 09:26:21 +0000 (11:26 +0200)] 
Fix #9443 About incorrect management of the STDERR via open_bpipe()

2 years agoregress: Add test to scan_string()
Eric Bollengier [Fri, 2 Sep 2022 14:48:07 +0000 (16:48 +0200)] 
regress: Add test to scan_string()

2 years agoAdd device function to compute the file_size depending on the device driver
Eric Bollengier [Wed, 17 Aug 2022 07:50:29 +0000 (09:50 +0200)] 
Add device function to compute the file_size depending on the device driver

2 years agoregress: Backup more than one file in maxfilesize-test
Eric Bollengier [Wed, 17 Aug 2022 07:35:17 +0000 (09:35 +0200)] 
regress: Backup more than one file in maxfilesize-test

2 years agoregress: Add btotp -r test case
Eric Bollengier [Thu, 25 Aug 2022 08:32:56 +0000 (10:32 +0200)] 
regress: Add btotp -r test case

2 years agototp: Fix #9445 Add -r option to btotp to remove a key on disk
Eric Bollengier [Wed, 24 Aug 2022 12:59:03 +0000 (14:59 +0200)] 
totp: Fix #9445 Add -r option to btotp to remove a key on disk

2 years agocloud: format exceptions. 1 liner for stderr, full stack for logger
norbert.bizet [Wed, 17 Aug 2022 12:43:55 +0000 (08:43 -0400)] 
cloud: format exceptions. 1 liner for stderr, full stack for logger

2 years agocloud: configure the generic drivers python logger in non-debug mode
norbert.bizet [Wed, 17 Aug 2022 11:53:38 +0000 (07:53 -0400)] 
cloud: configure the generic drivers python logger in non-debug mode

2 years agoFix #9428 About incorrect .volstatus output
Eric Bollengier [Wed, 17 Aug 2022 08:20:49 +0000 (10:20 +0200)] 
Fix #9428 About incorrect .volstatus output

2 years agodbcheck: check Ojbect table for orphan records
Eric Bollengier [Fri, 19 Aug 2022 06:13:34 +0000 (08:13 +0200)] 
dbcheck: check Ojbect table for orphan records

2 years agoFix compilation warning
Eric Bollengier [Wed, 17 Aug 2022 08:05:24 +0000 (10:05 +0200)] 
Fix compilation warning

2 years agoFix errors in update_bacula_tables
Eric Bollengier [Fri, 12 Aug 2022 15:43:03 +0000 (17:43 +0200)] 
Fix errors in update_bacula_tables

2 years agoregress: Schedule bsr-loop-test
Eric Bollengier [Wed, 10 Aug 2022 14:35:35 +0000 (16:35 +0200)] 
regress: Schedule bsr-loop-test

2 years agoFix #9341 split BSR when a volume cycle is detected
Alain Spineux [Thu, 4 Aug 2022 13:06:57 +0000 (15:06 +0200)] 
Fix #9341 split BSR when a volume cycle is detected

2 years agoregress: add bsr-loop-test
Alain Spineux [Mon, 8 Aug 2022 16:04:46 +0000 (18:04 +0200)] 
regress: add bsr-loop-test

2 years agoregress: add lsmark-test
Alain Spineux [Fri, 3 Jun 2022 11:39:08 +0000 (13:39 +0200)] 
regress: add lsmark-test

- test that lsmark show marked files that are in sub-directories and
  shows directory name

2 years agoFix #9209 lsmark don't walk through unselected directory
Alain Spineux [Fri, 3 Jun 2022 09:51:51 +0000 (11:51 +0200)] 
Fix #9209 lsmark don't walk through unselected directory

- this fix explore the tree once and mark all directory
  that old marked file (at any sub level)
- then the lsmark code can display the parent directory
  only if they have marked sub-children

2 years agoFix #9085 Very long jobid list are truncated in copy/migration/virtualfull
Eric Bollengier [Mon, 8 Aug 2022 16:52:44 +0000 (18:52 +0200)] 
Fix #9085 Very long jobid list are truncated in copy/migration/virtualfull

2 years agoAdd multi-line support to sellist
Eric Bollengier [Mon, 8 Aug 2022 14:42:09 +0000 (16:42 +0200)] 
Add multi-line support to sellist

2 years agoAdd variable to size variable with edit_int64()
Eric Bollengier [Tue, 9 Aug 2022 13:39:27 +0000 (15:39 +0200)] 
Add variable to size variable with edit_int64()

2 years agocloud: Fix #9366 type out and err as str rather that bytes
norbert.bizet [Wed, 27 Jul 2022 14:53:39 +0000 (10:53 -0400)] 
cloud: Fix #9366 type out and err as str rather that bytes

2 years agocloud: rename and specialize regress test to check aws StorageClass attribute
norbert.bizet [Wed, 27 Jul 2022 10:05:34 +0000 (06:05 -0400)] 
cloud: rename and specialize regress test to check aws StorageClass attribute

2 years agocloud: Fix aws/amazon regression tests cleanup
norbert.bizet [Tue, 26 Jul 2022 20:19:59 +0000 (16:19 -0400)] 
cloud: Fix aws/amazon regression tests cleanup

2 years agocloud: rename ObjectDefaultTier to StorageClass
norbert.bizet [Tue, 26 Jul 2022 10:46:14 +0000 (06:46 -0400)] 
cloud: rename ObjectDefaultTier to StorageClass

2 years agocloud: object tier passed to generic aws driver
norbert.bizet [Tue, 26 Jul 2022 10:45:34 +0000 (06:45 -0400)] 
cloud: object tier passed to generic aws driver

2 years agocloud: test default object tier
norbert.bizet [Tue, 26 Jul 2022 09:44:58 +0000 (05:44 -0400)] 
cloud: test default object tier

2 years agocloud: introduce a default object tier directive in Cloud
norbert.bizet [Tue, 26 Jul 2022 09:44:24 +0000 (05:44 -0400)] 
cloud: introduce a default object tier directive in Cloud

2 years agoregress: Schedule tests/maxfilesize-test
Eric Bollengier [Wed, 13 Jul 2022 12:26:40 +0000 (14:26 +0200)] 
regress: Schedule tests/maxfilesize-test

2 years agoregress: Add test to check MaximumFileSize directive
Eric Bollengier [Wed, 13 Jul 2022 12:25:38 +0000 (14:25 +0200)] 
regress: Add test to check MaximumFileSize directive

2 years agoFix #9315 Save files if accurate/checksum fileset cannot be verified
Eric Bollengier [Tue, 12 Jul 2022 15:09:47 +0000 (17:09 +0200)] 
Fix #9315 Save files if accurate/checksum fileset cannot be verified

Up to now, if a checksum was not available, the file was marked as
deleted.

2 years agoregress: Schedule new test accurate-only-meta-error-test
Eric Bollengier [Tue, 12 Jul 2022 15:08:22 +0000 (17:08 +0200)] 
regress: Schedule new test accurate-only-meta-error-test

2 years agoregress: Add test to reproduce issue with checksum/accurate configuration problem
Eric Bollengier [Tue, 12 Jul 2022 15:07:41 +0000 (17:07 +0200)] 
regress: Add test to reproduce issue with checksum/accurate configuration problem