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

2 years agoregress: Fix totp test with non default BASEPORT
Eric Bollengier [Mon, 6 Sep 2021 12:59:49 +0000 (14:59 +0200)] 
regress: Fix totp test with non default BASEPORT

2 years agoregress: update all-store-mngr-tests with recently added ones
Michal Rakowski [Fri, 3 Sep 2021 08:46:03 +0000 (10:46 +0200)] 
regress: update all-store-mngr-tests with recently added ones

2 years agoregress: add multi-dev freespace test
Michal Rakowski [Tue, 17 Aug 2021 21:16:48 +0000 (23:16 +0200)] 
regress: add multi-dev freespace test

2 years agoregress: add initial freespace test
Michal Rakowski [Thu, 12 Aug 2021 09:40:41 +0000 (11:40 +0200)] 
regress: add initial freespace test

2 years agoIntroduce 'FreeSpace' storage policy
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.

2 years agoupdate copyright year
Eric Bollengier [Fri, 30 Jun 2023 16:31:02 +0000 (18:31 +0200)] 
update copyright year

2 years agoregress: Test sendcommand for totp plugin
Eric Bollengier [Fri, 3 Sep 2021 13:08:28 +0000 (15:08 +0200)] 
regress: Test sendcommand for totp plugin

2 years agototp: Add %c variable for the console name in the sendcommand
Eric Bollengier [Fri, 3 Sep 2021 08:43:09 +0000 (10:43 +0200)] 
totp: Add %c variable for the console name in the sendcommand

2 years agoregress: Schedule TOTP plugin in CDASH
Eric Bollengier [Fri, 3 Sep 2021 07:51:06 +0000 (09:51 +0200)] 
regress: Schedule TOTP plugin in CDASH

2 years agoregress: Add option to dummy_bsmtp to not wait for input
Eric Bollengier [Fri, 3 Sep 2021 07:39:33 +0000 (09:39 +0200)] 
regress: Add option to dummy_bsmtp to not wait for input

2 years agoAllow to use edit_job_codes() without a JCR
Eric Bollengier [Tue, 31 Aug 2021 08:48:52 +0000 (10:48 +0200)] 
Allow to use edit_job_codes() without a JCR

2 years agoAdd ./configure option for the totp plugin
Eric Bollengier [Tue, 17 Aug 2021 15:46:55 +0000 (17:46 +0200)] 
Add ./configure option for the totp plugin

2 years agoAdd option to install totp plugin to ./configure
Eric Bollengier [Tue, 17 Aug 2021 15:40:17 +0000 (17:40 +0200)] 
Add option to install totp plugin to ./configure

2 years agoregress: Add totp-auth-plugin-test
Eric Bollengier [Tue, 17 Aug 2021 09:55:31 +0000 (11:55 +0200)] 
regress: Add totp-auth-plugin-test

2 years agoAdd TOTP Authentication plugin for the Director
Eric Bollengier [Fri, 3 Sep 2021 07:46:01 +0000 (09:46 +0200)] 
Add TOTP Authentication plugin for the Director

2 years agoAdd console name to the authentication plugin framework
Eric Bollengier [Fri, 3 Sep 2021 07:44:07 +0000 (09:44 +0200)] 
Add console name to the authentication plugin framework

2 years agoregress: Schedule base32-unitttest
Eric Bollengier [Fri, 13 Aug 2021 08:17:33 +0000 (10:17 +0200)] 
regress: Schedule base32-unitttest

2 years agoregress: Add unittest for base32 encoding
Eric Bollengier [Fri, 13 Aug 2021 08:17:19 +0000 (10:17 +0200)] 
regress: Add unittest for base32 encoding

2 years agoAdd bin_to_base32() function
Eric Bollengier [Fri, 13 Aug 2021 08:17:00 +0000 (10:17 +0200)] 
Add bin_to_base32() function

2 years agoregress: tweak runscript-test
Michal Rakowski [Fri, 2 Jul 2021 08:09:58 +0000 (10:09 +0200)] 
regress: tweak runscript-test

2 years agoAdd Plugin field to sqlite backend
Eric Bollengier [Thu, 12 Aug 2021 09:48:33 +0000 (11:48 +0200)] 
Add Plugin field to sqlite backend

2 years agoAdd Plugin field in SQL Client table
Eric Bollengier [Thu, 12 Aug 2021 09:47:15 +0000 (11:47 +0200)] 
Add Plugin field in SQL Client table

2 years agoregress: Add list-plugin-test
Eric Bollengier [Thu, 12 Aug 2021 09:46:53 +0000 (11:46 +0200)] 
regress: Add list-plugin-test

2 years agoFix memory problem in bpipe plugin
Eric Bollengier [Wed, 26 May 2021 08:30:21 +0000 (10:30 +0200)] 
Fix memory problem in bpipe plugin

2 years agoregress: Add test for purgin job by its name
Michal Rakowski [Tue, 16 Feb 2021 16:14:37 +0000 (17:14 +0100)] 
regress: Add test for purgin job by its name

2 years agobgit: report unknow branch with a friendly message instead of a stacktrace
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

2 years agoAdd new Makefile to ./configure.in
Eric Bollengier [Thu, 10 Dec 2020 19:05:01 +0000 (20:05 +0100)] 
Add new Makefile to ./configure.in

2 years agoFix compilation on FreeBSD again
Eric Bollengier [Fri, 26 May 2023 20:37:08 +0000 (22:37 +0200)] 
Fix compilation on FreeBSD again

2 years agoFix compilation on FreeBSD
Eric Bollengier [Fri, 26 May 2023 12:54:16 +0000 (14:54 +0200)] 
Fix compilation on FreeBSD

2 years agoupdate releasenotes and version Release-13.0.3
Eric Bollengier [Tue, 2 May 2023 07:53:26 +0000 (09:53 +0200)] 
update releasenotes and version

2 years agoFix #10032 Allow restore menu 1 to users without sqlquery command ACL
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

2 years agoFix #10033 Add extra Client and FileSet ACL checks to the estimate command
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

2 years agoTake the first valid FileSet for the restore Job with restricted consoles
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

2 years agoregress: add more checks to console-acl-test
Eric Bollengier [Tue, 4 Apr 2023 11:07:39 +0000 (13:07 +0200)] 
regress: add more checks to console-acl-test

2 years agoRestrict the use of local files during the restore file selection process when using...
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.

2 years agoDisable Bootstrap manual selection in restore for Restricted Console
Eric Bollengier [Tue, 4 Apr 2023 09:57:10 +0000 (11:57 +0200)] 
Disable Bootstrap manual selection in restore for Restricted Console

2 years agoFix #10030 About small issue while canceling the restore command
Eric Bollengier [Tue, 4 Apr 2023 06:35:26 +0000 (08:35 +0200)] 
Fix #10030 About small issue while canceling the restore command

2 years agoFix issue in select_backups_before_date()
Eric Bollengier [Mon, 3 Apr 2023 15:30:34 +0000 (17:30 +0200)] 
Fix issue in select_backups_before_date()

2 years agoFix small memory leak with setbandwidth command
Eric Bollengier [Tue, 28 Mar 2023 15:39:01 +0000 (17:39 +0200)] 
Fix small memory leak with setbandwidth command

2 years agoCheck ClientACL in acl_access_jobid_ok()
Eric Bollengier [Tue, 28 Mar 2023 13:09:02 +0000 (15:09 +0200)] 
Check ClientACL in acl_access_jobid_ok()

2 years agoFix #9907 About Director crash with Runscript Console
Eric Bollengier [Mon, 27 Feb 2023 10:24:48 +0000 (11:24 +0100)] 
Fix #9907 About Director crash with Runscript Console

2 years agoregress: Fix restore-by-file-tape
Eric Bollengier [Mon, 27 Mar 2023 13:36:31 +0000 (15:36 +0200)] 
regress: Fix restore-by-file-tape

Remove duplicated stop_bacula call

2 years agoregress: Fix maxtime-test for dedup
Eric Bollengier [Fri, 24 Mar 2023 06:36:31 +0000 (07:36 +0100)] 
regress: Fix maxtime-test for dedup

2 years agoDo not display specific SQL errors to restricted consoles
Eric Bollengier [Thu, 23 Mar 2023 18:09:08 +0000 (19:09 +0100)] 
Do not display specific SQL errors to restricted consoles

2 years agoregress: Add test for restart jobid=x
Eric Bollengier [Wed, 22 Mar 2023 16:10:59 +0000 (17:10 +0100)] 
regress: Add test for restart jobid=x

2 years agoregress: Add test for purge jobs jobid=x with ACLs
Eric Bollengier [Wed, 22 Mar 2023 14:08:25 +0000 (15:08 +0100)] 
regress: Add test for purge jobs jobid=x with ACLs

2 years agoCheck client ACL on purge jobid=x
Eric Bollengier [Wed, 22 Mar 2023 13:54:53 +0000 (14:54 +0100)] 
Check client ACL on purge jobid=x

2 years agoAdd Client to JOB_DBR to ease ACL checking
Eric Bollengier [Wed, 22 Mar 2023 13:54:31 +0000 (14:54 +0100)] 
Add Client to JOB_DBR to ease ACL checking

2 years agoFix #9968 Adapt delete volume with restricted consoles
Eric Bollengier [Tue, 21 Mar 2023 19:46:38 +0000 (20:46 +0100)] 
Fix #9968 Adapt delete volume with restricted consoles

2 years agoregress: Add test for delete volume and list jobmedia 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

2 years agoFix #9968 Adapt restore menu and add RBCLIENT/BCLIENT in some ACL SQL checking
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

2 years agoregress: Add restore tests
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