]>
git.ipfire.org Git - thirdparty/bacula.git/log
Radosław Korzeniewski [Tue, 19 Oct 2021 15:43:34 +0000 (17:43 +0200)]
pluginlib: Fix pluginclass accurate mode handling.
Radosław Korzeniewski [Tue, 19 Oct 2021 15:43:05 +0000 (17:43 +0200)]
pluginlib: Update execprog class.
Radosław Korzeniewski [Fri, 15 Oct 2021 13:44:37 +0000 (15:44 +0200)]
Fix regression in smart_alist.
Radosław Korzeniewski [Thu, 14 Oct 2021 15:26:31 +0000 (17:26 +0200)]
Add copy operator to smartalist.
Radosław Korzeniewski [Thu, 14 Oct 2021 15:25:42 +0000 (17:25 +0200)]
pluginclass: Fix command parsing.
Radosław Korzeniewski [Thu, 16 Sep 2021 11:22:33 +0000 (13:22 +0200)]
pluginlib: Create plugin base framework for FD Plugins.
Radosław Korzeniewski [Thu, 16 Sep 2021 11:16:55 +0000 (13:16 +0200)]
Update pluginlib build.
Michal Rakowski [Mon, 18 Oct 2021 21:25:01 +0000 (23:25 +0200)]
regress: add fd-allowed-restore-dir-test
Michal Rakowski [Mon, 18 Oct 2021 21:27:51 +0000 (23:27 +0200)]
Add 'AllowedRestoreDirectories' directive for the FD
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.
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
Michal Rakowski [Sat, 23 Oct 2021 19:46:25 +0000 (21:46 +0200)]
regress: add fd-excluded-backup-dir-test
Michal Rakowski [Wed, 20 Oct 2021 21:22:14 +0000 (23:22 +0200)]
Add ExcludedBackupDirectories FD directive
Arnaud Garin [Fri, 22 Oct 2021 12:49:24 +0000 (14:49 +0200)]
regress: Add bjoblist-test
Arnaud Garin [Fri, 22 Oct 2021 12:46:12 +0000 (14:46 +0200)]
Fix typo in bjoblist
Eric Bollengier [Mon, 18 Oct 2021 20:17:27 +0000 (22:17 +0200)]
Add update_..._tables_1024_to_1025 to ./configure.in
Eric Bollengier [Mon, 18 Oct 2021 18:53:33 +0000 (20:53 +0200)]
Use transation to create PostgreSQL schema
Norbert Bizet [Mon, 18 Oct 2021 14:51:09 +0000 (10:51 -0400)]
regress: Fix antivirus regression test header
Michal Rakowski [Fri, 15 Oct 2021 08:39:01 +0000 (10:39 +0200)]
regress: add fd-allowed-scripts-dirs-test
Michal Rakowski [Fri, 15 Oct 2021 15:52:52 +0000 (17:52 +0200)]
Extend 'berrno' class with Bacula-specific error handling
Norbert Bizet [Tue, 12 Oct 2021 13:42:20 +0000 (09:42 -0400)]
antivirus regress test. Install antivirus before running test.
Eric Bollengier [Mon, 18 Oct 2021 13:39:56 +0000 (15:39 +0200)]
Tweak updatedb scripts
Eric Bollengier [Fri, 15 Oct 2021 13:47:04 +0000 (15:47 +0200)]
Update SQL scripts for version 1025
Eric Bollengier [Fri, 15 Oct 2021 11:50:05 +0000 (13:50 +0200)]
totp-bpam: Add support for qrencode 3.x on Redhat
Eric Bollengier [Fri, 15 Oct 2021 09:13:32 +0000 (11:13 +0200)]
Fix compilation when LZO is not available
Eric Bollengier [Thu, 14 Oct 2021 14:01:12 +0000 (16:01 +0200)]
Fix zstd issue in ./configure.in
Eric Bollengier [Thu, 14 Oct 2021 12:21:32 +0000 (14:21 +0200)]
rpms: Add dependency for libzstd
Eric Bollengier [Thu, 14 Oct 2021 12:21:13 +0000 (14:21 +0200)]
Fix compilation warnings
Michal Rakowski [Wed, 13 Oct 2021 16:59:41 +0000 (18:59 +0200)]
Fix append/immutable compilation problem for Windows
Michal Rakowski [Wed, 13 Oct 2021 16:59:25 +0000 (18:59 +0200)]
update autoconf
Eric Bollengier [Wed, 13 Oct 2021 15:40:17 +0000 (17:40 +0200)]
regress: Schedule ZSTD test in CDASH
Eric Bollengier [Wed, 13 Oct 2021 15:30:05 +0000 (17:30 +0200)]
Add ZSTD to Windows build
Eric Bollengier [Wed, 13 Oct 2021 11:56:57 +0000 (13:56 +0200)]
Tweak ZSTD detection in configure.in
Eric Bollengier [Tue, 12 Oct 2021 15:29:32 +0000 (17:29 +0200)]
regress: Add zstd-test
Eric Bollengier [Tue, 12 Oct 2021 15:28:58 +0000 (17:28 +0200)]
Add ZSTD compression support
Eric Bollengier [Wed, 13 Oct 2021 15:03:21 +0000 (17:03 +0200)]
Fix postgresql catalog creation script
Michal Rakowski [Mon, 20 Sep 2021 19:39:31 +0000 (21:39 +0200)]
regress: add fd-allowed-backup-dir-test
Michal Rakowski [Mon, 20 Sep 2021 19:23:34 +0000 (21:23 +0200)]
Add 'AllowedBackupDir' FD directive
Alain Spineux [Fri, 8 Oct 2021 12:23:58 +0000 (14:23 +0200)]
fix memory leak in ProgressCounter
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.
Michal Rakowski [Thu, 2 Sep 2021 14:32:52 +0000 (16:32 +0200)]
Add support for the APPEND and IMMUTABLE flags for File Volumes
Michal Rakowski [Thu, 9 Sep 2021 11:04:19 +0000 (13:04 +0200)]
Check for the needed capabilites at the SD startup
Michal Rakowski [Fri, 10 Sep 2021 15:45:51 +0000 (17:45 +0200)]
update autoconf
Eric Bollengier [Tue, 12 Oct 2021 08:18:03 +0000 (10:18 +0200)]
Fix SQLite3 new Client::Plugins field
Norbert Bizet [Tue, 12 Oct 2021 09:57:51 +0000 (11:57 +0200)]
regress: Add antivirus test
Eric Bollengier [Tue, 12 Oct 2021 07:14:13 +0000 (09:14 +0200)]
Enhance plugin_verify_data_close() plugin interface
Eric Bollengier [Mon, 11 Oct 2021 19:15:44 +0000 (21:15 +0200)]
Fix windows compilation
Eric Bollengier [Mon, 11 Oct 2021 08:27:08 +0000 (10:27 +0200)]
Add support for PluginOptions
Radosław Korzeniewski [Sat, 9 Oct 2021 15:51:13 +0000 (17:51 +0200)]
metaplugin: Add missing files.
Eric Bollengier [Sat, 9 Oct 2021 09:23:03 +0000 (11:23 +0200)]
Fix src/plugins/dird/Makefile.in
Norbert Bizet [Fri, 8 Oct 2021 16:46:55 +0000 (12:46 -0400)]
antivirus: Add Antivirus plugin with Clamav backend
Norbert Bizet [Fri, 8 Oct 2021 16:54:46 +0000 (12:54 -0400)]
Add simple send() function to bsockcore
Eric Bollengier [Fri, 8 Oct 2021 14:23:57 +0000 (16:23 +0200)]
Add new SECURITY object to be stored in the catalog
Eric Bollengier [Fri, 8 Oct 2021 12:47:34 +0000 (14:47 +0200)]
regress: Test both command line and menu in verify-plugin-test
Eric Bollengier [Fri, 8 Oct 2021 12:47:13 +0000 (14:47 +0200)]
Fix PluginOptions in the run menu interface
Eric Bollengier [Thu, 7 Oct 2021 16:18:03 +0000 (18:18 +0200)]
Add new plugin options to configure.in
--with-antivirus
Eric Bollengier [Thu, 7 Oct 2021 16:47:13 +0000 (18:47 +0200)]
regress: Add procedure to test verify plugin
Eric Bollengier [Mon, 11 Oct 2021 17:48:27 +0000 (19:48 +0200)]
Add test-verify-fd plugin
Eric Bollengier [Thu, 7 Oct 2021 16:35:13 +0000 (18:35 +0200)]
Add new Verify Data plugin framework
Eric Bollengier [Thu, 7 Oct 2021 16:31:20 +0000 (18:31 +0200)]
Add new Director plugin variables
bDirVarWorkingDir
bDirVarInfo
Eric Bollengier [Thu, 7 Oct 2021 16:26:47 +0000 (18:26 +0200)]
Add CustomerId Director::Director directive
Eric Bollengier [Thu, 7 Oct 2021 16:25:55 +0000 (18:25 +0200)]
regress: Adapt metadata-test for new JSON output in .jlist command
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.
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.
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.
Eric Bollengier [Mon, 4 Oct 2021 17:48:23 +0000 (19:48 +0200)]
Tweak status output to display plugin with their short names
Eric Bollengier [Mon, 4 Oct 2021 16:58:20 +0000 (18:58 +0200)]
regress: Test new APIv2 json output with status commands
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
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.
Radosław Korzeniewski [Tue, 28 Sep 2021 13:31:17 +0000 (15:31 +0200)]
metaplugin: Improve stderr handling from backend.
Eric Bollengier [Mon, 27 Sep 2021 13:11:43 +0000 (15:11 +0200)]
Fix error message in list command
Eric Bollengier [Mon, 27 Sep 2021 13:11:14 +0000 (15:11 +0200)]
regress: Adapt metadata-test with a simple fileset
Eric Bollengier [Thu, 23 Sep 2021 06:59:48 +0000 (08:59 +0200)]
regress: Add tests for MetaAttachment
Eric Bollengier [Wed, 22 Sep 2021 16:11:38 +0000 (18:11 +0200)]
Add 'list metadata' help usage and add Name search for attachment
Eric Bollengier [Wed, 22 Sep 2021 15:01:06 +0000 (17:01 +0200)]
regress: Add tests for the list metadata command
Eric Bollengier [Wed, 22 Sep 2021 15:00:38 +0000 (17:00 +0200)]
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
Jorge Gea [Mon, 20 Sep 2021 16:00:46 +0000 (18:00 +0200)]
regress: first exclude expr regress
Jorge Gea [Tue, 21 Sep 2021 07:15:32 +0000 (09:15 +0200)]
Add Size to Email/Attachment metadata
Eric Bollengier [Fri, 17 Sep 2021 15:25:32 +0000 (17:25 +0200)]
totp: Display the keyname on creation
Eric Bollengier [Fri, 17 Sep 2021 11:51:40 +0000 (13:51 +0200)]
regress: Adapt for new btotp output
Eric Bollengier [Fri, 17 Sep 2021 11:51:25 +0000 (13:51 +0200)]
Cleanup btotp output
Eric Bollengier [Wed, 15 Sep 2021 10:17:45 +0000 (12:17 +0200)]
Tweak METAPLUGIN::perform_read_metadata_info() function
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
Eric Bollengier [Wed, 15 Sep 2021 07:38:45 +0000 (09:38 +0200)]
Modify meta_pkt to always have a terminated buffer
Eric Bollengier [Wed, 15 Sep 2021 07:37:56 +0000 (09:37 +0200)]
Scan metadata stream and insert into the catalog
Eric Bollengier [Wed, 15 Sep 2021 07:31:00 +0000 (09:31 +0200)]
update LICENSE-FOSS with cJSON and base32
Eric Bollengier [Mon, 13 Sep 2021 14:11:10 +0000 (16:11 +0200)]
Add cJSON lib
Eric Bollengier [Tue, 14 Sep 2021 14:28:51 +0000 (16:28 +0200)]
regresss: Schedule accurate-only-meta tests
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
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
Arnaud Garin [Wed, 15 Sep 2021 06:53:08 +0000 (08:53 +0200)]
Updated help command + basic regress structure
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
Arnaud Garin [Mon, 13 Sep 2021 17:17:35 +0000 (19:17 +0200)]
Parsing and Makefile fixes
Arnaud Garin [Mon, 13 Sep 2021 07:38:15 +0000 (09:38 +0200)]
bjoblist creation + parsing of command
Eric Bollengier [Fri, 10 Sep 2021 14:51:50 +0000 (16:51 +0200)]
Fix error message in update_postgresql_tables_1023_to_1024
Eric Bollengier [Fri, 10 Sep 2021 10:22:10 +0000 (12:22 +0200)]
regress: Test events with the reload command
Eric Bollengier [Fri, 10 Sep 2021 10:21:00 +0000 (12:21 +0200)]
Add events when reloading the configuration
Michal Rakowski [Thu, 8 Jul 2021 10:55:05 +0000 (12:55 +0200)]
regress: add test for After Job runscript
Michal Rakowski [Wed, 17 Feb 2021 07:27:42 +0000 (08:27 +0100)]
Fix #7266 About Failing Runscript after not aborting job