]>
git.ipfire.org Git - thirdparty/bacula.git/log
Michal Rakowski [Tue, 27 Oct 2020 08:32:19 +0000 (09:32 +0100)]
Fix incompatibility problem introduced with Plugin Object
Eric Bollengier [Mon, 26 Oct 2020 17:30:03 +0000 (18:30 +0100)]
Fix #6891 Handle empty PluginConfig files
Eric Bollengier [Mon, 26 Oct 2020 14:02:17 +0000 (15:02 +0100)]
regress: schedule console-delete-jobs-all-test
Michal Rakowski [Wed, 21 Oct 2020 16:14:23 +0000 (18:14 +0200)]
regress: add test for 'disable/enable jobs all' command
Michal Rakowski [Mon, 19 Oct 2020 22:22:19 +0000 (00:22 +0200)]
Fix #5013 About 'enable/disable jobs all' command
Michal Rakowski [Mon, 26 Oct 2020 11:14:46 +0000 (12:14 +0100)]
small fix for db_get_plugin_object_record
Michal Rakowski [Mon, 26 Oct 2020 11:13:38 +0000 (12:13 +0100)]
tweak: bscan fix messages for plugin objects
Michal Rakowski [Mon, 19 Oct 2020 21:01:15 +0000 (23:01 +0200)]
Fix #6852 About 'restore copies'
Eric Bollengier [Mon, 26 Oct 2020 09:13:44 +0000 (10:13 +0100)]
Fix bvfs-restore-test on MySQL with many files
Eric Bollengier [Fri, 23 Oct 2020 19:20:33 +0000 (21:20 +0200)]
Fix #6892 About issue in update_bacula_tables script
Eric Bollengier [Fri, 23 Oct 2020 15:52:23 +0000 (17:52 +0200)]
regress: Schedule new tests
Michal Rakowski [Thu, 22 Oct 2020 21:03:09 +0000 (23:03 +0200)]
regress: Add test for 'delete object' command
Michal Rakowski [Thu, 22 Oct 2020 21:28:54 +0000 (23:28 +0200)]
Fix #6099 About 'delete object' command
Alain Spineux [Fri, 23 Oct 2020 13:02:02 +0000 (15:02 +0200)]
fix SQL query for sqlite default_sql_bvfs_select (BMR restore fail)
Eric Bollengier [Fri, 23 Oct 2020 08:52:18 +0000 (10:52 +0200)]
Add SHA256/SHA512 to Accurate job options
Eric Bollengier [Fri, 16 Oct 2020 20:25:33 +0000 (22:25 +0200)]
rpms: Fix spec file with ldap auth plugin
Eric Bollengier [Fri, 16 Oct 2020 18:32:57 +0000 (20:32 +0200)]
Fix compilation on plugins
Eric Bollengier [Fri, 16 Oct 2020 16:46:32 +0000 (18:46 +0200)]
Fix win32 compilation with dedup
Michal Rakowski [Fri, 16 Oct 2020 14:18:56 +0000 (16:18 +0200)]
Fix crash on get_plugin_object_record()
Eric Bollengier [Wed, 23 Sep 2020 06:38:16 +0000 (08:38 +0200)]
win32: Update OpenSSL to 1.1.1f
Michal Rakowski [Fri, 16 Oct 2020 13:12:07 +0000 (15:12 +0200)]
Fix for update mysql script with ObjectCategory index
Michal Rakowski [Fri, 16 Oct 2020 13:12:07 +0000 (15:12 +0200)]
Fix for update mysql script with ObjectCategory index
Eric Bollengier [Fri, 16 Oct 2020 13:13:14 +0000 (15:13 +0200)]
regress: Fix bconsole-test when readline is not available
Michal Rakowski [Fri, 16 Oct 2020 10:08:46 +0000 (12:08 +0200)]
Cleanup of get_plugin_object_record function
Michal Rakowski [Fri, 16 Oct 2020 10:08:25 +0000 (12:08 +0200)]
Fix listing single object with specified objectid
Radosław Korzeniewski [Fri, 16 Oct 2020 09:27:47 +0000 (11:27 +0200)]
regress: Update regression for BPAM LDAP Plugin tests
Radosław Korzeniewski [Fri, 16 Oct 2020 09:27:21 +0000 (11:27 +0200)]
Add debug report when LDAP auth was success.
Eric Bollengier [Wed, 30 Sep 2020 16:52:42 +0000 (18:52 +0200)]
Fix bvfs-test after patch on restore menu 11
Eric Bollengier [Fri, 16 Oct 2020 08:37:55 +0000 (10:37 +0200)]
Fix FD segfault after a hangup/blowup
Eric Bollengier [Fri, 16 Oct 2020 08:18:52 +0000 (10:18 +0200)]
rpms: Add Director Authentication plugin to spec file
Eric Bollengier [Fri, 16 Oct 2020 07:30:55 +0000 (09:30 +0200)]
Update catalog to 1023 in cats.h
Radosław Korzeniewski [Thu, 15 Oct 2020 16:49:44 +0000 (18:49 +0200)]
regress: Add BPAM LDAP Plugin regression tests
Radosław Korzeniewski [Thu, 15 Oct 2020 10:41:38 +0000 (12:41 +0200)]
BConsole add '-p' to avoid getpass for authenticate.
When compiled with DEVELOPER mode (regression tests) then bconsole
can handle '-p' command line parameter which tells bconsole BPAM API
to avoid getpass() during authentication chatting. This allows to batch
and test BPAM framework API with regression testing scripts.
Radosław Korzeniewski [Tue, 13 Oct 2020 11:49:27 +0000 (13:49 +0200)]
Update error handling in BPAM framework.
Radoslaw Korzeniewski [Tue, 13 Oct 2020 10:04:57 +0000 (12:04 +0200)]
Add BConsole Authentication Plugin framework and a LDAP Plugin.
Eric Bollengier [Fri, 25 Sep 2020 13:21:28 +0000 (15:21 +0200)]
docker: Use the new RestoreObject interface
Radosław Korzeniewski [Tue, 2 Feb 2021 12:51:30 +0000 (13:51 +0100)]
Add PGSQL detection for macOS and MacPorts.
Michael Narigon [Tue, 2 Feb 2021 12:12:08 +0000 (13:12 +0100)]
Remove deprecated sbrk in macOS and Windows.
This patch adds a new functions to manage heap size
allocation reporting in macOS and Windows systems.
It will be used as a generic heap applocation reporting
in Bacula. This is a port of the work from
Michael Narigon <mnarigon@gmail.com>.
Eric Bollengier [Fri, 8 Jan 2021 10:42:08 +0000 (11:42 +0100)]
regress: Schedule json-test in CDASH
Eric Bollengier [Fri, 8 Jan 2021 10:41:03 +0000 (11:41 +0100)]
regress: Add test to check json output of json tools
Eric Bollengier [Fri, 8 Jan 2021 10:40:33 +0000 (11:40 +0100)]
regress: Fix warning about ddestat variable
Eric Bollengier [Fri, 8 Jan 2021 10:27:18 +0000 (11:27 +0100)]
Fix org#2579 About incorrect JSON generated from empty Messages resource
The broken JSON from bdirjson output is caused by defining in Messages
resource message types with negation but without using 'All' keyword
at the beginning of the message type list. It is:
Append = /var/log/bacula/bacula.log = !Debug, !Saved, !Skipped
Console = !Debug, !Saved, !Skipped
instead of
Append = /var/log/bacula/bacula.log = All, !Debug, !Saved, !Skipped
Console = All, !Debug, !Saved, !Skipped
Eric Bollengier [Wed, 6 Jan 2021 14:48:29 +0000 (15:48 +0100)]
Fix org#2587 Improve btraceback output
Reported by Carsten
At Debian we had bug reports because of the emails that btraceback sends.
Apparently the users were confused because of a lack of explanation in the email.
Eric Bollengier [Wed, 6 Jan 2021 14:29:40 +0000 (15:29 +0100)]
Fix org#2588 About incorrect Object/ObjectId type in update_postgresql_tables
The Object/ObjectId field has the type serial when the schema is upgraded with
update_postgresql_tables while it has the type bigserial when the DB is created
with make_postgresql_tables.
To fix manually the problem, it is possible to exectute the following SQL command:
ALTER TABLE Object ALTER ObjectId TYPE BIGINT;
Eric Bollengier [Wed, 6 Jan 2021 11:42:40 +0000 (12:42 +0100)]
regress: Add query-subst-test to CDASH
Eric Bollengier [Wed, 6 Jan 2021 11:41:23 +0000 (12:41 +0100)]
regress: Add test for query file variable substitution
Eric Bollengier [Wed, 6 Jan 2021 12:41:24 +0000 (13:41 +0100)]
Fix #7247 About incorrect variable substitution with the query command
Description:
-----------
The following query.sql file was generating an incorrect SQL command
# 1
:Query to test substitutions
*Enter a
*Enter b
*Enter c
SELECT '%1' as "a", '%2' as "b", '%3' as "c", '%1' as "a", '%2' as "b", '%3' as "c";
Workaround:
----------
Do not reuse variable in the SQL command (add a new one) or tweak SQL to not reuse variables.
Eric Bollengier [Thu, 31 Dec 2020 08:46:52 +0000 (09:46 +0100)]
Fix #7214 Adapt mtx-changer.conf for GNU cpio mt version
Michal Rakowski [Wed, 30 Dec 2020 10:37:19 +0000 (11:37 +0100)]
Fix #7207 About 'dbcheck -n' not working properly
Eric Bollengier [Tue, 15 Dec 2020 14:52:32 +0000 (15:52 +0100)]
Fix #7168 About incorrect start time displayed for canceled jobs not yet running
All the jobs that are canceled while they are still in the run queue (duplicate)
are not reporting the start time correctly.
Example:
Scheduled time: 10-Dec-2020 13:15:01
Start time: 01-Jan-1970 01:00:00
End time: 10-Dec-2020 13:15:01
Elapsed time: 50 years 11 months 26 days 13 hours 15 mins 1 sec
The fix will display an empty start time
Scheduled time: 10-Dec-2020 13:15:01
Start time:
End time: 10-Dec-2020 13:15:01
Elapsed time: 1 sec
Eric Bollengier [Wed, 16 Dec 2020 09:36:21 +0000 (10:36 +0100)]
BEE Backport bacula/src/tools/dbcheck.c
This commit is the result of the squash of the following main commits:
Author: Alain Spineux <alain@baculasystems.com>
Date: Wed Jul 3 09:28:39 2019 +0200
fix #5131 dbcheck was removing the "empty" path entry in the Path table
- this "empty" entry is required for query like
* .bvfs_lsdirs jobid=1 path=
used by both BMR recovery ISO
Author: Wanderlei Hüttel <wanderlei.huttel@gmail.com>
Date: Mon Feb 4 12:37:05 2019 +0100
Implement eliminate verify records in dbcheck bug #2434
Author: Eric Bollengier <eric@baculasystems.com>
Date: Mon Aug 26 13:57:34 2013 +0200
Merge Filename table to File
Eric Bollengier [Tue, 15 Dec 2020 17:13:23 +0000 (18:13 +0100)]
Fix compilation warnings with Solaris Studio
Marcin Haba [Tue, 15 Dec 2020 04:18:43 +0000 (05:18 +0100)]
baculum: Fix problem with setting hourly schedule - reported by Elias Pereira
Eric Bollengier [Tue, 15 Dec 2020 12:48:27 +0000 (13:48 +0100)]
Fix MySQL update procedure with incorrect handling of the FileIndex type
Upgrade fails as follows:
This script will update a Bacula MySQL database
from any from version 12-15 or 1014-1021 to version 1022
which is needed to convert from any Bacula Enterprise
version 4.0.x or later to version 12.4.x
or Bacula Community versions 5.0.x, 5.2.x, 7.4.x, 9.x.x to
Community version 11.0
Depending on the current version of your catalog, you may
have to run this script multiple times
ERROR 1264 (22003) at line 24: Out of range value for column 'FileIndex' at row 1
Update of Bacula MySQL tables from 16 to 1017 failed.
This would indicate that the file_temp table is using an unsigned
version of FileIndex however it should be signed, so changing the
schema of that temp table makes it go further,
Eric Bollengier [Tue, 15 Dec 2020 10:58:10 +0000 (11:58 +0100)]
Fix update_sqlite3_tables to upgrade from 9.6 to 11.0
Eric Bollengier [Fri, 4 Dec 2020 19:16:47 +0000 (20:16 +0100)]
Fix MySQL update scripts for new MariaDB
Eric Bollengier [Thu, 10 Dec 2020 12:14:49 +0000 (13:14 +0100)]
Fix #7165 About incorrect JSON output for SHA256/SHA512 option
Eric Bollengier [Mon, 7 Dec 2020 10:49:40 +0000 (11:49 +0100)]
Fix debug message
Eric Bollengier [Mon, 7 Dec 2020 10:46:23 +0000 (11:46 +0100)]
Do not hardcode FD Caps
Eric Bollengier [Fri, 4 Dec 2020 19:02:34 +0000 (20:02 +0100)]
update configure
Eric Bollengier [Fri, 4 Dec 2020 19:02:27 +0000 (20:02 +0100)]
Fix warning in ./configure
bsbuild [Fri, 4 Dec 2020 15:48:02 +0000 (16:48 +0100)]
update po
Eric Bollengier [Thu, 3 Dec 2020 20:06:54 +0000 (21:06 +0100)]
Tweak release process
Eric Bollengier [Thu, 3 Dec 2020 18:48:46 +0000 (19:48 +0100)]
update branch name
Alain Spineux [Thu, 3 Dec 2020 13:37:59 +0000 (14:37 +0100)]
regress: test custom symlink permissions on FreeBSD and macOS
Alain Spineux [Thu, 3 Dec 2020 13:36:33 +0000 (14:36 +0100)]
Restore custom permission of symlink on FreeBSD and MacOS
- FreeBSD and MacOS have a lchmod() system call and a chmod with
option -h that allow to chnage the permission of o symlink
instead of having a fixed lrwxrwxrwx, these system can have
a custom one.
Eric Bollengier [Thu, 3 Dec 2020 18:04:08 +0000 (19:04 +0100)]
release: Tweak drivers definition
Eric Bollengier [Thu, 3 Dec 2020 17:34:47 +0000 (18:34 +0100)]
Fix .gitignore
Eric Bollengier [Thu, 3 Dec 2020 17:04:11 +0000 (18:04 +0100)]
Sync FD/SD Version with Enterprise
Eric Bollengier [Thu, 3 Dec 2020 17:03:57 +0000 (18:03 +0100)]
Enable SD CAPS in hello()
Eric Bollengier [Thu, 3 Dec 2020 11:59:51 +0000 (12:59 +0100)]
Fix tools/Makefile.in
Eric Bollengier [Wed, 25 Nov 2020 10:29:28 +0000 (11:29 +0100)]
Fix 32/64bit issue with setdebug command
Kern Sibbald [Tue, 9 Feb 2016 07:58:12 +0000 (18:58 +1100)]
Fix bug #2197 -- build failure with --disable-libtool
Eric Bollengier [Wed, 2 Dec 2020 14:37:52 +0000 (15:37 +0100)]
Fix Id type in MySQL make/update script
Eric Bollengier [Wed, 2 Dec 2020 12:34:04 +0000 (13:34 +0100)]
Tweak ASSERT and ASSERT2 definitions
Marcin Haba [Mon, 30 Nov 2020 09:41:06 +0000 (10:41 +0100)]
Fix org#2573 About Syntax error in granting privileges script with MySQL if --with-db-password parameter is used
Martin Simmons [Mon, 30 Nov 2020 09:36:50 +0000 (10:36 +0100)]
Fix org#2471 About deleted files are listed as being present in an accurate backup by various sample queries
Carsten Leonhardt [Mon, 30 Nov 2020 09:34:09 +0000 (10:34 +0100)]
Fix org#2571 About errors in es_AR.po file
Radosław Korzeniewski [Thu, 24 Dec 2020 11:32:34 +0000 (12:32 +0100)]
alist: Fix for memory overflow access.
Alain Spineux [Tue, 1 Dec 2020 12:59:21 +0000 (13:59 +0100)]
Fix org#2567 Device don't always get the right "capabilities"
- "capabilities" was sometime adjusted in the constructor or in the factory
function, but device_generic_init() that is called later by init_dev()
initialize most of the device fields including "capabilities"
- move the tweak of the "capabilities" in device_specific_init()
that is called after device_generic_init()
- update the device_generic_init() method of all concerned classes
- doing only a return file_dev::device_specific_init(); in child class is
useless (not overwriting the method would be ok) but I want to be
sure that nobody will forget to do it if device_specific_init() is
modified
- testing can be done by searching for "Ready to append to end of Volume"
in job log of "tests/restart-job-test"
Marcin Haba [Tue, 1 Dec 2020 04:20:14 +0000 (05:20 +0100)]
baculum: Update script version
Eric Bollengier [Mon, 30 Nov 2020 10:02:29 +0000 (11:02 +0100)]
Disable SSD Directory for community
Eric Bollengier [Mon, 30 Nov 2020 10:01:41 +0000 (11:01 +0100)]
Fix memory small loss in SD
Eric Bollengier [Mon, 30 Nov 2020 09:59:10 +0000 (10:59 +0100)]
Fix Cloud::Hostname configuration flag
The flag Hostname is mandatory for S3 and File. It is not
for other cloud providers, but we support only these two
for the moment.
Eric Bollengier [Mon, 30 Nov 2020 09:53:20 +0000 (10:53 +0100)]
Fix bdirjson segfault when the Catalog resource is set
Radoslaw Korzeniewski [Thu, 24 Sep 2020 15:00:46 +0000 (17:00 +0200)]
Add LDAP lib detection to configure
Michal Rakowski [Thu, 15 Oct 2020 20:51:41 +0000 (22:51 +0200)]
Update configure.in with catalog ver 1023
Michal Rakowski [Thu, 15 Oct 2020 20:53:18 +0000 (22:53 +0200)]
Update catalog to version 1023
Eric Bollengier [Thu, 15 Oct 2020 14:55:59 +0000 (16:55 +0200)]
regress: Use legacy dedup driver by default
Alain Spineux [Wed, 20 May 2020 11:48:29 +0000 (13:48 +0200)]
make_unique_filename() now use "const char *key"
Alain Spineux [Mon, 18 May 2020 13:44:25 +0000 (15:44 +0200)]
btraceback do a "bt full" of the faulty thread to get local variables
Alain Spineux [Wed, 15 Apr 2020 14:11:46 +0000 (16:11 +0200)]
fix bls arguments dedup & filter both static in bls.c
Alain Spineux [Fri, 3 Apr 2020 17:09:58 +0000 (19:09 +0200)]
dedup: split more dedup1 & dedup2
- dedup2 tweak Makefile
- remove () and exit 1
- populate .PHONY
Alain Spineux [Wed, 25 Mar 2020 17:43:51 +0000 (18:43 +0100)]
Move dedup code into dedup1 directory
- separate dedup2 and dedup1 code
- Inherit DedupEngine1 from DedupEngine
Alain Spineux [Fri, 28 Feb 2020 12:31:29 +0000 (13:31 +0100)]
unittest fix gdb_print_local() used by _ok() to avoid "tail call"
- compiler can do "tail call" optimization and "hide" functions
in the "call stack" and disturb gdb_print_local() usage
Alain Spineux [Wed, 26 Feb 2020 17:53:47 +0000 (18:53 +0100)]
unittest: new rok() is ok or display the label and "return 1;"
avoid the display of the OK message when it succeed
rok() is useful to skip tests that follow and depend of the success
of the test
I like to use it for test that should never fail
Michal Rakowski [Thu, 15 Oct 2020 13:00:02 +0000 (15:00 +0200)]
Fix to avoid null pointers in plugin object struct parsing
Michal Rakowski [Thu, 15 Oct 2020 12:48:46 +0000 (14:48 +0200)]
Update make_sqlite script with ObjectCategory
Eric Bollengier [Thu, 15 Oct 2020 09:54:18 +0000 (11:54 +0200)]
Allow to list objects by category
Eric Bollengier [Thu, 15 Oct 2020 09:36:04 +0000 (11:36 +0200)]
Terminate buffer in despool_attributes_from_file()