]> git.ipfire.org Git - thirdparty/bacula.git/log
thirdparty/bacula.git
2 years agosystemd unit file fixes fix-systemd 1/head
Mark Felder [Mon, 4 Sep 2023 13:43:04 +0000 (09:43 -0400)] 
systemd unit file fixes

bacula-sd was not able to run at all as it only tested config and exited

bacula-fd and bacula-dir were using the foreground option, but should have Type=exec which is the current best practice as of systemd 240 [1]

[1] https://github.com/systemd/systemd/commit/fcb975129693d2d82dafb839fa66b9ac027bb080

2 years agoFix bacula-sd systemd unit
Mark Felder [Sun, 3 Sep 2023 18:20:15 +0000 (14:20 -0400)] 
Fix bacula-sd systemd unit

- no @piddir, no pidfile required for systemd, so don't try to create one or it will fail
- the -t flag only tests the config and prevents the service from starting
- the -v flag gets us useful logs into the systemd journal if there is a problem with the configuration

The service could not work at all without adding the -P flag and removing the -t flag

2 years agobaculum: Speed up dashboard page loading
Marcin Haba [Sat, 15 Jul 2023 17:38:38 +0000 (19:38 +0200)] 
baculum: Speed up dashboard page loading

This change is ported from Bacularis.

This slow dashboard problem was reported by Yakup Kaya on bacula-users mailing list:
https://sourceforge.net/p/bacula/mailman/bacula-users/thread/cb8a6ea35db8404f964bf32f67baa7c5%40indra-avitech.aero/#msg37870165

2 years agobaculum: Fix parsing director time in time endpoint
Marcin Haba [Thu, 13 Jul 2023 06:22:36 +0000 (08:22 +0200)] 
baculum: Fix parsing director time in time endpoint

2 years agobaculum: Add objecttype parameter to object categories endpoint
Marcin Haba [Mon, 10 Jul 2023 13:00:16 +0000 (15:00 +0200)] 
baculum: Add objecttype parameter to object categories endpoint

2 years agoAdd sorting by objectcategory in objects overview endpoint
Marcin Haba [Mon, 10 Jul 2023 12:34:56 +0000 (14:34 +0200)] 
Add sorting by objectcategory in objects overview endpoint

2 years agoAdd sorting by fileset in objects overview endpoint
Marcin Haba [Mon, 10 Jul 2023 11:30:43 +0000 (13:30 +0200)] 
Add sorting by fileset in objects overview endpoint

2 years agobaculum: Add second dimensional sorting and use it for sorting jobstatus in sources...
Marcin Haba [Fri, 7 Jul 2023 11:52:14 +0000 (13:52 +0200)] 
baculum: Add second dimensional sorting and use it for sorting jobstatus in sources overview endpoint

2 years agobaculum: Add modify default object sorting in object overview endpoint
Marcin Haba [Thu, 6 Jul 2023 14:49:12 +0000 (16:49 +0200)] 
baculum: Add modify default object sorting in object overview endpoint

2 years agobaculum: Fix support for PHP 5.4 in web interface layer
Marcin Haba [Tue, 4 Jul 2023 07:56:11 +0000 (09:56 +0200)] 
baculum: Fix support for PHP 5.4 in web interface layer

2 years agobaculum: Tweak remove not used getting db connection
Marcin Haba [Tue, 4 Jul 2023 06:42:18 +0000 (08:42 +0200)] 
baculum: Tweak remove not used getting db connection

2 years agobaculum: Update release notes
Marcin Haba [Tue, 4 Jul 2023 06:17:48 +0000 (08:17 +0200)] 
baculum: Update release notes

2 years agobaculum: Fix content field in job record
Marcin Haba [Mon, 3 Jul 2023 13:35:21 +0000 (15:35 +0200)] 
baculum: Fix content field in job record

2 years agobaculum: Improve support for newer PostgreSQL versions
Marcin Haba [Mon, 3 Jul 2023 11:14:07 +0000 (13:14 +0200)] 
baculum: Improve support for newer PostgreSQL versions

This change is ported from Bacularis.

2 years agobaculum: Update version and release notes
Marcin Haba [Mon, 3 Jul 2023 09:56:02 +0000 (11:56 +0200)] 
baculum: Update version and release notes

2 years agobaculum: Add fileset content property to jobs endpoint
Marcin Haba [Fri, 30 Jun 2023 11:23:35 +0000 (13:23 +0200)] 
baculum: Add fileset content property to jobs endpoint

2 years agobaculum: Add object categories endpoint
Marcin Haba [Thu, 29 Jun 2023 14:25:47 +0000 (16:25 +0200)] 
baculum: Add object categories endpoint

2 years agobaculum: Add support for ALL action in console ACL
Marcin Haba [Thu, 29 Jun 2023 10:02:13 +0000 (12:02 +0200)] 
baculum: Add support for ALL action in console ACL

2 years agobaculum: Add objecttype filter to objects names endpoint
Marcin Haba [Wed, 28 Jun 2023 14:45:12 +0000 (16:45 +0200)] 
baculum: Add objecttype filter to objects names endpoint

2 years agobaculum: Add default sorting by endtime to objects overview endpoint
Marcin Haba [Wed, 28 Jun 2023 09:04:32 +0000 (11:04 +0200)] 
baculum: Add default sorting by endtime to objects overview endpoint

2 years agobaculum: Tweak remove not needed applying jobdefs
Marcin Haba [Tue, 27 Jun 2023 13:38:17 +0000 (15:38 +0200)] 
baculum: Tweak remove not needed applying jobdefs

2 years agobaculum: Add sorting parameters to volumes overview endpoint
Marcin Haba [Mon, 26 Jun 2023 09:00:44 +0000 (11:00 +0200)] 
baculum: Add sorting parameters to volumes overview endpoint

2 years agobaculum: Tweak add space in multi-dimensional sorting clause
Marcin Haba [Mon, 26 Jun 2023 08:49:29 +0000 (10:49 +0200)] 
baculum: Tweak add space in multi-dimensional sorting clause

2 years agobaculum: Add second dimension of sorting in jobs objects endpoint
Marcin Haba [Mon, 26 Jun 2023 07:23:30 +0000 (09:23 +0200)] 
baculum: Add second dimension of sorting in jobs objects endpoint

2 years agobaculum: Add offset and limit parameters to director status endpoint
Marcin Haba [Wed, 21 Jun 2023 08:36:46 +0000 (10:36 +0200)] 
baculum: Add offset and limit parameters to director status endpoint

2 years agobaculum: Add sorting by endtime and add endtime property to objects overview endpoint
Marcin Haba [Wed, 21 Jun 2023 06:32:41 +0000 (08:32 +0200)] 
baculum: Add sorting by endtime and add endtime property to objects overview endpoint

2 years agobaculum: Add group_order_by and group_order_direction parameters to documentation
Marcin Haba [Tue, 20 Jun 2023 11:10:27 +0000 (13:10 +0200)] 
baculum: Add group_order_by and group_order_direction parameters to documentation

2 years agobaculum: Add notes about object type filters in objects overview endpoint
Marcin Haba [Thu, 15 Jun 2023 14:50:14 +0000 (16:50 +0200)] 
baculum: Add notes about object type filters in objects overview endpoint

2 years agobaculum: Fix storing ACL config actions for very old PHP versions
Marcin Haba [Thu, 15 Jun 2023 08:43:17 +0000 (10:43 +0200)] 
baculum: Fix storing ACL config actions for very old PHP versions

2 years agobaculum: Add objectsize property to objects overview endpoint
Marcin Haba [Wed, 14 Jun 2023 14:07:56 +0000 (16:07 +0200)] 
baculum: Add objectsize property to objects overview endpoint

2 years agobaculum: Add job type property to objects overview endpoint
Marcin Haba [Wed, 14 Jun 2023 13:29:14 +0000 (15:29 +0200)] 
baculum: Add job type property to objects overview endpoint

2 years agobaculum: Add path property to objects overview endpoint
Marcin Haba [Wed, 14 Jun 2023 13:08:37 +0000 (15:08 +0200)] 
baculum: Add path property to objects overview endpoint

2 years agobaculum: Fix offset and limit parameter in jobs objects endpoint
Marcin Haba [Wed, 14 Jun 2023 12:55:13 +0000 (14:55 +0200)] 
baculum: Fix offset and limit parameter in jobs objects endpoint

2 years agobaculum: Add objectname parameter to jobs objects endpoint
Marcin Haba [Wed, 14 Jun 2023 11:21:45 +0000 (13:21 +0200)] 
baculum: Add objectname parameter to jobs objects endpoint

2 years agobaculum: Add objectsource property to objects overview endpoint
Marcin Haba [Tue, 13 Jun 2023 14:14:30 +0000 (16:14 +0200)] 
baculum: Add objectsource property to objects overview endpoint

2 years agobaculum: New API config ACLs
Marcin Haba [Tue, 13 Jun 2023 13:20:29 +0000 (15:20 +0200)] 
baculum: New API config ACLs

Changes:
 - Add new POST and DELETE config endpoints
 - Validate Console roles for each config request
 - Introduce extended API mode (default disabled)

2 years agobaculum: Add group_order_by and group_order_direction parameters to objects endpoint
Marcin Haba [Wed, 7 Jun 2023 09:05:37 +0000 (11:05 +0200)] 
baculum: Add group_order_by and group_order_direction parameters to objects endpoint

2 years agobaculum: Add to grup function sorting group capability
Marcin Haba [Wed, 7 Jun 2023 08:42:21 +0000 (10:42 +0200)] 
baculum: Add to grup function sorting group capability

2 years agobaculum: Add sorting by joberrors if sorted by jobstatus first
Marcin Haba [Wed, 7 Jun 2023 08:18:22 +0000 (10:18 +0200)] 
baculum: Add sorting by joberrors if sorted by jobstatus first

2 years agobaculum: Improve using unique_objects parameter in object endpoint
Marcin Haba [Mon, 5 Jun 2023 09:48:02 +0000 (11:48 +0200)] 
baculum: Improve using unique_objects parameter in object endpoint

2 years agobaculum: Add group_offset and unique_objects parameters to objects endpoint
Marcin Haba [Mon, 5 Jun 2023 08:49:34 +0000 (10:49 +0200)] 
baculum: Add group_offset and unique_objects parameters to objects endpoint

2 years agobaculum: Add volume names endpoint
Marcin Haba [Thu, 1 Jun 2023 13:49:51 +0000 (15:49 +0200)] 
baculum: Add volume names endpoint

2 years agobaculum: Tweak improve getting object types and names
Marcin Haba [Thu, 1 Jun 2023 13:46:13 +0000 (15:46 +0200)] 
baculum: Tweak improve getting object types and names

2 years agobaculum: Add object names endpoint
Marcin Haba [Wed, 31 May 2023 12:47:32 +0000 (14:47 +0200)] 
baculum: Add object names endpoint

2 years agobaculum: Add object types endpoint
Marcin Haba [Wed, 31 May 2023 11:21:23 +0000 (13:21 +0200)] 
baculum: Add object types endpoint

2 years agobaculum: Add documentation for client parameter in objects endpoint
Marcin Haba [Wed, 31 May 2023 08:50:58 +0000 (10:50 +0200)] 
baculum: Add documentation for client parameter in objects endpoint

2 years agobaculum: Add job status filter to objects endpoint
Marcin Haba [Wed, 31 May 2023 08:43:11 +0000 (10:43 +0200)] 
baculum: Add job status filter to objects endpoint

2 years agobaculum: Add joberrors filter to sources endpoint
Marcin Haba [Wed, 31 May 2023 08:03:38 +0000 (10:03 +0200)] 
baculum: Add joberrors filter to sources endpoint

2 years agobaculum: Add server parameter to list vsphere datastores endpoint
Marcin Haba [Tue, 30 May 2023 13:46:13 +0000 (15:46 +0200)] 
baculum: Add server parameter to list vsphere datastores endpoint

2 years agobaculum: Add job level property to sources endpoint
Marcin Haba [Tue, 30 May 2023 11:29:17 +0000 (13:29 +0200)] 
baculum: Add job level property to sources endpoint

2 years agobaculum: Add pool resnames endpoint
Marcin Haba [Tue, 30 May 2023 10:59:07 +0000 (12:59 +0200)] 
baculum: Add pool resnames endpoint

2 years agobaculum: Add storage resnames endpoint
Marcin Haba [Tue, 30 May 2023 10:40:25 +0000 (12:40 +0200)] 
baculum: Add storage resnames endpoint

2 years agobaculum: Add director time endpoint
Marcin Haba [Tue, 30 May 2023 06:26:34 +0000 (08:26 +0200)] 
baculum: Add director time endpoint

2 years agobaculum: Change M365 tenants endpoint output to contain tenant names
Marcin Haba [Mon, 29 May 2023 11:13:48 +0000 (13:13 +0200)] 
baculum: Change M365 tenants endpoint output to contain tenant names

2 years agobaculum: Update documentation
Marcin Haba [Mon, 29 May 2023 07:21:22 +0000 (09:21 +0200)] 
baculum: Update documentation

2 years agobaculum: Add object overview endpoint
Marcin Haba [Fri, 26 May 2023 14:53:31 +0000 (16:53 +0200)] 
baculum: Add object overview endpoint

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

2 years agoAdd RBCLIENT ACL type to query both RCLIENT and BCLIENT
Eric Bollengier [Mon, 20 Mar 2023 16:50:40 +0000 (17:50 +0100)] 
Add RBCLIENT ACL type to query both RCLIENT and BCLIENT

2 years agoInclude BackupClient in list jobs, list jobmedia, list joblog
Eric Bollengier [Mon, 20 Mar 2023 12:44:16 +0000 (13:44 +0100)] 
Include BackupClient in list jobs, list jobmedia, list joblog

2 years agoregess: Add test with cancel on restricted console
Eric Bollengier [Fri, 17 Mar 2023 16:50:30 +0000 (17:50 +0100)] 
regess: Add test with cancel on restricted console

2 years agoAdd JCR::use_client() to determine if a Job uses a Client
Eric Bollengier [Fri, 17 Mar 2023 15:15:09 +0000 (16:15 +0100)] 
Add JCR::use_client() to determine if a Job uses a Client

2 years agoAdapt delete command to work with restricted consoles
Eric Bollengier [Fri, 17 Mar 2023 15:00:21 +0000 (16:00 +0100)] 
Adapt delete command to work with restricted consoles

2 years agoCheck Pool specific ACL in select_media_dbr()
Eric Bollengier [Fri, 17 Mar 2023 14:59:27 +0000 (15:59 +0100)] 
Check Pool specific ACL in select_media_dbr()

2 years agoAdd Pool name to MEDIA_DBR
Eric Bollengier [Fri, 17 Mar 2023 14:58:09 +0000 (15:58 +0100)] 
Add Pool name to MEDIA_DBR

2 years agoregress: check prune, purge and delete.
Eric Bollengier [Fri, 17 Mar 2023 12:59:27 +0000 (13:59 +0100)] 
regress: check prune, purge and delete.

2 years agoAdapt prune command for restricted console
Eric Bollengier [Fri, 17 Mar 2023 12:58:59 +0000 (13:58 +0100)] 
Adapt prune command for restricted console

2 years agoregress: test the prune and purge command with restricted console
Eric Bollengier [Fri, 17 Mar 2023 10:40:44 +0000 (11:40 +0100)] 
regress: test the prune and purge command with restricted console

2 years agoFix list jobmedia command
Eric Bollengier [Fri, 17 Mar 2023 10:40:19 +0000 (11:40 +0100)] 
Fix list jobmedia command

2 years agoregress: Add setup_rconsole
Eric Bollengier [Fri, 19 Nov 2021 20:49:49 +0000 (21:49 +0100)] 
regress: Add setup_rconsole

2 years agoFix #9968 Enhance restricted Console support
Eric Bollengier [Thu, 16 Mar 2023 08:52:49 +0000 (09:52 +0100)] 
Fix #9968 Enhance restricted Console support

 - Limit job list in restore menu 1 and 2
 - Adapt restore menu 3 jobid selection
 - Adapt restore menu 11 jobid selection
 - Adapt restore jobid= parameter
 - Add checks on restore file parameter
 - Adapt purge commands

2 years agoFix warning reported by new GCC
Eric Bollengier [Wed, 22 Feb 2023 08:14:24 +0000 (09:14 +0100)] 
Fix warning reported by new GCC

2 years agorpms: Add rhel9 target to spec file
Eric Bollengier [Tue, 21 Feb 2023 08:38:25 +0000 (09:38 +0100)] 
rpms: Add rhel9 target to spec file

2 years agobaculum: Update release notes
Marcin Haba [Mon, 1 May 2023 11:26:20 +0000 (13:26 +0200)] 
baculum: Update release notes

2 years agobaculum: Add options to configure preserving table settings
Marcin Haba [Mon, 1 May 2023 11:12:45 +0000 (13:12 +0200)] 
baculum: Add options to configure preserving table settings

This function is ported from Bacularis.

The function request comes from Lionel Plasse reported to Baculum on the Bacula-Users mailing list:

https://sourceforge.net/p/bacula/mailman/message/37837701/

2 years agobaculum: Enhance validation in time period control
Marcin Haba [Mon, 1 May 2023 11:09:49 +0000 (13:09 +0200)] 
baculum: Enhance validation in time period control

This function is ported from Bacularis.

2 years agobaculum: Fix problem with double jobids in jobs objects endpoint
Marcin Haba [Fri, 28 Apr 2023 14:57:18 +0000 (16:57 +0200)] 
baculum: Fix problem with double jobids in jobs objects endpoint