]> git.ipfire.org Git - thirdparty/bacula.git/log
thirdparty/bacula.git
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

4 years agoFix check_bacula.c to ignore daemon events
Eric Bollengier [Thu, 18 Mar 2021 10:26:25 +0000 (11:26 +0100)] 
Fix check_bacula.c to ignore daemon events

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

check_bacula fails on file daemon

$ check_bacula -H localhost -D fd -M vlbackup.obvsg.at-mon -K secretsecret
BACULA CRITICAL - FileDaemon Status: Events: code=FC0002 daemon=vlbackup.obvsg.at-fd ref=0x7fe29000ee58 type=connection source=xxx-mon text=Director connection

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

It should be possible to disable events for these filedaemons.

4 years agobaculum: Use new APIv2 status client request on job history view page
Marcin Haba [Sun, 7 Mar 2021 09:53:48 +0000 (10:53 +0100)] 
baculum: Use new APIv2 status client request on job history view page

4 years agobaculum: Update version and ReleaseNotes
Marcin Haba [Sun, 7 Mar 2021 08:35:23 +0000 (09:35 +0100)] 
baculum: Update version and ReleaseNotes

4 years agobaculum: Tweak increase API client version
Marcin Haba [Sun, 7 Mar 2021 03:18:23 +0000 (04:18 +0100)] 
baculum: Tweak increase API client version

4 years agobaculum: Update Portuguese translations
Wanderlei Huttel [Fri, 5 Mar 2021 04:12:56 +0000 (05:12 +0100)] 
baculum: Update Portuguese translations

4 years agobaculum: Unify /jobs/{jobid}/files endpoint output for detailed and normal modes
Marcin Haba [Fri, 5 Mar 2021 03:58:15 +0000 (04:58 +0100)] 
baculum: Unify /jobs/{jobid}/files endpoint output for detailed and normal modes

4 years agoPossible fix for SD high memory useage problem
Kern Sibbald [Tue, 2 Mar 2021 10:23:01 +0000 (11:23 +0100)] 
Possible fix for SD high memory useage problem

4 years agoFix compilation warning
Eric Bollengier [Thu, 17 Sep 2020 16:32:16 +0000 (18:32 +0200)] 
Fix compilation warning

4 years agoFix S3 compilation
Eric Bollengier [Tue, 2 Mar 2021 13:59:53 +0000 (14:59 +0100)] 
Fix S3 compilation

4 years agoFix compilation issue of the cloud driver
Eric Bollengier [Tue, 2 Mar 2021 10:46:52 +0000 (11:46 +0100)] 
Fix compilation issue of the cloud driver

4 years agobaculum: Update Polish translations
Marcin Haba [Sun, 28 Feb 2021 06:32:47 +0000 (07:32 +0100)] 
baculum: Update Polish translations

4 years agobaculum: Update Russian translations
Sergey Zhidkov [Sun, 28 Feb 2021 05:47:41 +0000 (06:47 +0100)] 
baculum: Update Russian translations

4 years agobaculum: Implement API version 2
Marcin Haba [Sat, 27 Feb 2021 21:55:53 +0000 (22:55 +0100)] 
baculum: Implement API version 2

APIv2 changes:
 - Send request body parameters to the API in JSON format instead of POST form parameters.
 - Drop using the create[] and update[] surrounds in the POST and PUT request body parameters.
 - Move the /api/v1/status/{director|storage|client}/ endpoints to:
    = /api/v2/clients/{clientid}/status,
    = /api/v2/storages/{storageid}/status,
    = /api/v2/directors/{director_name}/status.
 - Stop using OAuth2 'status' scope.
 - API version 1 is still possible to use and it is preserved. Nothing changes here.
 - New and modern API admin panel.

4 years agobaculum: Add Craig Holyoak to AUTHORS
Marcin Haba [Fri, 19 Feb 2021 03:46:57 +0000 (04:46 +0100)] 
baculum: Add Craig Holyoak to AUTHORS

4 years agobaculum: Fix #2597 LDAP login with LDAPS option
Craig Holyoak [Fri, 19 Feb 2021 03:42:17 +0000 (04:42 +0100)] 
baculum: Fix #2597 LDAP login with LDAPS option

4 years agobaculum: Fix cancel button in new job wizard
Marcin Haba [Sat, 13 Feb 2021 13:28:30 +0000 (14:28 +0100)] 
baculum: Fix cancel button in new job wizard

4 years agorpms: Fix bacula.spec for Fedora 31
Davide Franco [Sun, 28 Feb 2021 18:57:34 +0000 (18:57 +0000)] 
rpms: Fix bacula.spec for Fedora 31

4 years agorpms: Fix bacula.spec for rhel8 / centos 8
Davide Franco [Sun, 28 Feb 2021 18:05:08 +0000 (18:05 +0000)] 
rpms: Fix bacula.spec for rhel8 / centos 8

 - do not build lzo on rhel 8 / centos 8

4 years agorpms: Update bacula.spec for rhel8
Davide Franco [Sun, 28 Feb 2021 18:02:27 +0000 (18:02 +0000)] 
rpms: Update bacula.spec for rhel8

4 years agoFix bug #2498 - Wrong mode for /etc/logrotate.d/bacula
Davide Franco [Sun, 28 Feb 2021 15:01:00 +0000 (15:01 +0000)] 
Fix bug #2498 - Wrong mode for /etc/logrotate.d/bacula

4 years agorpms: Fix missing query.sql
Davide Franco [Sun, 28 Feb 2021 12:49:54 +0000 (12:49 +0000)] 
rpms: Fix missing query.sql

5 years agoFix windows compilation
Eric Bollengier [Mon, 8 Feb 2021 13:46:12 +0000 (14:46 +0100)] 
Fix windows compilation

5 years agobaculum: Fix undefined property error in run job API endpoint if level value is not...
Marcin Haba [Sun, 7 Feb 2021 14:43:44 +0000 (15:43 +0100)] 
baculum: Fix undefined property error in run job API endpoint if level value is not provided

5 years agobaculum: Fix displaying warning messages in messages window
Marcin Haba [Sat, 6 Feb 2021 20:34:49 +0000 (21:34 +0100)] 
baculum: Fix displaying warning messages in messages window

5 years agobaculum: Improve updating asset files after upgrade
Marcin Haba [Sat, 6 Feb 2021 20:29:05 +0000 (21:29 +0100)] 
baculum: Improve updating asset files after upgrade