]> git.ipfire.org Git - thirdparty/bacula.git/log
thirdparty/bacula.git
2 years agoupdate configure
Eric Bollengier [Mon, 12 Feb 2024 12:50:18 +0000 (13:50 +0100)] 
update configure

2 years agoregress: Fix copy-job-test
Eric Bollengier [Thu, 30 Nov 2023 11:51:10 +0000 (12:51 +0100)] 
regress: Fix copy-job-test

2 years agoFix typo in ./configure.in
Eric Bollengier [Mon, 12 Feb 2024 12:50:12 +0000 (13:50 +0100)] 
Fix typo in ./configure.in

2 years agoEnable Amazon cloud driver
Eric Bollengier [Mon, 12 Feb 2024 12:50:00 +0000 (13:50 +0100)] 
Enable Amazon cloud driver

2 years agoFix #10401 About issue when truncating immutable volume
Eric Bollengier [Tue, 26 Sep 2023 15:06:37 +0000 (17:06 +0200)] 
Fix #10401 About issue when truncating immutable volume

 - The protection time was not set in with the immutability flag
 - The information message for immutability has now the retention time
 - The errno checked in open_device was ACCESS instead of PERM

2 years agoImplement OT_PINT32 for OutputWriter class
Eric Bollengier [Fri, 22 Sep 2023 16:00:55 +0000 (18:00 +0200)] 
Implement OT_PINT32 for OutputWriter class

2 years agoregress: pass comment on migration/copy jobs
Eric Bollengier [Thu, 31 Aug 2023 08:32:28 +0000 (10:32 +0200)] 
regress: pass comment on migration/copy jobs

2 years agoFix #10365 Pass comment field to copy/migration jobs from the control job
Eric Bollengier [Wed, 30 Aug 2023 09:40:45 +0000 (11:40 +0200)] 
Fix #10365 Pass comment field to copy/migration jobs from the control job

2 years agoTweak debug in scan_version()
Eric Bollengier [Tue, 30 Jan 2024 14:24:44 +0000 (15:24 +0100)] 
Tweak debug in scan_version()

2 years agocloud: regress test for Upload and TruncateCode options
norbert.bizet [Thu, 18 Jan 2024 10:39:02 +0000 (05:39 -0500)] 
cloud: regress test for Upload and TruncateCode options

2 years agocloud: create a multitest for CDash invocation
norbert.bizet [Thu, 18 Jan 2024 09:32:14 +0000 (04:32 -0500)] 
cloud: create a multitest for CDash invocation

2 years agoFix #10631 (1) remove unauthorized Jmsg() in BSOCK::recv()
Alain Spineux [Thu, 18 Jan 2024 13:24:12 +0000 (14:24 +0100)] 
Fix #10631 (1) remove unauthorized Jmsg() in BSOCK::recv()

- Jmsg() cannot be used in some critical part, recv() is on of them
  A Qmsg() and Pmsg() follow the removed Jmsg(), no information are lost
- This is probably not the root cause of the #10631 problem
- Replace the invalid Unicode "Registered Trade Mark" char

2 years agocloud: Tweak Jmsg to Dmsg inside the transfer manager
Eric Bollengier [Thu, 18 Jan 2024 08:26:32 +0000 (09:26 +0100)] 
cloud: Tweak Jmsg to Dmsg inside the transfer manager

2 years agocloud: Fix #10685 TruncateCache at endofjob was not processed due to wrong transfer...
norbert.bizet [Wed, 17 Jan 2024 17:45:30 +0000 (12:45 -0500)] 
cloud: Fix #10685 TruncateCache at endofjob was not processed due to wrong transfer status verification

2 years agoAdd a regression test for exercising MT10291
norbert.bizet [Thu, 21 Dec 2023 15:30:50 +0000 (10:30 -0500)] 
Add a regression test for exercising MT10291

2 years agoFix #10624 typo error in SQL query to get single job record
Marcin Haba [Wed, 20 Dec 2023 14:08:44 +0000 (15:08 +0100)] 
Fix #10624 typo error in SQL query to get single job record

2 years agocloud storage: Fix #10291 Assume that driver ls can return error 1 when the path...
norbert.bizet [Fri, 15 Dec 2023 10:02:58 +0000 (05:02 -0500)] 
cloud storage: Fix #10291 Assume that driver ls can return error 1 when the path doesnt exist. Handle it in generic driver

2 years agok8s: Fix compilation problem
francisco.garcia [Mon, 18 Dec 2023 11:14:21 +0000 (12:14 +0100)] 
k8s: Fix compilation problem

2 years agocloud storage: Fix #10291 Assume that driver ls can return an error when scanning...
norbert.bizet [Fri, 15 Dec 2023 10:02:58 +0000 (05:02 -0500)] 
cloud storage: Fix #10291 Assume that driver ls can return an error when scanning an unexistant cloud volume and loosen the conditions that handle this case

2 years agok8s: Fix problem with typo.
francisco.garcia [Thu, 14 Dec 2023 08:57:32 +0000 (09:57 +0100)] 
k8s: Fix problem with typo.

2 years agok8s: Fix problem when it restores a 'namespace'
francisco.garcia [Wed, 13 Dec 2023 21:54:23 +0000 (22:54 +0100)] 
k8s: Fix problem when it restores a 'namespace'

2 years agocloud: proof guard truncation
norbert.bizet [Tue, 12 Dec 2023 16:03:35 +0000 (11:03 -0500)] 
cloud: proof guard truncation

2 years agoaws_cloud_driver: Fix #10604 upload() might not exit with correct error code
norbert.bizet [Mon, 11 Dec 2023 15:23:26 +0000 (10:23 -0500)] 
aws_cloud_driver: Fix #10604 upload() might not exit with correct error code

2 years agoregress: More work on cppcheck-test
Eric Bollengier [Mon, 11 Dec 2023 16:02:07 +0000 (17:02 +0100)] 
regress: More work on cppcheck-test

2 years agotweak bsr.c to silent cppcheck (initialize VolAddrStart & VolAddrEnd)
Alain Spineux [Mon, 11 Dec 2023 10:07:51 +0000 (11:07 +0100)] 
tweak bsr.c to silent cppcheck (initialize VolAddrStart & VolAddrEnd)

2 years agoregress: Tweak cppcheck-test
Eric Bollengier [Mon, 11 Dec 2023 14:58:01 +0000 (15:58 +0100)] 
regress: Tweak cppcheck-test

2 years agoregress: Improve cppcheck-test
Eric Bollengier [Mon, 11 Dec 2023 14:51:32 +0000 (15:51 +0100)] 
regress: Improve cppcheck-test

2 years agoregress: Tweak cppcheck
Eric Bollengier [Mon, 11 Dec 2023 12:56:49 +0000 (13:56 +0100)] 
regress: Tweak cppcheck

2 years agoTweak debug messages
Eric Bollengier [Mon, 11 Dec 2023 12:29:56 +0000 (13:29 +0100)] 
Tweak debug messages

2 years agoregress: Add test on cppcheck
Eric Bollengier [Mon, 11 Dec 2023 10:26:18 +0000 (11:26 +0100)] 
regress: Add test on cppcheck

2 years agoregress: add README.mysql to setup mysql env for regress
Alain Spineux [Wed, 6 Dec 2023 15:30:22 +0000 (16:30 +0100)] 
regress: add README.mysql to setup mysql env for regress

2 years agoaws driver: Fix #10591 missing \n in returned lists
norbert.bizet [Wed, 6 Dec 2023 15:01:38 +0000 (10:01 -0500)] 
aws driver: Fix #10591 missing \n in returned lists

2 years agoregress: add two tests for BSR cycles
Alain Spineux [Thu, 30 Nov 2023 22:44:17 +0000 (23:44 +0100)] 
regress: add two tests for BSR cycles

2 years agoFix and improve BSR cycle detection and resolution
Alain Spineux [Tue, 28 Nov 2023 15:57:19 +0000 (16:57 +0100)] 
Fix and improve BSR cycle detection and resolution

- the offset of the first split was not initialized and sometime was
  a huge value that was forcing the fist split to the ALL BSR
  ather split where ignored as soon as the EOF of the BSR was reached
  It was possible that the BSR was handle in one BIG buggy part
  instead of being handled in smaller healty parts!
- I have fully reworked the code:
  - two regress script test the two possible reason for the split
  - Arnaud's backup can be successfully restored with the new code
- The debugging message describe very well what is appening
  use level 20 or 100 on the dir for medium or full debugging

2 years agoFix zlib compression was disable in FD
Alain Spineux [Thu, 30 Nov 2023 10:57:42 +0000 (11:57 +0100)] 
Fix zlib compression was disable in FD

- HAVE_ZLIB don't exist use HAVE_ZLIB_H instead

2 years agotweak comment for breaddir()
Alain Spineux [Fri, 14 Jul 2023 12:08:14 +0000 (14:08 +0200)] 
tweak comment for breaddir()

2 years agoFix JSON output in .status dir running
Eric Bollengier [Thu, 23 Nov 2023 09:50:45 +0000 (10:50 +0100)] 
Fix JSON output in .status dir running

2 years agok8s: Fix pvc naming error in csi snapshots
francisco.garcia [Tue, 28 Nov 2023 08:28:33 +0000 (09:28 +0100)] 
k8s: Fix pvc naming error in csi snapshots

2 years agoregress: cleanup ${tmp}disk-changer -> ${tmp}/disk-changer with a /
Alain Spineux [Tue, 21 Nov 2023 11:42:23 +0000 (12:42 +0100)] 
regress: cleanup ${tmp}disk-changer -> ${tmp}/disk-changer with a /

2 years agoregress: tweak tests/encrypt-bug-test
Alain Spineux [Tue, 21 Nov 2023 09:18:59 +0000 (10:18 +0100)] 
regress: tweak tests/encrypt-bug-test

- don't work if you have for example a file
  xxx/regress/encrypt-bug.jpg.save

2 years agoFix openssl 3.x don't tolerate to call EVP_CipherFinal_ex() twice
Alain Spineux [Fri, 17 Nov 2023 13:34:48 +0000 (14:34 +0100)] 
Fix openssl 3.x don't tolerate to call EVP_CipherFinal_ex() twice

- tests/encrypt-bug-test fail with openssl 3.0
- the problem is to restore a 64K+1bytes file backed up using encryption
- was working with openssl 1.0 & 1.1
- When using TLS this can block the restore
- get Error: restore.c:1736 Decryption error. buf_len=5 decrypt_len=0 on file xxx/encrypt-bug.jpg
- OPENSSL give ERR=error:1C80006B:Provider routines::wrong final block length

2 years agoregress: add volenc-wrong-label-10453
Alain Spineux [Fri, 17 Nov 2023 15:07:35 +0000 (16:07 +0100)] 
regress: add volenc-wrong-label-10453

2 years agoFix #10453 volume with a wrong label
Alain Spineux [Thu, 16 Nov 2023 11:11:10 +0000 (12:11 +0100)] 
Fix #10453 volume with a wrong label

- when labeling if an error occurs, the fd stays open, and other attempt
  to label another volume will reuse the same fd (instead of opening
  a new one) making the label and the filename mismatched.
- this is appening when auto labeling is enable and when the
  keymanager is failing
- this could appends for other situation, maybe uncomment
  the commented line could help

2 years agoFix restore issue when compression is enabled but not available
Eric Bollengier [Fri, 17 Nov 2023 09:05:45 +0000 (10:05 +0100)] 
Fix restore issue when compression is enabled but not available

2 years agotweak add Tmsg14() and Tmsg15()
Alain Spineux [Mon, 6 Nov 2023 10:22:25 +0000 (11:22 +0100)] 
tweak add Tmsg14() and Tmsg15()

2 years agocloud: test compare upload to AWS with 4 different methods, including bacula post...
norbert.bizet [Thu, 9 Nov 2023 18:24:42 +0000 (13:24 -0500)] 
cloud: test compare upload to AWS with 4 different methods, including bacula post-upload

2 years agoFix: #0010535. Problem with k8s snapshot version
francisco.garcia [Thu, 9 Nov 2023 11:49:17 +0000 (12:49 +0100)] 
Fix: #0010535. Problem with k8s snapshot version

2 years agoFix #10163 Add %i (jobid) to edit_device_codes()
Eric Bollengier [Thu, 9 Nov 2023 07:38:04 +0000 (08:38 +0100)] 
Fix #10163 Add %i (jobid) to edit_device_codes()

2 years agoAll the rest: missing matching Leave() outside the cloud classes
norbert.bizet [Tue, 7 Nov 2023 13:46:35 +0000 (08:46 -0500)] 
All the rest: missing matching Leave() outside the cloud classes

2 years agoAll the missing Leave() in cloud code
norbert.bizet [Tue, 7 Nov 2023 13:43:23 +0000 (08:43 -0500)] 
All the missing Leave() in cloud code

2 years agocloud: create a regress test to validate cloud work queue thread resizing
norbert.bizet [Tue, 7 Nov 2023 11:32:22 +0000 (06:32 -0500)] 
cloud: create a regress test to validate cloud work queue thread resizing

2 years agoCloud Storage: Fix #10525 Add device name to the transfer fields
norbert.bizet [Mon, 6 Nov 2023 15:31:51 +0000 (10:31 -0500)] 
Cloud Storage: Fix #10525 Add device name to the transfer fields

2 years agoFix #10524 About adding JobTimestamp variable for volume format
Eric Bollengier [Mon, 6 Nov 2023 12:10:47 +0000 (13:10 +0100)] 
Fix #10524 About adding JobTimestamp variable for volume format

Label Format = "Vol.${JobTimestamp}"
   -> Vol.2023-10-12_20.27.20_59

2 years agoregress: Schedule expand-test
Eric Bollengier [Mon, 6 Nov 2023 12:09:59 +0000 (13:09 +0100)] 
regress: Schedule expand-test

2 years agoregress: Add expand-test
Eric Bollengier [Mon, 6 Nov 2023 12:09:20 +0000 (13:09 +0100)] 
regress: Add expand-test

2 years agoFix #10513 About show command issue with incorrect storage configuration
Eric Bollengier [Thu, 2 Nov 2023 12:33:19 +0000 (13:33 +0100)] 
Fix #10513 About show command issue with incorrect storage configuration

2 years agok8s: Fix csi compatibility
francisco garcia [Tue, 31 Oct 2023 08:35:18 +0000 (08:35 +0000)] 
k8s: Fix csi compatibility

2 years agobaculum: Update version
Marcin Haba [Tue, 13 Feb 2024 09:32:02 +0000 (10:32 +0100)] 
baculum: Update version

2 years agobaculum: Update release notes
Marcin Haba [Tue, 13 Feb 2024 09:31:54 +0000 (10:31 +0100)] 
baculum: Update release notes

2 years agobaculum: Update release notes
Marcin Haba [Wed, 7 Feb 2024 15:59:42 +0000 (16:59 +0100)] 
baculum: Update release notes

2 years agobaculum: Add volume statistics endpoint
Marcin Haba [Tue, 30 Jan 2024 12:49:04 +0000 (13:49 +0100)] 
baculum: Add volume statistics endpoint

2 years agobaculum: Add jobstatus filter to objects overview endpoint
Marcin Haba [Mon, 29 Jan 2024 14:42:52 +0000 (15:42 +0100)] 
baculum: Add jobstatus filter to objects overview endpoint

2 years agobaculum: Fix content property in sources endpoint
Marcin Haba [Mon, 29 Jan 2024 08:33:04 +0000 (09:33 +0100)] 
baculum: Fix content property in sources endpoint

2 years agoFix org#2440 Improve Makefiles to use relative paths
Eric Bollengier [Wed, 31 Jan 2024 14:25:25 +0000 (15:25 +0100)] 
Fix org#2440 Improve Makefiles to use relative paths

We use the attached patch in Debian to work around an issue in GCC.
See https://tests.reproducible-builds.org/debian/issues/unstable/gcc_captures_build_path_issue.html
Also this makes the Makefiles more self-consistent, most use a relative path as "basedir".

Thanks to Sven Hartge <sven@svenhartge.de>

2 years agoFix org#2704 about old FD compatibility
Eric Bollengier [Wed, 24 Jan 2024 11:04:40 +0000 (12:04 +0100)] 
Fix org#2704 about old FD compatibility

Old client (prior to 11.0.0) job messages are silently dropped from
the director logs. The Job status is correct, but the messages are
not displayed in the catalog or the bacula-dir.log.

The workaround is to enable the local log on each impacted FD,
or upgrade them to 13.0.x.

This fix will detect the client version and apply a fix dynamically
when getting a message.

2 years agoFix org#2705 about issue with accurate checking of new file signature attributes
Eric Bollengier [Sat, 27 Jan 2024 16:06:04 +0000 (17:06 +0100)] 
Fix org#2705 about issue with accurate checking of new file signature attributes

The code in check_checksum_diff to handle FO_XXHASH64, FO_XXH3_64 and
FO_XXH3_128 can never be reached because the test above it at line 380 doesn't
include those bits.

2 years agobaculum: Add using multiple content values in filesets endpoint
Marcin Haba [Thu, 18 Jan 2024 09:21:41 +0000 (10:21 +0100)] 
baculum: Add using multiple content values in filesets endpoint

2 years agobaculum: Add cancel jobs running on storage endpoint
Marcin Haba [Mon, 15 Jan 2024 08:48:20 +0000 (09:48 +0100)] 
baculum: Add cancel jobs running on storage endpoint

2 years agobaculum: Mask sensitive AWS data in debug log
Marcin Haba [Fri, 12 Jan 2024 09:17:03 +0000 (10:17 +0100)] 
baculum: Mask sensitive AWS data in debug log

2 years agobaculum: Tweak improve directive filter in config endpoints
Marcin Haba [Thu, 11 Jan 2024 13:42:41 +0000 (14:42 +0100)] 
baculum: Tweak improve directive filter in config endpoints

2 years agoAdd directive filter to config endpoints
Marcin Haba [Thu, 11 Jan 2024 12:28:23 +0000 (13:28 +0100)] 
Add directive filter to config endpoints

2 years agoAdd endpoint to list AWS cloud buckets
Marcin Haba [Wed, 10 Jan 2024 10:47:37 +0000 (11:47 +0100)] 
Add endpoint to list AWS cloud buckets

2 years agobaculum: Fix count property in volume overview endpoint
Marcin Haba [Mon, 8 Jan 2024 09:51:31 +0000 (10:51 +0100)] 
baculum: Fix count property in volume overview endpoint

2 years agobaculum: Add jobdefs list endpoint
Marcin Haba [Fri, 5 Jan 2024 15:22:26 +0000 (16:22 +0100)] 
baculum: Add jobdefs list endpoint

2 years agobaculum: Adapt storage file ls command parameters to new form
Marcin Haba [Fri, 5 Jan 2024 12:22:51 +0000 (13:22 +0100)] 
baculum: Adapt storage file ls command parameters to new form

2 years agoUpdate API documentation
Marcin Haba [Fri, 5 Jan 2024 12:05:05 +0000 (13:05 +0100)] 
Update API documentation

2 years agoAdd client plugin list endpoint
Marcin Haba [Fri, 22 Dec 2023 14:27:39 +0000 (15:27 +0100)] 
Add client plugin list endpoint

2 years agoAdd content parameter to filesets endpoint
Marcin Haba [Tue, 19 Dec 2023 09:38:44 +0000 (10:38 +0100)] 
Add content parameter to filesets endpoint

2 years agoAdd enabled filter to clients show endpoint
Marcin Haba [Tue, 19 Dec 2023 08:19:10 +0000 (09:19 +0100)] 
Add enabled filter to clients show endpoint

2 years agobaculum: List only reachable/unreachable clients in clients endpoint
Marcin Haba [Fri, 8 Dec 2023 13:57:21 +0000 (14:57 +0100)] 
baculum: List only reachable/unreachable clients in clients endpoint

2 years agobaculum: Add job type parameter to objects overview endpoint
Marcin Haba [Thu, 7 Dec 2023 15:07:24 +0000 (16:07 +0100)] 
baculum: Add job type parameter to objects overview endpoint

2 years agoregress: Try to reproduce org#2703
Eric Bollengier [Thu, 18 Jan 2024 08:36:52 +0000 (09:36 +0100)] 
regress: Try to reproduce org#2703

FORCE_ENCRYPTION=yes ./tests/backup-bacula-test

2 years agoFix org#2561 Convert text from ISO-8859 to UTF8
Carsten Leonhardt [Mon, 15 Jan 2024 08:24:00 +0000 (09:24 +0100)] 
Fix org#2561 Convert text from ISO-8859 to UTF8

Most of the files are encoded in ASCII or UTF-8, but eight files remain that are still encoded in ISO-8859-1.

find bacula -type f -exec file {} ; | grep ISO-8859 | cut -d: -f1 | xargs -n 1 recode iso8859-1..utf-8

Signed-off-by: Eric Bollengier <eric@baculasystems.com>
2 years agobaculum: Add endpoint to list SCSI tape devices on storage daemon host
Marcin Haba [Mon, 27 Nov 2023 10:54:53 +0000 (11:54 +0100)] 
baculum: Add endpoint to list SCSI tape devices on storage daemon host

2 years agobaculum: Add parser for diskperf command output
Marcin Haba [Mon, 27 Nov 2023 09:38:55 +0000 (10:38 +0100)] 
baculum: Add parser for diskperf command output

2 years agobaculum: Fix using error module
Marcin Haba [Fri, 24 Nov 2023 15:14:44 +0000 (16:14 +0100)] 
baculum: Fix using error module

2 years agobaculum: Tweak using component status
Marcin Haba [Fri, 24 Nov 2023 14:55:26 +0000 (15:55 +0100)] 
baculum: Tweak using component status

2 years agobaculum: Add option to interpret Bacula error codes by API
Marcin Haba [Fri, 24 Nov 2023 14:53:48 +0000 (15:53 +0100)] 
baculum: Add option to interpret Bacula error codes by API

2 years agobaculum: Add name parameter to storages endpoint
Marcin Haba [Wed, 22 Nov 2023 08:21:26 +0000 (09:21 +0100)] 
baculum: Add name parameter to storages endpoint

2 years agoFix #2699 About SQLite update script
Martin [Wed, 15 Nov 2023 08:17:37 +0000 (09:17 +0100)] 
Fix #2699 About SQLite update script

Signed-off-by: Eric Bollengier <eric@baculasystems.com>
2 years agoFix #2701 compilation of bjoblist
Eric Bollengier [Tue, 14 Nov 2023 15:00:05 +0000 (16:00 +0100)] 
Fix #2701 compilation of bjoblist

2 years agorpms: fix cloud spec file for redhat8
Eric Bollengier [Fri, 3 Nov 2023 13:37:17 +0000 (14:37 +0100)] 
rpms: fix cloud spec file for redhat8

2 years agoFix warning about BSOCK::send()
Eric Bollengier [Fri, 3 Nov 2023 08:06:00 +0000 (09:06 +0100)] 
Fix warning about BSOCK::send()

2 years agobaculum: Add endpoint to get device disk usage on storage daemon host
Marcin Haba [Mon, 13 Nov 2023 09:28:31 +0000 (10:28 +0100)] 
baculum: Add endpoint to get device disk usage on storage daemon host

2 years agobaculum: Add endpoint to create directory on storage daemon host
Marcin Haba [Fri, 10 Nov 2023 12:30:20 +0000 (13:30 +0100)] 
baculum: Add endpoint to create directory on storage daemon host

2 years agobaculum: Update API documentation
Marcin Haba [Thu, 9 Nov 2023 15:53:25 +0000 (16:53 +0100)] 
baculum: Update API documentation

2 years agobaculum: Add fileset filter to objects overview endpoint
Marcin Haba [Thu, 9 Nov 2023 15:21:24 +0000 (16:21 +0100)] 
baculum: Add fileset filter to objects overview endpoint

2 years agobaculum: Add type parameter to clients endpoint
Marcin Haba [Thu, 9 Nov 2023 10:11:30 +0000 (11:11 +0100)] 
baculum: Add type parameter to clients endpoint

2 years agoFix org#2696 About typo in the update_postgresql_tables script
Eric Bollengier [Fri, 3 Nov 2023 07:51:49 +0000 (08:51 +0100)] 
Fix org#2696 About typo in the update_postgresql_tables script

2 years agoFix org#2698 about error with osx platform
Eric Bollengier [Thu, 2 Nov 2023 15:25:47 +0000 (16:25 +0100)] 
Fix org#2698 about error with osx platform