]> git.ipfire.org Git - thirdparty/bacula.git/log
thirdparty/bacula.git
4 years agobaculum: Add new columns to job list page - idea proposed by Sergey Zhidkov
Marcin Haba [Sat, 26 Jun 2021 08:06:05 +0000 (10:06 +0200)] 
baculum: Add new columns to job list page - idea proposed by Sergey Zhidkov

Changes:
 - new job list columns:
   = Job type
   = Enabled
   = Max. concur. jobs
   = Priority

4 years agobaculum: Add JSON output parameter to show client(s), show job(s), show pool(s) API...
Marcin Haba [Sat, 26 Jun 2021 08:05:38 +0000 (10:05 +0200)] 
baculum: Add JSON output parameter to show client(s), show job(s), show pool(s) API endpoints

Changes:
 - Added output=json/raw to API endpoints:
   = /clients/show
   = /clients/{clientid}/show
   = /jobs/show
   = /jobs/{jobid}/show
   = /pools/show
   = /pools/{poolid}/show
 - Adapt endpoints to use new ConsoleOutputShowPage class
 - Update Baculum OpenAPI documentation

4 years agoFix db_get_accurate_jobids() with concurrent queries on the same jobs
Eric Bollengier [Wed, 16 Jun 2021 15:49:09 +0000 (17:49 +0200)] 
Fix db_get_accurate_jobids() with concurrent queries on the same jobs

The btemp3 table name is computed with the from_jobid argument in
the .bvfs_get_jobid command. If we have multiple requests at the
same time, as the tables are not TEMPORARY (due to a MySQL issue),
one query can drop the table of the other one and lead to problems.

Waiting to have the from_jobid feature fully implemented, the code
is removed.

4 years agoAdjust sample-query.sql file for new catalog schema
Wanderlei Huttel [Tue, 15 Jun 2021 13:52:40 +0000 (15:52 +0200)] 
Adjust sample-query.sql file for new catalog schema

4 years agoregress: Schedule new maxdiffinterval-test in CDASH
Eric Bollengier [Mon, 14 Jun 2021 09:51:28 +0000 (11:51 +0200)] 
regress: Schedule new maxdiffinterval-test in CDASH

4 years agoFix org#2622 About incorrect behavior of the MaxDiffInterval directive
Eric Bollengier [Mon, 14 Jun 2021 09:23:01 +0000 (11:23 +0200)] 
Fix org#2622 About incorrect behavior of the MaxDiffInterval directive

4 years agoregress: Add test to reproduce org#2622 on MaxDiffInterval
Eric Bollengier [Mon, 14 Jun 2021 08:00:47 +0000 (10:00 +0200)] 
regress: Add test to reproduce org#2622 on MaxDiffInterval

4 years agobaculum: Update version
Marcin Haba [Fri, 11 Jun 2021 19:37:20 +0000 (21:37 +0200)] 
baculum: Update version

4 years agoFix #7776 About FD error not correctly reported in the job log
Eric Bollengier [Tue, 8 Jun 2021 15:33:24 +0000 (17:33 +0200)] 
Fix #7776 About FD error not correctly reported in the job log

4 years agorpms: Do no build with tcp_wrapper on Fedora 31
Davide Franco [Mon, 7 Jun 2021 11:35:04 +0000 (13:35 +0200)] 
rpms: Do no build with tcp_wrapper on Fedora 31

4 years agorpms: Fix libs3 installation path
Davide Franco [Mon, 7 Jun 2021 10:11:16 +0000 (12:11 +0200)] 
rpms: Fix libs3 installation path

4 years agoUpdate depkgs version to use latest libs3
Davide Franco [Mon, 7 Jun 2021 09:20:31 +0000 (11:20 +0200)] 
Update depkgs version to use latest libs3

4 years agorpms: Remove tcp_wrappers for cloud-storage rpm
Davide Franco [Sat, 5 Jun 2021 10:54:23 +0000 (12:54 +0200)] 
rpms: Remove tcp_wrappers for cloud-storage rpm

4 years agorpms: Fix #2615 - Missing bacula-sd-cloud-s3-driver-<version>.so
Davide Franco [Sat, 5 Jun 2021 09:23:07 +0000 (11:23 +0200)] 
rpms: Fix #2615 - Missing bacula-sd-cloud-s3-driver-<version>.so

4 years agorpms: Fix mysql devel package dependency for rhel/centos 7
Davide Franco [Sat, 5 Jun 2021 08:45:09 +0000 (10:45 +0200)] 
rpms: Fix mysql devel package dependency for rhel/centos 7

4 years agorpms: Disable tcp_wrapper for rhel8 in bacula.spec.in
Davide Franco [Sat, 5 Jun 2021 07:43:51 +0000 (09:43 +0200)] 
rpms: Disable tcp_wrapper for rhel8 in bacula.spec.in

4 years agorpms: Fix #2599 - bacula-postgresql conflicts with bacula-mysql
Davide Franco [Sat, 5 Jun 2021 07:40:03 +0000 (09:40 +0200)] 
rpms: Fix #2599 - bacula-postgresql conflicts with bacula-mysql

4 years agoupdate version and changelog Release-11.0.5
Eric Bollengier [Thu, 3 Jun 2021 07:31:55 +0000 (09:31 +0200)] 
update version and changelog

4 years agoFix org#2427 About incorrect handling of empty files with Accurate=yes on Windows
Eric Bollengier [Mon, 17 May 2021 14:42:20 +0000 (16:42 +0200)] 
Fix org#2427 About incorrect handling of empty files with Accurate=yes on Windows

4 years agoUpdate MySQL update procedure for 5.6
Eric Bollengier [Wed, 2 Jun 2021 08:05:04 +0000 (10:05 +0200)] 
Update MySQL update procedure for 5.6

4 years agoFix compilation
Eric Bollengier [Tue, 1 Jun 2021 12:19:18 +0000 (14:19 +0200)] 
Fix compilation

4 years agoupdate version and changelog Release-11.0.4
Eric Bollengier [Sat, 29 May 2021 09:31:32 +0000 (11:31 +0200)] 
update version and changelog

4 years agoImprove MySQL upgrade procedure
Phil Stracchino [Sat, 29 May 2021 09:30:05 +0000 (11:30 +0200)] 
Improve MySQL upgrade procedure

4 years agoupdate version and releasenotes
bsbuild [Fri, 28 May 2021 13:12:55 +0000 (15:12 +0200)] 
update version and releasenotes

4 years agobaculum: Update version
Marcin Haba [Wed, 26 May 2021 17:04:45 +0000 (19:04 +0200)] 
baculum: Update version

4 years agobaculum: Update script version
Marcin Haba [Wed, 26 May 2021 17:04:16 +0000 (19:04 +0200)] 
baculum: Update script version

4 years agoDisable fix on bvfs_get_jobids() temporarily
Eric Bollengier [Thu, 6 May 2021 13:15:29 +0000 (15:15 +0200)] 
Disable fix on bvfs_get_jobids() temporarily

4 years agobaculum: Update version
Marcin Haba [Sun, 23 May 2021 07:35:22 +0000 (09:35 +0200)] 
baculum: Update version

4 years agoUpdate version and releasenotes Release-11.0.3
Eric Bollengier [Fri, 21 May 2021 08:06:28 +0000 (10:06 +0200)] 
Update version and releasenotes

4 years agoEnhance the update_mysql_tables script
Eric Bollengier [Fri, 21 May 2021 07:25:57 +0000 (09:25 +0200)] 
Enhance the update_mysql_tables script

Thanks to Phil, these changes allow the script to
be retried (after making corrections) if it fails
for any reason.

4 years agoFix org#2442 About the check of the Control Device during startup
Eric Bollengier [Mon, 17 May 2021 07:42:08 +0000 (09:42 +0200)] 
Fix org#2442 About the check of the Control Device during startup

4 years agoFix stored/Makefile.in to install cloud driver object with cloud targets
Eric Bollengier [Fri, 7 May 2021 12:47:35 +0000 (14:47 +0200)] 
Fix stored/Makefile.in to install cloud driver object with cloud targets

4 years agoFix various default permissions
Eric Bollengier [Fri, 7 May 2021 10:21:26 +0000 (12:21 +0200)] 
Fix various default permissions

 - Use 755 on SQL scripts
 - Use 755 for Cloud plugins/libraries
 - Use 755 for catalog backup scripts

4 years agoFix org#2500 .bvfs_get_jobids jobid=X must return X in the list
Alain Spineux [Fri, 19 Feb 2021 10:22:20 +0000 (11:22 +0100)] 
Fix org#2500 .bvfs_get_jobids jobid=X must return X in the list

- when multiple backups of the same job finish at the exact same time,
  then .bvfs_get_jobids can "mix" them.
- it is not "admissible" to ask bacula for restoring job X and
  see bacula restore job Y because they are "interchangeable".
- this mostly happens in regression test
- the code does : If the jobid is specified then force the SQL query
  to use it.

4 years agoCheck if char **jobid parameter is NULL before to modify it in bvfs_parse_arg_version()
Alain Spineux [Fri, 19 Feb 2021 09:58:22 +0000 (10:58 +0100)] 
Check if char **jobid parameter is NULL before to modify it in bvfs_parse_arg_version()

- it looks like the function can handle a NULL parameter, som lines above
  and below does the check, it looks right to do it everywhere before to
  modify jobid

4 years agoFix org#2605 About incorrect message in restore command
Eric Bollengier [Fri, 30 Apr 2021 08:03:30 +0000 (10:03 +0200)] 
Fix org#2605 About incorrect message in restore command

Description:
------------

The error message generated when the fileset parameter of the
restore command is invalid is misleading.

*restore fileset= where=/tmp select all done yes
FileSet argument: Volume name must be at least one character long.
                 ^^^^^^^

4 years agobaculum: Update Russian translations
Sergey Zhidkov [Thu, 29 Apr 2021 19:16:42 +0000 (21:16 +0200)] 
baculum: Update Russian translations

4 years agobaculum: Restore wizard improvements
Marcin Haba [Thu, 29 Apr 2021 19:10:25 +0000 (21:10 +0200)] 
baculum: Restore wizard improvements

Changes:
 - Add search field
 - Add offset and limit fields
 - Count number of files and directories
 - Backup job information
 - Change in sorting - uppercase letters higher than lowercase letters

4 years agobaculum: Fix sub-tabs on client and on storage pages
Marcin Haba [Sat, 24 Apr 2021 08:28:47 +0000 (10:28 +0200)] 
baculum: Fix sub-tabs on client and on storage pages

4 years agobaculum: Update release notes and version number
Marcin Haba [Wed, 21 Apr 2021 02:29:53 +0000 (04:29 +0200)] 
baculum: Update release notes and version number

4 years agobaculum: Fix #2592 logout button on Safari web browser
Marcin Haba [Tue, 20 Apr 2021 18:09:27 +0000 (20:09 +0200)] 
baculum: Fix #2592 logout button on Safari web browser

4 years agobaculum: Add example working directory path in API install wizard
Marcin Haba [Tue, 20 Apr 2021 05:42:15 +0000 (07:42 +0200)] 
baculum: Add example working directory path in API install wizard

4 years agobaculum: Tweak style of API host select list
Marcin Haba [Tue, 20 Apr 2021 05:31:47 +0000 (07:31 +0200)] 
baculum: Tweak style of API host select list

4 years agobaculum: Add component action (start/stop/restart) buttons to client and storage...
Marcin Haba [Tue, 20 Apr 2021 04:52:00 +0000 (06:52 +0200)] 
baculum: Add component action (start/stop/restart) buttons to client and storage pages

4 years agobaculum: Tweak minor improvements to Polish translations
Marcin Haba [Mon, 19 Apr 2021 03:20:01 +0000 (05:20 +0200)] 
baculum: Tweak minor improvements to Polish translations

4 years agobaculum: Update Portuguese translations
Wanderlei Huttel [Mon, 19 Apr 2021 03:14:57 +0000 (05:14 +0200)] 
baculum: Update Portuguese translations

4 years agobaculum: Add new device interface definition to Baculum OpenAPI documentation
Marcin Haba [Sun, 18 Apr 2021 14:11:06 +0000 (16:11 +0200)] 
baculum: Add new device interface definition to Baculum OpenAPI documentation

4 years agobaculum: Fix double device error code number
Marcin Haba [Sun, 18 Apr 2021 14:08:54 +0000 (16:08 +0200)] 
baculum: Fix double device error code number

4 years agobaculum: Implement support for assigning multiple API hosts to one user
Marcin Haba [Sat, 17 Apr 2021 16:14:00 +0000 (18:14 +0200)] 
baculum: Implement support for assigning multiple API hosts to one user

Changes:
 - managing many API hosts assigned to user without need to re-login for each API host
 - support for autochanger management on remote API hosts
 - new tabs to configure remote file daemon and storage daemons directly on Storage page or Client page

4 years agobaculum: Use catalog access in changer listall endpoint only if it is configured...
Marcin Haba [Sat, 17 Apr 2021 15:47:14 +0000 (17:47 +0200)] 
baculum: Use catalog access in changer listall endpoint only if it is configured on API host

4 years agobaculum: Fix opening update slots window reported by Hector Barrera
Marcin Haba [Thu, 15 Apr 2021 00:31:30 +0000 (02:31 +0200)] 
baculum: Fix opening update slots window reported by Hector Barrera

4 years agobaculum: Update version and ReleaseNotes
Marcin Haba [Thu, 8 Apr 2021 16:58:10 +0000 (18:58 +0200)] 
baculum: Update version and ReleaseNotes

4 years agobaculum: Update Russian translations
Sergey Zhidkov [Thu, 8 Apr 2021 16:10:54 +0000 (18:10 +0200)] 
baculum: Update Russian translations

4 years agobaculum: Tweak fix Polish translations
Marcin Haba [Wed, 7 Apr 2021 04:43:56 +0000 (06:43 +0200)] 
baculum: Tweak fix Polish translations

4 years agobaculum: Update Portuguese translations
Wanderlei Huttel [Tue, 6 Apr 2021 18:20:41 +0000 (20:20 +0200)] 
baculum: Update Portuguese translations

4 years agobaculum: Implement autochanger management
Marcin Haba [Sun, 4 Apr 2021 21:01:49 +0000 (23:01 +0200)] 
baculum: Implement autochanger management

4 years agoFix org#2604 About columns alignment of 'Terminated Jobs' section
Wanderlei Huttel [Fri, 2 Apr 2021 08:17:34 +0000 (10:17 +0200)] 
Fix org#2604 About columns alignment of 'Terminated Jobs' section

4 years agoRemove unused bsparse tool to avoid compilation error messages
Eric Bollengier [Tue, 30 Mar 2021 06:44:55 +0000 (08:44 +0200)] 
Remove unused bsparse tool to avoid compilation error messages

4 years agoregress: Fix test-cpp.c test tool for systems without typeof()
Eric Bollengier [Tue, 30 Mar 2021 06:42:17 +0000 (08:42 +0200)] 
regress: Fix test-cpp.c test tool for systems without typeof()

4 years agoFix compilation for check_bacula.c reported by Dan
Eric Bollengier [Tue, 30 Mar 2021 06:32:46 +0000 (08:32 +0200)] 
Fix compilation for check_bacula.c reported by Dan

4 years agoupdate releasenotes Release-11.0.2
Eric Bollengier [Fri, 26 Mar 2021 14:25:43 +0000 (15:25 +0100)] 
update releasenotes

4 years agoupdate version
Eric Bollengier [Fri, 26 Mar 2021 15:34:38 +0000 (16:34 +0100)] 
update version

4 years agoupdate baculabackupreport script
Eric Bollengier [Fri, 26 Mar 2021 15:08:07 +0000 (16:08 +0100)] 
update baculabackupreport script

4 years agobaculum: Tweak change AUTHORS list format including license type
Marcin Haba [Fri, 26 Mar 2021 14:25:18 +0000 (15:25 +0100)] 
baculum: Tweak change AUTHORS list format including license type

4 years agoupdate version
Eric Bollengier [Fri, 26 Mar 2021 13:49:45 +0000 (14:49 +0100)] 
update version

4 years agoFix Bacula_11.0 build by inverting dependencies
Norbert Bizet [Wed, 3 Mar 2021 16:06:14 +0000 (11:06 -0500)] 
Fix Bacula_11.0 build by inverting dependencies

4 years agoTweak unittests compilation from tools/ directory
Eric Bollengier [Thu, 25 Mar 2021 15:39:01 +0000 (16:39 +0100)] 
Tweak unittests compilation from tools/ directory

4 years agowin32: Update openssl version to 1.1.1k
Eric Bollengier [Thu, 25 Mar 2021 11:13:00 +0000 (12:13 +0100)] 
win32: Update openssl version to 1.1.1k

4 years agoRemove suspicious debug line on setdebug()
Eric Bollengier [Thu, 25 Mar 2021 10:22:31 +0000 (11:22 +0100)] 
Remove suspicious debug line on setdebug()

It seems that this Dmsg() is causing an issue on windows2003 32 bit

4 years agowin32: Fix error message when labeling volume on Windows SD
Eric Bollengier [Thu, 25 Mar 2021 10:16:44 +0000 (11:16 +0100)] 
win32: Fix error message when labeling volume on Windows SD

The sync_data() method is not currently implemented on windows,
the function is reporting an error, and this error is reported
back to the job with an incorrect old message.

4 years agotypo events_send_msg()
Alain Spineux [Fri, 19 Mar 2021 09:53:50 +0000 (10:53 +0100)] 
typo events_send_msg()

4 years agoAdd support for store_alist_str() in plugin configuration items
Eric Bollengier [Thu, 18 Mar 2021 13:54:42 +0000 (14:54 +0100)] 
Add support for store_alist_str() in plugin configuration items

4 years agoregress: Add unittest for bdelete_and_free() macro
Eric Bollengier [Thu, 18 Mar 2021 09:27:03 +0000 (10:27 +0100)] 
regress: Add unittest for bdelete_and_free() macro

4 years agoAdd functions to unittests library
Eric Bollengier [Thu, 18 Mar 2021 09:27:27 +0000 (10:27 +0100)] 
Add functions to unittests library

4 years agoEnhance bdelete_and_free() macro
Eric Bollengier [Tue, 16 Mar 2021 12:43:32 +0000 (13:43 +0100)] 
Enhance bdelete_and_free() macro

4 years agowin32: Fix compilation
Eric Bollengier [Thu, 11 Mar 2021 09:38:29 +0000 (10:38 +0100)] 
win32: Fix compilation

4 years agowin32: Fill the version information as CFLAGS
Eric Bollengier [Thu, 11 Mar 2021 08:48:17 +0000 (09:48 +0100)] 
win32: Fill the version information as CFLAGS

4 years agowin32: Fix #7373 binaries are tagged with correct ressource
Norbert Bizet [Thu, 25 Feb 2021 11:27:04 +0000 (06:27 -0500)] 
win32: Fix #7373 binaries are tagged with correct ressource

4 years agoregress: Add test for very long directive
Eric Bollengier [Tue, 9 Mar 2021 16:30:52 +0000 (17:30 +0100)] 
regress: Add test for very long directive

4 years agoFix #7449 About incorrect JSON output with TlsAllowedCn directive
Eric Bollengier [Tue, 9 Mar 2021 16:06:03 +0000 (17:06 +0100)] 
Fix #7449 About incorrect JSON output with TlsAllowedCn directive

4 years agoFix #7451 About deleted files incorrectly kept in Virtual Full
Eric Bollengier [Tue, 9 Mar 2021 12:08:02 +0000 (13:08 +0100)] 
Fix #7451 About deleted files incorrectly kept in Virtual Full

4 years agoregress: Add test to reproduce the VF issue with deleted files
Eric Bollengier [Tue, 9 Mar 2021 11:57:12 +0000 (12:57 +0100)] 
regress: Add test to reproduce the VF issue with deleted files

4 years agoFix reload issue when a Job doesn't have a Pool defined
Eric Bollengier [Wed, 3 Mar 2021 15:37:24 +0000 (16:37 +0100)] 
Fix reload issue when a Job doesn't have a Pool defined

4 years agoFix #7396 grant command error in granting privileges script for MySQL
Marcin Haba [Wed, 3 Mar 2021 14:21:59 +0000 (15:21 +0100)] 
Fix #7396 grant command error in granting privileges script for MySQL

4 years agoFix possible memory corruption in the label process
Eric Bollengier [Tue, 2 Mar 2021 15:11:06 +0000 (16:11 +0100)] 
Fix possible memory corruption in the label process

Description:
------------

When the dcr->block is reallocated during the label process,
the copy of the pointer that was made locally was no longer
in sync with the dcr->block pointer.

4 years agoFix #7286 DIR segfault when doing a "dir" command in a restore
Alain Spineux [Wed, 3 Mar 2021 10:54:16 +0000 (11:54 +0100)] 
Fix #7286 DIR segfault when doing a "dir" command in a restore

- this initialize "ua->jcr->db" as it is done few lines below at the first
  initialization
- the ticket shows that ua->db was used successfully by other functions
  few line before the crash while ua->jcr->db == NULL.
- it could be a fix (I cannot shows that)
- it could be a new bug (I don't see how)
- it is probably an improvement as the first and the next calls will
  return a consistent "ua"

4 years agoFix windows compilation issue
Norbert Bizet [Wed, 3 Mar 2021 13:01:41 +0000 (08:01 -0500)] 
Fix windows compilation issue

4 years agotweak comments in class IPADDR
Alain Spineux [Mon, 1 Mar 2021 12:47:23 +0000 (13:47 +0100)] 
tweak comments in class IPADDR

4 years agoTweak debug messages from offset+compression fix
Eric Bollengier [Tue, 23 Feb 2021 09:18:51 +0000 (10:18 +0100)] 
Tweak debug messages from offset+compression fix

4 years agoregress: Add Offset+Compression+Verification test to offset-test script
Eric Bollengier [Tue, 23 Feb 2021 09:07:26 +0000 (10:07 +0100)] 
regress: Add Offset+Compression+Verification test to offset-test script

4 years agoFix Verify job issue with offset stream and compressed blocks
Eric Bollengier [Tue, 23 Feb 2021 09:01:38 +0000 (10:01 +0100)] 
Fix Verify job issue with offset stream and compressed blocks

Description:
------------

When a Plugin generates an OFFSET stream and the FileSet uses
data compression, a Verify job (level=data) did not handle
correctly the offset header in the data stream, resulting
the following kind of message:

  Error: Compressed header version error. Got=0x4f58 want=0x1

4 years agowin32: Update to OpenSSL 1.1.1j
Eric Bollengier [Tue, 16 Feb 2021 16:32:08 +0000 (17:32 +0100)] 
win32: Update to OpenSSL 1.1.1j

4 years agoTweak debug messages in fd_plugin.c
Eric Bollengier [Tue, 16 Feb 2021 08:15:06 +0000 (09:15 +0100)] 
Tweak debug messages in fd_plugin.c

4 years agoregress: Add test for stopping job which is waiting for storage resource
Michal Rakowski [Tue, 9 Feb 2021 10:27:12 +0000 (11:27 +0100)] 
regress: Add test for stopping job which is waiting for storage resource

Tests #7321

4 years agoregress: Modify set_global_maximum_concurrent_jobs() to let FD and SD reachable by...
Michal Rakowski [Thu, 11 Feb 2021 18:25:30 +0000 (19:25 +0100)] 
regress: Modify set_global_maximum_concurrent_jobs() to let FD and SD reachable by the DIR

Original commit by Eric Bollengier

4 years agoFix #7321 About issue when stopping jobs waiting for resources
Michal Rakowski [Thu, 11 Feb 2021 18:22:49 +0000 (19:22 +0100)] 
Fix #7321 About issue when stopping jobs waiting for resources

Description:
-----------

The user reports that the jobs were queued on the Jan 25th
and he issued the stop command at the end of January. However
they started on Feb 3rd:

       jobid: 51,070
       schedtime: 2021-01-25 20:33:36
       starttime: 2021-02-03 13:59:05

Workaround:
----------

Users can issue the cancel command instead of the stop command
for jobs that are waiting on resources.

4 years agoregress: Schedule new tests in CDASH
Eric Bollengier [Fri, 26 Mar 2021 13:31:36 +0000 (14:31 +0100)] 
regress: Schedule new tests in CDASH

4 years agoFix windows compilation
Eric Bollengier [Thu, 4 Feb 2021 10:31:27 +0000 (11:31 +0100)] 
Fix windows compilation

4 years agobaculum: Update version
Marcin Haba [Fri, 26 Mar 2021 13:43:54 +0000 (14:43 +0100)] 
baculum: Update version

4 years agoregress: Fix endtime to support both python2/3
Eric Bollengier [Thu, 25 Mar 2021 16:17:32 +0000 (17:17 +0100)] 
regress: Fix endtime to support both python2/3