]>
git.ipfire.org Git - thirdparty/bacula.git/log
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
Eric Bollengier [Mon, 6 Sep 2021 12:59:49 +0000 (14:59 +0200)]
regress: Fix totp test with non default BASEPORT
Michal Rakowski [Fri, 3 Sep 2021 08:46:03 +0000 (10:46 +0200)]
regress: update all-store-mngr-tests with recently added ones
Michal Rakowski [Tue, 17 Aug 2021 21:16:48 +0000 (23:16 +0200)]
regress: add multi-dev freespace test
Michal Rakowski [Thu, 12 Aug 2021 09:40:41 +0000 (11:40 +0200)]
regress: add initial freespace test
Michal Rakowski [Tue, 27 Jul 2021 20:58:16 +0000 (22:58 +0200)]
Introduce 'FreeSpace' storage policy
This policy queries each SD in the list for its FreeSpace
(as a sum of devices specified in the SD config)
and sort the list by FreeSpace returned.
Eric Bollengier [Fri, 30 Jun 2023 16:31:02 +0000 (18:31 +0200)]
update copyright year
Eric Bollengier [Fri, 3 Sep 2021 13:08:28 +0000 (15:08 +0200)]
regress: Test sendcommand for totp plugin
Eric Bollengier [Fri, 3 Sep 2021 08:43:09 +0000 (10:43 +0200)]
totp: Add %c variable for the console name in the sendcommand
Eric Bollengier [Fri, 3 Sep 2021 07:51:06 +0000 (09:51 +0200)]
regress: Schedule TOTP plugin in CDASH
Eric Bollengier [Fri, 3 Sep 2021 07:39:33 +0000 (09:39 +0200)]
regress: Add option to dummy_bsmtp to not wait for input
Eric Bollengier [Tue, 31 Aug 2021 08:48:52 +0000 (10:48 +0200)]
Allow to use edit_job_codes() without a JCR
Eric Bollengier [Tue, 17 Aug 2021 15:46:55 +0000 (17:46 +0200)]
Add ./configure option for the totp plugin
Eric Bollengier [Tue, 17 Aug 2021 15:40:17 +0000 (17:40 +0200)]
Add option to install totp plugin to ./configure
Eric Bollengier [Tue, 17 Aug 2021 09:55:31 +0000 (11:55 +0200)]
regress: Add totp-auth-plugin-test
Eric Bollengier [Fri, 3 Sep 2021 07:46:01 +0000 (09:46 +0200)]
Add TOTP Authentication plugin for the Director
Eric Bollengier [Fri, 3 Sep 2021 07:44:07 +0000 (09:44 +0200)]
Add console name to the authentication plugin framework
Eric Bollengier [Fri, 13 Aug 2021 08:17:33 +0000 (10:17 +0200)]
regress: Schedule base32-unitttest
Eric Bollengier [Fri, 13 Aug 2021 08:17:19 +0000 (10:17 +0200)]
regress: Add unittest for base32 encoding
Eric Bollengier [Fri, 13 Aug 2021 08:17:00 +0000 (10:17 +0200)]
Add bin_to_base32() function
Michal Rakowski [Fri, 2 Jul 2021 08:09:58 +0000 (10:09 +0200)]
regress: tweak runscript-test
Eric Bollengier [Thu, 12 Aug 2021 09:48:33 +0000 (11:48 +0200)]
Add Plugin field to sqlite backend
Eric Bollengier [Thu, 12 Aug 2021 09:47:15 +0000 (11:47 +0200)]
Add Plugin field in SQL Client table
Eric Bollengier [Thu, 12 Aug 2021 09:46:53 +0000 (11:46 +0200)]
regress: Add list-plugin-test
Eric Bollengier [Wed, 26 May 2021 08:30:21 +0000 (10:30 +0200)]
Fix memory problem in bpipe plugin
Michal Rakowski [Tue, 16 Feb 2021 16:14:37 +0000 (17:14 +0100)]
regress: Add test for purgin job by its name
Alain Spineux [Fri, 22 Jan 2021 10:26:34 +0000 (11:26 +0100)]
bgit: report unknow branch with a friendly message instead of a stacktrace
Eric Bollengier [Thu, 10 Dec 2020 19:05:01 +0000 (20:05 +0100)]
Add new Makefile to ./configure.in
Eric Bollengier [Fri, 26 May 2023 20:37:08 +0000 (22:37 +0200)]
Fix compilation on FreeBSD again
Eric Bollengier [Fri, 26 May 2023 12:54:16 +0000 (14:54 +0200)]
Fix compilation on FreeBSD
Eric Bollengier [Tue, 2 May 2023 07:53:26 +0000 (09:53 +0200)]
update releasenotes and version
Eric Bollengier [Tue, 4 Apr 2023 14:17:15 +0000 (16:17 +0200)]
Fix #10032 Allow restore menu 1 to users without sqlquery command ACL
Eric Bollengier [Tue, 4 Apr 2023 13:23:25 +0000 (15:23 +0200)]
Fix #10033 Add extra Client and FileSet ACL checks to the estimate command
Eric Bollengier [Tue, 4 Apr 2023 12:49:00 +0000 (14:49 +0200)]
Take the first valid FileSet for the restore Job with restricted consoles
Eric Bollengier [Tue, 4 Apr 2023 11:07:39 +0000 (13:07 +0200)]
regress: add more checks to console-acl-test
Eric Bollengier [Tue, 4 Apr 2023 09:58:16 +0000 (11:58 +0200)]
Restrict the use of local files during the restore file selection process when using a Restricted Console
In different restore menus, it is possible to fill a list of files to restore
from a local file. It is now not authorized from Restricted Console.
Eric Bollengier [Tue, 4 Apr 2023 09:57:10 +0000 (11:57 +0200)]
Disable Bootstrap manual selection in restore for Restricted Console
Eric Bollengier [Tue, 4 Apr 2023 06:35:26 +0000 (08:35 +0200)]
Fix #10030 About small issue while canceling the restore command
Eric Bollengier [Mon, 3 Apr 2023 15:30:34 +0000 (17:30 +0200)]
Fix issue in select_backups_before_date()
Eric Bollengier [Tue, 28 Mar 2023 15:39:01 +0000 (17:39 +0200)]
Fix small memory leak with setbandwidth command
Eric Bollengier [Tue, 28 Mar 2023 13:09:02 +0000 (15:09 +0200)]
Check ClientACL in acl_access_jobid_ok()
Eric Bollengier [Mon, 27 Feb 2023 10:24:48 +0000 (11:24 +0100)]
Fix #9907 About Director crash with Runscript Console
Eric Bollengier [Mon, 27 Mar 2023 13:36:31 +0000 (15:36 +0200)]
regress: Fix restore-by-file-tape
Remove duplicated stop_bacula call
Eric Bollengier [Fri, 24 Mar 2023 06:36:31 +0000 (07:36 +0100)]
regress: Fix maxtime-test for dedup
Eric Bollengier [Thu, 23 Mar 2023 18:09:08 +0000 (19:09 +0100)]
Do not display specific SQL errors to restricted consoles
Eric Bollengier [Wed, 22 Mar 2023 16:10:59 +0000 (17:10 +0100)]
regress: Add test for restart jobid=x
Eric Bollengier [Wed, 22 Mar 2023 14:08:25 +0000 (15:08 +0100)]
regress: Add test for purge jobs jobid=x with ACLs
Eric Bollengier [Wed, 22 Mar 2023 13:54:53 +0000 (14:54 +0100)]
Check client ACL on purge jobid=x
Eric Bollengier [Wed, 22 Mar 2023 13:54:31 +0000 (14:54 +0100)]
Add Client to JOB_DBR to ease ACL checking
Eric Bollengier [Tue, 21 Mar 2023 19:46:38 +0000 (20:46 +0100)]
Fix #9968 Adapt delete volume with restricted consoles
Eric Bollengier [Tue, 21 Mar 2023 19:46:09 +0000 (20:46 +0100)]
regress: Add test for delete volume and list jobmedia with restricted consoles
Eric Bollengier [Tue, 21 Mar 2023 10:17:21 +0000 (11:17 +0100)]
Fix #9968 Adapt restore menu and add RBCLIENT/BCLIENT in some ACL SQL checking
- menu 9
- menu 8
- menu 12
- menu 13
Eric Bollengier [Tue, 21 Mar 2023 10:16:46 +0000 (11:16 +0100)]
regress: Add restore tests
- menu 9
- menu 8
- menu 12
- menu 13