]> git.ipfire.org Git - thirdparty/bacula.git/log
thirdparty/bacula.git
2 years agobaculum: Tweak fix displaying empty job resource
Marcin Haba [Fri, 3 Mar 2023 10:06:47 +0000 (11:06 +0100)] 
baculum: Tweak fix displaying empty job resource

2 years agobaculum: Fix compatibility with PHP 5.4
Marcin Haba [Thu, 2 Mar 2023 09:37:24 +0000 (10:37 +0100)] 
baculum: Fix compatibility with PHP 5.4

2 years agobaculum: Add support for plugin filter in client list endpoint
Marcin Haba [Tue, 28 Feb 2023 14:22:55 +0000 (15:22 +0100)] 
baculum: Add support for plugin filter in client list endpoint

2 years agobaculum: Add objectid parameter to Bvfs restore endpoint
Marcin Haba [Tue, 28 Feb 2023 09:52:00 +0000 (10:52 +0100)] 
baculum: Add objectid parameter to Bvfs restore endpoint

2 years agobaculum: Add output parameter to run job endpoint
Marcin Haba [Mon, 27 Feb 2023 15:22:02 +0000 (16:22 +0100)] 
baculum: Add output parameter to run job endpoint

Other changes:
 - provide new queued jobid in separate property for output=json
 - return appropriate error code if new queued jobid is absent

2 years agobaculum: Add when parameter to run job endpoint
Marcin Haba [Mon, 27 Feb 2023 12:01:45 +0000 (13:01 +0100)] 
baculum: Add when parameter to run job endpoint

2 years agobaculum: Add a new endpoint to list jobs together with objects
Marcin Haba [Mon, 27 Feb 2023 09:22:16 +0000 (10:22 +0100)] 
baculum: Add a new endpoint to list jobs together with objects

Other changes:
 - add realstarttime_from and realstarttime_to filters to job list and job object list endpoints
 - general performance improvements and optimizations
 - add job result modes
 - refactor job overview part

2 years agobaculum: Add VMware vSphere datastore list endpoint
Marcin Haba [Tue, 21 Feb 2023 12:26:45 +0000 (13:26 +0100)] 
baculum: Add VMware vSphere datastore list endpoint

2 years agobaculum: Add VMware vSphere host list endpoint
Marcin Haba [Wed, 15 Feb 2023 12:28:51 +0000 (13:28 +0100)] 
baculum: Add VMware vSphere host list endpoint

2 years agobaculum: Add VMware vSphere server list endpoint
Marcin Haba [Tue, 14 Feb 2023 15:19:41 +0000 (16:19 +0100)] 
baculum: Add VMware vSphere server list endpoint

2 years agobaculum: Fix support for PHP 5
Marcin Haba [Fri, 10 Feb 2023 14:48:09 +0000 (15:48 +0100)] 
baculum: Fix support for PHP 5

2 years agobaculum: Add voltype property support in bvfs output parser
Marcin Haba [Fri, 10 Feb 2023 10:55:04 +0000 (11:55 +0100)] 
baculum: Add voltype property support in bvfs output parser

2 years agobaculum: Add offset and limit parameters to bvfs versions endpoint
Marcin Haba [Thu, 9 Feb 2023 14:48:15 +0000 (15:48 +0100)] 
baculum: Add offset and limit parameters to bvfs versions endpoint

2 years agobaculum: Add to estimated job values endpoint average number of backed up objects
Marcin Haba [Mon, 6 Feb 2023 14:53:44 +0000 (15:53 +0100)] 
baculum: Add to estimated job values endpoint average number of backed up objects

2 years agobaculum: Add estimated job values endpoint that uses job historical data for estimation
Marcin Haba [Mon, 6 Feb 2023 12:14:31 +0000 (13:14 +0100)] 
baculum: Add estimated job values endpoint that uses job historical data for estimation

2 years agobaculum: Make show command output parser more accurate
Marcin Haba [Fri, 3 Feb 2023 09:46:30 +0000 (10:46 +0100)] 
baculum: Make show command output parser more accurate

2 years agobaculum: Add support for cloud storage commands
Marcin Haba [Mon, 30 Jan 2023 15:55:41 +0000 (16:55 +0100)] 
baculum: Add support for cloud storage commands

Supported commands:
 - list
 - prune
 - truncate
 - upload

2 years agobaculum: Improve job statuses for job overview purpose
Marcin Haba [Mon, 23 Jan 2023 09:41:21 +0000 (10:41 +0100)] 
baculum: Improve job statuses for job overview purpose

2 years agobaculum: Fix example values in OpenAPI documentation
Marcin Haba [Fri, 20 Jan 2023 13:47:37 +0000 (14:47 +0100)] 
baculum: Fix example values in OpenAPI documentation

2 years agobaculum: Add overview parameter to job list endpoint
Marcin Haba [Mon, 16 Jan 2023 14:43:58 +0000 (15:43 +0100)] 
baculum: Add overview parameter to job list endpoint

2 years agobaculum: Add endtime property and filters to source list endpoint
Marcin Haba [Thu, 12 Jan 2023 14:15:10 +0000 (15:15 +0100)] 
baculum: Add endtime property and filters to source list endpoint

3 years agoupdate configure Release-13.0.2
Eric Bollengier [Sat, 18 Feb 2023 09:19:36 +0000 (10:19 +0100)] 
update configure

3 years agoupdate releasenotes
Eric Bollengier [Fri, 17 Feb 2023 07:08:33 +0000 (08:08 +0100)] 
update releasenotes

3 years agoFix #9882 About tapealert script issue on rhel8
Eric Bollengier [Thu, 16 Feb 2023 14:45:48 +0000 (15:45 +0100)] 
Fix #9882 About tapealert script issue on rhel8

Thanks Oliver Schonefeld

3 years agoregress: fix copy-job-test for #9116, add the / in [/]bin/true
Alain Spineux [Wed, 14 Sep 2022 09:29:16 +0000 (11:29 +0200)] 
regress: fix copy-job-test for #9116, add the / in [/]bin/true

- the test was still working, but not testing the bugfix for #9116
- I have enclosed the extra code into a "if fi" just before to push
  the fix, then the fix was well tested before the push, don't worry

3 years agoFix #9535 avoid "Will not descend from / to /good_dir"
Alain Spineux [Tue, 27 Sep 2022 12:39:07 +0000 (14:39 +0200)] 
Fix #9535 avoid "Will not descend from / to /good_dir"

- when attributes are backed up, a function check_current_fs()
  update FF_PKT::last_fstype without updating FF_PKT::last_fstypename
  this make fstype() not refresh last_fstypename when last_fstype
  match the the value returned by statfs
- notice that fstype() whas alredy checking if last_fstypename[0]
  to force a refresh
- IMPORTANT this patch change a little bit the behavior of the original
  function, if fstype() cannot give a name to the FS then the
  function return false, whil in the original function don't care about
  the name and only compare the numeric ID
  the check_current_fs() above the check the FS name (instead of its num ID)
  also return false in this situation
- The problem is that the bacl.c and bxattr.c use this function
  to detect the change of filesystem (this is the problem)
  and if the new FS match one particular FS then set some flags.
  Detecting if the FS has changed is done only with the numeric "f_type"
  This is faster than comparing a string.
  This is probably why check_current_fs() don't call fstype()
  and call statfs() by himself.

3 years agoFix Cython detection on python >= 3.8
Eric Bollengier [Fri, 23 Sep 2022 15:50:10 +0000 (17:50 +0200)] 
Fix Cython detection on python >= 3.8

3 years agok8s: Add support for Python3.10
Eric Bollengier [Fri, 23 Sep 2022 16:13:00 +0000 (18:13 +0200)] 
k8s: Add support for Python3.10

3 years agoregress: Reproduce #9568 and add more checks
Eric Bollengier [Thu, 6 Oct 2022 09:54:30 +0000 (11:54 +0200)] 
regress: Reproduce #9568 and add more checks

3 years agoFix #9568 About "cancel inactive" command Storage Daemon selection
Eric Bollengier [Thu, 6 Oct 2022 09:54:13 +0000 (11:54 +0200)] 
Fix #9568 About "cancel inactive" command Storage Daemon selection

3 years agocloud: Fix #9508 transfer remove dcr use for JobId
norbert.bizet [Wed, 21 Sep 2022 09:19:54 +0000 (05:19 -0400)] 
cloud: Fix #9508 transfer remove dcr use for JobId

3 years agogeneric_cloud: Fix #9606 Rearange POOLMEM usage in cb functions
norbert.bizet [Tue, 25 Oct 2022 09:39:42 +0000 (05:39 -0400)] 
generic_cloud: Fix #9606 Rearange POOLMEM usage in cb functions

3 years agocloud: Fix #8351 Catalog part number correction notification goes debug
norbert.bizet [Wed, 26 Oct 2022 10:44:17 +0000 (06:44 -0400)] 
cloud: Fix #8351 Catalog part number correction notification goes debug

3 years agowin32: Switch to openssl 1.1.1t
Eric Bollengier [Thu, 16 Feb 2023 08:27:08 +0000 (09:27 +0100)] 
win32: Switch to openssl 1.1.1t

3 years agoFix #9686 Grant PROCESS privilege to bacula user to allow catalog backup
Eric Bollengier [Mon, 5 Dec 2022 08:41:48 +0000 (09:41 +0100)] 
Fix #9686 Grant PROCESS privilege to bacula user to allow catalog backup

3 years agoFix bconsole command issue after a first error
Eric Bollengier [Thu, 10 Nov 2022 09:54:32 +0000 (10:54 +0100)] 
Fix bconsole command issue after a first error

3 years agoFix #9614 Re-create Jobs with bscan only if the bootstrap is matching
Eric Bollengier [Fri, 4 Nov 2022 10:42:05 +0000 (11:42 +0100)] 
Fix #9614 Re-create Jobs with bscan only if the bootstrap is matching

3 years agobaculum: Update version
Marcin Haba [Thu, 16 Feb 2023 17:46:03 +0000 (18:46 +0100)] 
baculum: Update version

3 years agobaculum: Update the ReleaseNotes file
Marcin Haba [Thu, 16 Feb 2023 17:45:09 +0000 (18:45 +0100)] 
baculum: Update the ReleaseNotes file

3 years agoFix #9876 Update information printed during file restore error
Eric Bollengier [Wed, 15 Feb 2023 16:30:56 +0000 (17:30 +0100)] 
Fix #9876 Update information printed during file restore error

3 years agoupdate changelog and version
Eric Bollengier [Thu, 19 Jan 2023 15:57:53 +0000 (16:57 +0100)] 
update changelog and version

3 years agowin32: Switch to openssl 1.1.1s
Eric Bollengier [Thu, 19 Jan 2023 15:54:31 +0000 (16:54 +0100)] 
win32: Switch to openssl 1.1.1s

3 years agowin32: Fix org#2667 enable sockaddress_storage for windows
norbert.bizet [Thu, 19 Jan 2023 15:37:33 +0000 (10:37 -0500)] 
win32: Fix org#2667 enable sockaddress_storage for windows

3 years agoupdate configure
Eric Bollengier [Tue, 10 Jan 2023 17:19:39 +0000 (18:19 +0100)] 
update configure

3 years agoFix org#2666 About fixing getaddrinfo check in ./configure
Eric Bollengier [Tue, 10 Jan 2023 17:17:51 +0000 (18:17 +0100)] 
Fix org#2666 About fixing getaddrinfo check in ./configure

Thanks to Florian Weimer

The exit function is not declared in this context, so the check will always
fail with compilers which do not accept implicit function declarations. Change
the return type of main to int and return directly from main instead.

3 years agobaculum: Add offset parameter to messages endpoint
Marcin Haba [Fri, 23 Dec 2022 10:13:25 +0000 (11:13 +0100)] 
baculum: Add offset parameter to messages endpoint

3 years agobaculum: Add offset parameter to event and pool list endpoint
Marcin Haba [Thu, 22 Dec 2022 15:04:50 +0000 (16:04 +0100)] 
baculum: Add offset parameter to event and pool list endpoint

3 years agobaculum: Add offset parameter to storage and client list endpoint
Marcin Haba [Thu, 22 Dec 2022 11:49:24 +0000 (12:49 +0100)] 
baculum: Add offset parameter to storage and client list endpoint

3 years agobaculum: Fix using multiple job statuses in list jobs jobstatus filter
Marcin Haba [Tue, 20 Dec 2022 08:32:27 +0000 (09:32 +0100)] 
baculum: Fix using multiple job statuses in list jobs jobstatus filter

3 years agobaculum: Add new job, fileset and media properties support
Marcin Haba [Thu, 15 Dec 2022 12:42:38 +0000 (13:42 +0100)] 
baculum: Add new job, fileset and media properties support

3 years agobaculum: Add dedupengine output type to status storage
Marcin Haba [Thu, 15 Dec 2022 09:49:22 +0000 (10:49 +0100)] 
baculum: Add dedupengine output type to status storage

3 years agobaculum: Tweak improve object groupping
Marcin Haba [Tue, 13 Dec 2022 13:28:44 +0000 (14:28 +0100)] 
baculum: Tweak improve object groupping

3 years agobaculum: Add option to enable/disable audit log
Marcin Haba [Tue, 13 Dec 2022 13:27:53 +0000 (14:27 +0100)] 
baculum: Add option to enable/disable audit log

3 years agoAdd afterjobid parameter to job list endpoint
Marcin Haba [Mon, 12 Dec 2022 09:13:57 +0000 (10:13 +0100)] 
Add afterjobid parameter to job list endpoint

3 years agobaculum: Add documentation for component actions
Marcin Haba [Fri, 9 Dec 2022 14:56:06 +0000 (15:56 +0100)] 
baculum: Add documentation for component actions

3 years agobaculum: Add documentation to new jobids parameter in job list endpoint
Marcin Haba [Fri, 9 Dec 2022 13:57:34 +0000 (14:57 +0100)] 
baculum: Add documentation to new jobids parameter in job list endpoint

3 years agobaculum: Add patch for offset parameter support in SQL queries
Marcin Haba [Fri, 9 Dec 2022 12:35:56 +0000 (13:35 +0100)] 
baculum: Add patch for offset parameter support in SQL queries

3 years agobaculum: Fix OFFSET parameter in PHP framework
Marcin Haba [Fri, 9 Dec 2022 12:30:34 +0000 (13:30 +0100)] 
baculum: Fix OFFSET parameter in PHP framework

Ticket in the PRADO framework GitHub project:

Support for OFFSET parameter without LIMIT clause in SQL query for TActiveRecord

https://github.com/pradosoft/prado/issues/819

3 years agobaculum: Add multiple jobids filter to jobs endpoint
Marcin Haba [Fri, 9 Dec 2022 12:24:18 +0000 (13:24 +0100)] 
baculum: Add multiple jobids filter to jobs endpoint

3 years agobaculum: Add offset parameter to jobs, objects and volumes endpoints
Marcin Haba [Fri, 9 Dec 2022 09:33:37 +0000 (10:33 +0100)] 
baculum: Add offset parameter to jobs, objects and volumes endpoints

3 years agobaculum: Fix sources endpoint double results
Marcin Haba [Fri, 9 Dec 2022 09:21:31 +0000 (10:21 +0100)] 
baculum: Fix sources endpoint double results

3 years agobaculum: Add new filters to object category sum endpoint
Marcin Haba [Tue, 6 Dec 2022 10:50:14 +0000 (11:50 +0100)] 
baculum: Add new filters to object category sum endpoint

Changes:
 - add new filters
 - rework /objects/stats/category-sum endpoint with keeping compatibility
 - change /jobs/stats/sum filter into /jobs/stats/type-sum
 - datestart and dateend parameters are now deprecated
 - datestart does not have default value (previously 1 month)
 - update documentation

3 years agobaculum: Add age parameter to jobs and objects endpoints
Marcin Haba [Mon, 5 Dec 2022 15:24:01 +0000 (16:24 +0100)] 
baculum: Add age parameter to jobs and objects endpoints

3 years agobaculum: Add group_limit, order_by and order_direction parameters to objects endpoint
Marcin Haba [Mon, 5 Dec 2022 14:03:59 +0000 (15:03 +0100)] 
baculum: Add group_limit, order_by and order_direction parameters to objects endpoint

3 years agobaculum: Add job sum statistics endpoint
Marcin Haba [Mon, 5 Dec 2022 08:42:08 +0000 (09:42 +0100)] 
baculum: Add job sum statistics endpoint

3 years agobaculum: Add sources endpoint
Marcin Haba [Thu, 1 Dec 2022 13:43:24 +0000 (14:43 +0100)] 
baculum: Add sources endpoint

3 years agobaculum: Fix time range filter for job and object endpoints
Marcin Haba [Tue, 22 Nov 2022 13:50:57 +0000 (14:50 +0100)] 
baculum: Fix time range filter for job and object endpoints

3 years agoAdd Thomas Franz to AUTHORS list
Eric Bollengier [Mon, 19 Dec 2022 11:23:18 +0000 (12:23 +0100)] 
Add Thomas Franz to AUTHORS list

3 years agoFix org#2665 About memory leak on FreeBSD with extended attributes
Thomas Franz [Mon, 19 Dec 2022 11:21:09 +0000 (12:21 +0100)] 
Fix org#2665 About memory leak on FreeBSD with extended attributes

Extended attributes in FreeBSD exists for attrnamespace "user" and
"system". Bacula saves this data serializing extended attributes for every
file.

In the source bxattr_freebsd.c of bacula 13.0.1 the following problems could be
identified:

 - Bug missing data during backup: If a file has extended attributes of type
   "system" but not of type "user" then these are missing in the serializing
   stream for the backup. This is caused by the return statement when no
   extended attribute of type "user" exists.

 - Memory leak when using extattr_namespace_to_string() because this function
   calls strdup() and does never free the memory allocated by strdup(). This
   problem did not exists until Bacula 7.4.4, but the correct handling was
   dropped in Bacula 7.4.5.

 - Memory leak during backup of files having extended attributes of both types
   "user" and "system". In this case the pointer "xlist" is used first for
   "user" and then for "system". The space allocated for "user" remains
   allocated.

 - Memory leak during backup of files having extended attributes of type "user"
   but not of type "system". In this case a return statetement is done for type
   "system" and the allocated memory for "user" cannot be freed in the coding
   after "bail_out:".

3 years agorpms: Tweak bacula.spec source definition
Eric Bollengier [Tue, 22 Nov 2022 09:39:10 +0000 (10:39 +0100)] 
rpms: Tweak bacula.spec source definition

3 years agoFix org#2577 Remove -f option from MySQL update scripts to detect errors properly
Eric Bollengier [Tue, 22 Nov 2022 08:33:20 +0000 (09:33 +0100)] 
Fix org#2577 Remove -f option from MySQL update scripts to detect errors properly

3 years agobaculum: Add time range parameters to objects endpoint
Marcin Haba [Wed, 16 Nov 2022 14:50:31 +0000 (15:50 +0100)] 
baculum: Add time range parameters to objects endpoint

3 years agobaculum: Add groupby parameter to object list endpoint
Marcin Haba [Tue, 15 Nov 2022 08:02:45 +0000 (09:02 +0100)] 
baculum: Add groupby parameter to object list endpoint

3 years agobaculum: Fix using operators for SQL queries
Marcin Haba [Thu, 10 Nov 2022 14:21:17 +0000 (15:21 +0100)] 
baculum: Fix using operators for SQL queries

3 years agobaculum: Add documentation to new job sort parameters
Marcin Haba [Wed, 9 Nov 2022 08:27:32 +0000 (09:27 +0100)] 
baculum: Add documentation to new job sort parameters

3 years agobaculum: Add to jobs endpoint parameters to sort property and sort order
Marcin Haba [Tue, 8 Nov 2022 14:59:13 +0000 (15:59 +0100)] 
baculum: Add to jobs endpoint parameters to sort property and sort order

3 years agobaculum: Add time range parameters to jobs endpoint
Marcin Haba [Tue, 8 Nov 2022 09:16:05 +0000 (10:16 +0100)] 
baculum: Add time range parameters to jobs endpoint

3 years agobaculum: Add new fileindex property to objects
Marcin Haba [Tue, 8 Nov 2022 09:11:32 +0000 (10:11 +0100)] 
baculum: Add new fileindex property to objects

3 years agobaculum: Tweak fix jobids parameter in Bvfs update endpoint
Marcin Haba [Thu, 3 Nov 2022 15:06:52 +0000 (16:06 +0100)] 
baculum: Tweak fix jobids parameter in Bvfs update endpoint

3 years agobaculum: Add jobids parameter to Bvfs update endpoint
Marcin Haba [Thu, 3 Nov 2022 15:04:04 +0000 (16:04 +0100)] 
baculum: Add jobids parameter to Bvfs update endpoint

3 years agoAdd jobids parameter to objects endpoint
Marcin Haba [Wed, 2 Nov 2022 09:50:30 +0000 (10:50 +0100)] 
Add jobids parameter to objects endpoint

3 years agobaculum: Adapt job record to version 16.0
Marcin Haba [Tue, 18 Oct 2022 13:45:59 +0000 (15:45 +0200)] 
baculum: Adapt job record to version 16.0

3 years agobaculum: Add restore plugin option fields endpoint
Marcin Haba [Tue, 18 Oct 2022 13:45:18 +0000 (15:45 +0200)] 
baculum: Add restore plugin option fields endpoint

3 years agobaculum: Add restore plugin options endpoint
Marcin Haba [Fri, 23 Sep 2022 13:14:03 +0000 (15:14 +0200)] 
baculum: Add restore plugin options endpoint

3 years agobaculum: Add capability to restore using plugin
Marcin Haba [Thu, 22 Sep 2022 07:33:51 +0000 (09:33 +0200)] 
baculum: Add capability to restore using plugin

3 years agobaculum: Add search Bacula items endpoint
Marcin Haba [Fri, 19 Aug 2022 12:13:22 +0000 (14:13 +0200)] 
baculum: Add search Bacula items endpoint

3 years agobaculum: Add Microsoft 365 plugin endpoint for listing logged in users for given...
Marcin Haba [Thu, 18 Aug 2022 11:35:26 +0000 (13:35 +0200)] 
baculum: Add Microsoft 365 plugin endpoint for listing logged in users for given tenant

3 years agobaculum: Add Microsoft 365 email attachment list endpoint
Marcin Haba [Thu, 18 Aug 2022 11:04:56 +0000 (13:04 +0200)] 
baculum: Add Microsoft 365 email attachment list endpoint

3 years agobaculum: Add Microsoft 365 email list endpoints
Marcin Haba [Thu, 18 Aug 2022 07:28:35 +0000 (09:28 +0200)] 
baculum: Add Microsoft 365 email list endpoints

3 years agobaculum: Add event list and single event record endpoints
Marcin Haba [Tue, 16 Aug 2022 14:13:47 +0000 (16:13 +0200)] 
baculum: Add event list and single event record endpoints

3 years agobaculum: Add object category status endpoint
Marcin Haba [Fri, 12 Aug 2022 14:19:03 +0000 (16:19 +0200)] 
baculum: Add object category status endpoint

3 years agobaculum: Add object versions endpoint
Marcin Haba [Fri, 12 Aug 2022 07:24:06 +0000 (09:24 +0200)] 
baculum: Add object versions endpoint

3 years agobaculum: Add object size statistics endpoint
Marcin Haba [Thu, 11 Aug 2022 13:04:11 +0000 (15:04 +0200)] 
baculum: Add object size statistics endpoint

3 years agobaculum: Add missing objectid parameter to API documentation
Marcin Haba [Thu, 11 Aug 2022 09:52:34 +0000 (11:52 +0200)] 
baculum: Add missing objectid parameter to API documentation

3 years agobaculum: Add object category stats endpoint
Marcin Haba [Thu, 11 Aug 2022 09:49:53 +0000 (11:49 +0200)] 
baculum: Add object category stats endpoint

3 years agobaculum: Tweak fix API documentation
Marcin Haba [Wed, 10 Aug 2022 13:05:04 +0000 (15:05 +0200)] 
baculum: Tweak fix API documentation

3 years agobaculum: Add single object record endpoint
Marcin Haba [Wed, 10 Aug 2022 12:52:00 +0000 (14:52 +0200)] 
baculum: Add single object record endpoint

3 years agobaculum: Add query command support, object endpoint and m365 user list endpoint
Marcin Haba [Wed, 10 Aug 2022 11:28:51 +0000 (13:28 +0200)] 
baculum: Add query command support, object endpoint and m365 user list endpoint

3 years agoAdd plugin column
Marcin Haba [Fri, 5 Aug 2022 13:38:53 +0000 (15:38 +0200)] 
Add plugin column

3 years agoFix org#2628 About improving the update_bacula_tables script on up to date catalogs
Eric Bollengier [Fri, 4 Nov 2022 09:17:21 +0000 (10:17 +0100)] 
Fix org#2628 About improving the update_bacula_tables script on up to date catalogs