]> git.ipfire.org Git - thirdparty/bacula.git/log
thirdparty/bacula.git
2 years agopluginlib: Fix pluginclass accurate mode handling.
Radosław Korzeniewski [Tue, 19 Oct 2021 15:43:34 +0000 (17:43 +0200)] 
pluginlib: Fix pluginclass accurate mode handling.

2 years agopluginlib: Update execprog class.
Radosław Korzeniewski [Tue, 19 Oct 2021 15:43:05 +0000 (17:43 +0200)] 
pluginlib: Update execprog class.

2 years agoFix regression in smart_alist.
Radosław Korzeniewski [Fri, 15 Oct 2021 13:44:37 +0000 (15:44 +0200)] 
Fix regression in smart_alist.

2 years agoAdd copy operator to smartalist.
Radosław Korzeniewski [Thu, 14 Oct 2021 15:26:31 +0000 (17:26 +0200)] 
Add copy operator to smartalist.

2 years agopluginclass: Fix command parsing.
Radosław Korzeniewski [Thu, 14 Oct 2021 15:25:42 +0000 (17:25 +0200)] 
pluginclass: Fix command parsing.

2 years agopluginlib: Create plugin base framework for FD Plugins.
Radosław Korzeniewski [Thu, 16 Sep 2021 11:22:33 +0000 (13:22 +0200)] 
pluginlib: Create plugin base framework for FD Plugins.

2 years agoUpdate pluginlib build.
Radosław Korzeniewski [Thu, 16 Sep 2021 11:16:55 +0000 (13:16 +0200)] 
Update pluginlib build.

2 years agoregress: add fd-allowed-restore-dir-test
Michal Rakowski [Mon, 18 Oct 2021 21:25:01 +0000 (23:25 +0200)] 
regress: add fd-allowed-restore-dir-test

2 years agoAdd 'AllowedRestoreDirectories' directive for the FD
Michal Rakowski [Mon, 18 Oct 2021 21:27:51 +0000 (23:27 +0200)] 
Add 'AllowedRestoreDirectories' directive for the FD

2 years agoremove redundant restore_cleanup()
Michal Rakowski [Mon, 18 Oct 2021 20:04:32 +0000 (22:04 +0200)] 
remove redundant restore_cleanup()

For the success path, it's called anyway, for the error path it's called
if the `do_restore()` fails, so there is no need to call it twice.

2 years agobgit.py: add a --path filter to only shows commit related to a file or dir
Alain Spineux [Fri, 22 Oct 2021 14:29:49 +0000 (16:29 +0200)] 
bgit.py: add a --path filter to only shows commit related to a file or dir

- for example to have the changes related only to dedup2:
$ bgit.py cmp_branch --sha --path bacula/src/stored/dedup2 bee/Branch-12.8 bee/alain-12.9-dedup2-lsoc

2 years agoregress: add fd-excluded-backup-dir-test
Michal Rakowski [Sat, 23 Oct 2021 19:46:25 +0000 (21:46 +0200)] 
regress: add fd-excluded-backup-dir-test

2 years agoAdd ExcludedBackupDirectories FD directive
Michal Rakowski [Wed, 20 Oct 2021 21:22:14 +0000 (23:22 +0200)] 
Add ExcludedBackupDirectories FD directive

2 years agoregress: Add bjoblist-test
Arnaud Garin [Fri, 22 Oct 2021 12:49:24 +0000 (14:49 +0200)] 
regress: Add bjoblist-test

2 years agoFix typo in bjoblist
Arnaud Garin [Fri, 22 Oct 2021 12:46:12 +0000 (14:46 +0200)] 
Fix typo in bjoblist

2 years agoAdd update_..._tables_1024_to_1025 to ./configure.in
Eric Bollengier [Mon, 18 Oct 2021 20:17:27 +0000 (22:17 +0200)] 
Add update_..._tables_1024_to_1025  to ./configure.in

2 years agoUse transation to create PostgreSQL schema
Eric Bollengier [Mon, 18 Oct 2021 18:53:33 +0000 (20:53 +0200)] 
Use transation to create PostgreSQL schema

2 years agoregress: Fix antivirus regression test header
Norbert Bizet [Mon, 18 Oct 2021 14:51:09 +0000 (10:51 -0400)] 
regress: Fix antivirus regression test header

2 years agoregress: add fd-allowed-scripts-dirs-test
Michal Rakowski [Fri, 15 Oct 2021 08:39:01 +0000 (10:39 +0200)] 
regress: add fd-allowed-scripts-dirs-test

2 years agoExtend 'berrno' class with Bacula-specific error handling
Michal Rakowski [Fri, 15 Oct 2021 15:52:52 +0000 (17:52 +0200)] 
Extend 'berrno' class with Bacula-specific error handling

2 years agoantivirus regress test. Install antivirus before running test.
Norbert Bizet [Tue, 12 Oct 2021 13:42:20 +0000 (09:42 -0400)] 
antivirus regress test. Install antivirus before running test.

2 years agoTweak updatedb scripts
Eric Bollengier [Mon, 18 Oct 2021 13:39:56 +0000 (15:39 +0200)] 
Tweak updatedb scripts

2 years agoUpdate SQL scripts for version 1025
Eric Bollengier [Fri, 15 Oct 2021 13:47:04 +0000 (15:47 +0200)] 
Update SQL scripts for version 1025

2 years agototp-bpam: Add support for qrencode 3.x on Redhat
Eric Bollengier [Fri, 15 Oct 2021 11:50:05 +0000 (13:50 +0200)] 
totp-bpam: Add support for qrencode 3.x on Redhat

2 years agoFix compilation when LZO is not available
Eric Bollengier [Fri, 15 Oct 2021 09:13:32 +0000 (11:13 +0200)] 
Fix compilation when LZO is not available

2 years agoFix zstd issue in ./configure.in
Eric Bollengier [Thu, 14 Oct 2021 14:01:12 +0000 (16:01 +0200)] 
Fix zstd issue in ./configure.in

2 years agorpms: Add dependency for libzstd
Eric Bollengier [Thu, 14 Oct 2021 12:21:32 +0000 (14:21 +0200)] 
rpms: Add dependency for libzstd

2 years agoFix compilation warnings
Eric Bollengier [Thu, 14 Oct 2021 12:21:13 +0000 (14:21 +0200)] 
Fix compilation warnings

2 years agoFix append/immutable compilation problem for Windows
Michal Rakowski [Wed, 13 Oct 2021 16:59:41 +0000 (18:59 +0200)] 
Fix append/immutable compilation problem for Windows

2 years agoupdate autoconf
Michal Rakowski [Wed, 13 Oct 2021 16:59:25 +0000 (18:59 +0200)] 
update autoconf

2 years agoregress: Schedule ZSTD test in CDASH
Eric Bollengier [Wed, 13 Oct 2021 15:40:17 +0000 (17:40 +0200)] 
regress: Schedule ZSTD test in CDASH

2 years agoAdd ZSTD to Windows build
Eric Bollengier [Wed, 13 Oct 2021 15:30:05 +0000 (17:30 +0200)] 
Add ZSTD to Windows build

2 years agoTweak ZSTD detection in configure.in
Eric Bollengier [Wed, 13 Oct 2021 11:56:57 +0000 (13:56 +0200)] 
Tweak ZSTD detection in configure.in

2 years agoregress: Add zstd-test
Eric Bollengier [Tue, 12 Oct 2021 15:29:32 +0000 (17:29 +0200)] 
regress: Add zstd-test

2 years agoAdd ZSTD compression support
Eric Bollengier [Tue, 12 Oct 2021 15:28:58 +0000 (17:28 +0200)] 
Add ZSTD compression support

2 years agoFix postgresql catalog creation script
Eric Bollengier [Wed, 13 Oct 2021 15:03:21 +0000 (17:03 +0200)] 
Fix postgresql catalog creation script

2 years agoregress: add fd-allowed-backup-dir-test
Michal Rakowski [Mon, 20 Sep 2021 19:39:31 +0000 (21:39 +0200)] 
regress: add fd-allowed-backup-dir-test

2 years agoAdd 'AllowedBackupDir' FD directive
Michal Rakowski [Mon, 20 Sep 2021 19:23:34 +0000 (21:23 +0200)] 
Add 'AllowedBackupDir' FD directive

2 years agofix memory leak in ProgressCounter
Alain Spineux [Fri, 8 Oct 2021 12:23:58 +0000 (14:23 +0200)] 
fix memory leak in ProgressCounter

2 years agoregress: add append and immutable volume tests
Michal Rakowski [Tue, 31 Aug 2021 11:01:35 +0000 (13:01 +0200)] 
regress: add append and immutable volume tests

WARNING: To be able to run this test you have to be sure that Bacula
is configured with systemd support (--with-systemd)
and that correct bacula-sd.service exists in your systemd directory.
Also see platforms/systed.

2 years agoAdd support for the APPEND and IMMUTABLE flags for File Volumes
Michal Rakowski [Thu, 2 Sep 2021 14:32:52 +0000 (16:32 +0200)] 
Add support for the APPEND and IMMUTABLE flags for File Volumes

2 years agoCheck for the needed capabilites at the SD startup
Michal Rakowski [Thu, 9 Sep 2021 11:04:19 +0000 (13:04 +0200)] 
Check for the needed capabilites at the SD startup

2 years agoupdate autoconf
Michal Rakowski [Fri, 10 Sep 2021 15:45:51 +0000 (17:45 +0200)] 
update autoconf

2 years agoFix SQLite3 new Client::Plugins field
Eric Bollengier [Tue, 12 Oct 2021 08:18:03 +0000 (10:18 +0200)] 
Fix SQLite3 new Client::Plugins field

2 years agoregress: Add antivirus test
Norbert Bizet [Tue, 12 Oct 2021 09:57:51 +0000 (11:57 +0200)] 
regress: Add antivirus test

2 years agoEnhance plugin_verify_data_close() plugin interface
Eric Bollengier [Tue, 12 Oct 2021 07:14:13 +0000 (09:14 +0200)] 
Enhance plugin_verify_data_close() plugin interface

2 years agoFix windows compilation
Eric Bollengier [Mon, 11 Oct 2021 19:15:44 +0000 (21:15 +0200)] 
Fix windows compilation

2 years agoAdd support for PluginOptions
Eric Bollengier [Mon, 11 Oct 2021 08:27:08 +0000 (10:27 +0200)] 
Add support for PluginOptions

2 years agometaplugin: Add missing files.
Radosław Korzeniewski [Sat, 9 Oct 2021 15:51:13 +0000 (17:51 +0200)] 
metaplugin: Add missing files.

2 years agoFix src/plugins/dird/Makefile.in
Eric Bollengier [Sat, 9 Oct 2021 09:23:03 +0000 (11:23 +0200)] 
Fix src/plugins/dird/Makefile.in

2 years agoantivirus: Add Antivirus plugin with Clamav backend
Norbert Bizet [Fri, 8 Oct 2021 16:46:55 +0000 (12:46 -0400)] 
antivirus: Add Antivirus plugin with Clamav backend

2 years agoAdd simple send() function to bsockcore
Norbert Bizet [Fri, 8 Oct 2021 16:54:46 +0000 (12:54 -0400)] 
Add simple send() function to bsockcore

2 years agoAdd new SECURITY object to be stored in the catalog
Eric Bollengier [Fri, 8 Oct 2021 14:23:57 +0000 (16:23 +0200)] 
Add new SECURITY object to be stored in the catalog

2 years agoregress: Test both command line and menu in verify-plugin-test
Eric Bollengier [Fri, 8 Oct 2021 12:47:34 +0000 (14:47 +0200)] 
regress: Test both command line and menu in verify-plugin-test

2 years agoFix PluginOptions in the run menu interface
Eric Bollengier [Fri, 8 Oct 2021 12:47:13 +0000 (14:47 +0200)] 
Fix PluginOptions in the run menu interface

2 years agoAdd new plugin options to configure.in
Eric Bollengier [Thu, 7 Oct 2021 16:18:03 +0000 (18:18 +0200)] 
Add new plugin options to configure.in

 --with-antivirus

2 years agoregress: Add procedure to test verify plugin
Eric Bollengier [Thu, 7 Oct 2021 16:47:13 +0000 (18:47 +0200)] 
regress: Add procedure to test verify plugin

2 years agoAdd test-verify-fd plugin
Eric Bollengier [Mon, 11 Oct 2021 17:48:27 +0000 (19:48 +0200)] 
Add test-verify-fd plugin

2 years agoAdd new Verify Data plugin framework
Eric Bollengier [Thu, 7 Oct 2021 16:35:13 +0000 (18:35 +0200)] 
Add new Verify Data plugin framework

2 years agoAdd new Director plugin variables
Eric Bollengier [Thu, 7 Oct 2021 16:31:20 +0000 (18:31 +0200)] 
Add new Director plugin variables

  bDirVarWorkingDir
  bDirVarInfo

2 years agoAdd CustomerId Director::Director directive
Eric Bollengier [Thu, 7 Oct 2021 16:26:47 +0000 (18:26 +0200)] 
Add CustomerId Director::Director directive

2 years agoregress: Adapt metadata-test for new JSON output in .jlist command
Eric Bollengier [Thu, 7 Oct 2021 16:25:55 +0000 (18:25 +0200)] 
regress: Adapt metadata-test for new JSON output in .jlist command

2 years agopluginlib: Add dynamic file backup to Include{} in metaplugin.
Radosław Korzeniewski [Thu, 7 Oct 2021 15:32:28 +0000 (17:32 +0200)] 
pluginlib: Add dynamic file backup to Include{} in metaplugin.

Metaplugin now support dynamic Include{} block generation
with new `INCLUDE:/path/to/file` command. Now the backend
can ask Bacula to include additional files/directories in the backup
job saved by Bacula Core as it would be the standard user config.
These files can be saved with stripped location path which is useful
for some resources mounted locally (NFS) to remove local mount point
from the file name. This Path Strip feature can be configured at
compile time with `ADDINCLUDESTRIPOPTION` variable, setup globally
during `BackupStart` phase of the protocol for entire job or by file to
file basis with `STRIP:<int>` command.

2 years agoUpdate Plugin API code for FileSet management.
Radosław Korzeniewski [Thu, 7 Oct 2021 15:09:06 +0000 (17:09 +0200)] 
Update Plugin API code for FileSet management.

This patch removes the limit of dynamically created and managed
Include{} blocks using Bacula FD Plugin API. It fixes two main issues:
- New Include should always reset the state. It is basically done by
the Director executing "N" fileset command when giving information
about Fileset to backup. But for the dynamically created Includes
(by plugins) this state reset was never executed. Fixed.
- The AddInclude() has to deal with Bacula running the job (next file
to backup, other plugins, etc.), so the current `ff->incexe` variable
can change at any time. For this case it saves in its private context
the current include managed by the plugin. So the NewInclude(),
after the patch,  will switch include in private context to the newly
created, required by the plugin. Without it the newly created include
is lost for AddInclude(). Fixed.

2 years agometaplugin: Add AcceptFile() support.
Radosław Korzeniewski [Mon, 4 Oct 2021 19:57:50 +0000 (21:57 +0200)] 
metaplugin: Add AcceptFile() support.

It implements a new ACCEPT: command so you can query Bacula Fileset
to check if the file to backup should be accepted or skipped during
backup. The query operation is similar to accurate check available before.

2 years agoTweak status output to display plugin with their short names
Eric Bollengier [Mon, 4 Oct 2021 17:48:23 +0000 (19:48 +0200)] 
Tweak status output to display plugin with their short names

2 years agoregress: Test new APIv2 json output with status commands
Eric Bollengier [Mon, 4 Oct 2021 16:58:20 +0000 (18:58 +0200)] 
regress: Test new APIv2 json output with status commands

2 years agoAdd api v2 json output
Eric Bollengier [Mon, 4 Oct 2021 16:57:37 +0000 (18:57 +0200)] 
Add api v2 json output

bconsole
.api 2 api_opts=j
.status dir header

2 years agometaplugin: Add new STAT command flavour.
Radosław Korzeniewski [Mon, 4 Oct 2021 08:02:16 +0000 (10:02 +0200)] 
metaplugin: Add new STAT command flavour.

Now you can ask metaplugin to get all stat(2) field values using
an existing file as a template. In this case next TSTAT command
is not required.

2 years agometaplugin: Improve stderr handling from backend.
Radosław Korzeniewski [Tue, 28 Sep 2021 13:31:17 +0000 (15:31 +0200)] 
metaplugin: Improve stderr handling from backend.

2 years agoFix error message in list command
Eric Bollengier [Mon, 27 Sep 2021 13:11:43 +0000 (15:11 +0200)] 
Fix error message in list command

2 years agoregress: Adapt metadata-test with a simple fileset
Eric Bollengier [Mon, 27 Sep 2021 13:11:14 +0000 (15:11 +0200)] 
regress: Adapt metadata-test with a simple fileset

2 years agoregress: Add tests for MetaAttachment
Eric Bollengier [Thu, 23 Sep 2021 06:59:48 +0000 (08:59 +0200)] 
regress: Add tests for MetaAttachment

2 years agoAdd 'list metadata' help usage and add Name search for attachment
Eric Bollengier [Wed, 22 Sep 2021 16:11:38 +0000 (18:11 +0200)] 
Add 'list metadata' help usage and add Name search for attachment

2 years agoregress: Add tests for the list metadata command
Eric Bollengier [Wed, 22 Sep 2021 15:01:06 +0000 (17:01 +0200)] 
regress: Add tests for the list metadata command

2 years agoRename Client.Plugin to Client.Plugins
Eric Bollengier [Wed, 22 Sep 2021 15:00:38 +0000 (17:00 +0200)] 
Rename Client.Plugin to Client.Plugins

2 years agoAdd bconsole interface to metaxxx tables and rename Client.Plugin to Client.Plugins
Eric Bollengier [Wed, 22 Sep 2021 15:00:13 +0000 (17:00 +0200)] 
Add bconsole interface to metaxxx tables and rename Client.Plugin to Client.Plugins

2 years agoregress: first exclude expr regress
Jorge Gea [Mon, 20 Sep 2021 16:00:46 +0000 (18:00 +0200)] 
regress: first exclude expr regress

2 years agoAdd Size to Email/Attachment metadata
Jorge Gea [Tue, 21 Sep 2021 07:15:32 +0000 (09:15 +0200)] 
Add Size to Email/Attachment metadata

2 years agototp: Display the keyname on creation
Eric Bollengier [Fri, 17 Sep 2021 15:25:32 +0000 (17:25 +0200)] 
totp: Display the keyname on creation

2 years agoregress: Adapt for new btotp output
Eric Bollengier [Fri, 17 Sep 2021 11:51:40 +0000 (13:51 +0200)] 
regress: Adapt for new btotp output

2 years agoCleanup btotp output
Eric Bollengier [Fri, 17 Sep 2021 11:51:25 +0000 (13:51 +0200)] 
Cleanup btotp output

2 years agoTweak METAPLUGIN::perform_read_metadata_info() function
Eric Bollengier [Wed, 15 Sep 2021 10:17:45 +0000 (12:17 +0200)] 
Tweak METAPLUGIN::perform_read_metadata_info() function

2 years agoregress: Add procedure in test-plugin and metadata-test to check MetaEmail table
Eric Bollengier [Thu, 16 Sep 2021 10:50:20 +0000 (12:50 +0200)] 
regress: Add procedure in test-plugin and metadata-test to check MetaEmail table

2 years agoModify meta_pkt to always have a terminated buffer
Eric Bollengier [Wed, 15 Sep 2021 07:38:45 +0000 (09:38 +0200)] 
Modify meta_pkt to always have a terminated buffer

2 years agoScan metadata stream and insert into the catalog
Eric Bollengier [Wed, 15 Sep 2021 07:37:56 +0000 (09:37 +0200)] 
Scan metadata stream and insert into the catalog

2 years agoupdate LICENSE-FOSS with cJSON and base32
Eric Bollengier [Wed, 15 Sep 2021 07:31:00 +0000 (09:31 +0200)] 
update LICENSE-FOSS with cJSON and base32

2 years agoAdd cJSON lib
Eric Bollengier [Mon, 13 Sep 2021 14:11:10 +0000 (16:11 +0200)] 
Add cJSON lib

2 years agoregresss: Schedule accurate-only-meta tests
Eric Bollengier [Tue, 14 Sep 2021 14:28:51 +0000 (16:28 +0200)] 
regresss: Schedule accurate-only-meta tests

2 years agoReturn name instead of data for file pruning + indent + regress test correction
Arnaud Garin [Thu, 16 Sep 2021 11:44:56 +0000 (13:44 +0200)] 
Return name instead of data for file pruning + indent + regress test correction

2 years agoFrom printf to dmsg with relevant debug level + add lock system + finished regress...
Arnaud Garin [Wed, 15 Sep 2021 16:38:10 +0000 (18:38 +0200)] 
From printf to dmsg with relevant debug level  + add lock system + finished regress test

2 years agoUpdated help command + basic regress structure
Arnaud Garin [Wed, 15 Sep 2021 06:53:08 +0000 (08:53 +0200)] 
Updated help command + basic regress structure

2 years agoAdd new define keyword in common_fd + changed option -d for debug + check of argument...
Arnaud Garin [Tue, 14 Sep 2021 10:35:04 +0000 (12:35 +0200)] 
Add new define keyword in common_fd + changed option -d for debug + check of argument and store/search return

2 years agoParsing and Makefile fixes
Arnaud Garin [Mon, 13 Sep 2021 17:17:35 +0000 (19:17 +0200)] 
Parsing and Makefile fixes

2 years agobjoblist creation + parsing of command
Arnaud Garin [Mon, 13 Sep 2021 07:38:15 +0000 (09:38 +0200)] 
bjoblist creation + parsing of command

2 years agoFix error message in update_postgresql_tables_1023_to_1024
Eric Bollengier [Fri, 10 Sep 2021 14:51:50 +0000 (16:51 +0200)] 
Fix error message in update_postgresql_tables_1023_to_1024

2 years agoregress: Test events with the reload command
Eric Bollengier [Fri, 10 Sep 2021 10:22:10 +0000 (12:22 +0200)] 
regress: Test events with the reload command

2 years agoAdd events when reloading the configuration
Eric Bollengier [Fri, 10 Sep 2021 10:21:00 +0000 (12:21 +0200)] 
Add events when reloading the configuration

2 years agoregress: add test for After Job runscript
Michal Rakowski [Thu, 8 Jul 2021 10:55:05 +0000 (12:55 +0200)] 
regress: add test for After Job runscript

2 years agoFix #7266 About Failing Runscript after not aborting job
Michal Rakowski [Wed, 17 Feb 2021 07:27:42 +0000 (08:27 +0100)] 
Fix #7266 About Failing Runscript after not aborting job