]> git.ipfire.org Git - thirdparty/bacula.git/log
thirdparty/bacula.git
2 years agoAdd command to list metadata owners for a given tenant
Eric Bollengier [Fri, 28 Jan 2022 15:56:49 +0000 (16:56 +0100)] 
Add command to list metadata owners for a given tenant

2 years agocommand ".status dedupengines [dedupengine=XXXX]" mimic .device command
Alain Spineux [Tue, 25 Jan 2022 16:59:59 +0000 (17:59 +0100)] 
command ".status dedupengines [dedupengine=XXXX]" mimic .device command

2 years agoAdd RunScript when=EndJob option
Eric Bollengier [Mon, 31 Jan 2022 10:07:54 +0000 (11:07 +0100)] 
Add RunScript when=EndJob option

2 years agoregress: Schedule runscript tests
Eric Bollengier [Mon, 31 Jan 2022 10:05:43 +0000 (11:05 +0100)] 
regress: Schedule runscript tests

2 years agoregress: Modify script for EndJob
Eric Bollengier [Mon, 31 Jan 2022 10:04:04 +0000 (11:04 +0100)] 
regress: Modify script for EndJob

2 years agoregress: Fix metadata-test
Eric Bollengier [Fri, 28 Jan 2022 14:56:49 +0000 (15:56 +0100)] 
regress: Fix metadata-test

2 years agoUpdate copyright year
Eric Bollengier [Mon, 3 Jul 2023 09:30:34 +0000 (11:30 +0200)] 
Update copyright year

2 years agoregress: add runscript-job-status-test
Michal Rakowski [Mon, 24 Jan 2022 21:40:03 +0000 (22:40 +0100)] 
regress: add runscript-job-status-test

2 years agoFix #8571 About adding intermediate JobStatus for Runscripts
Michal Rakowski [Mon, 24 Jan 2022 21:57:02 +0000 (22:57 +0100)] 
Fix #8571 About adding intermediate JobStatus for Runscripts

2 years agoFix #7999 About 'list events' filtering
Michal Rakowski [Mon, 24 Jan 2022 15:27:22 +0000 (16:27 +0100)] 
Fix #7999 About 'list events' filtering

This issue persists on many other 'list' arguments - those also could be changed
at some point.

2 years agoFix test-plugin-fd.c with Metadata insertion
Eric Bollengier [Mon, 24 Jan 2022 09:02:58 +0000 (10:02 +0100)] 
Fix test-plugin-fd.c with Metadata insertion

2 years agoFix windows compilation
Eric Bollengier [Fri, 21 Jan 2022 15:43:12 +0000 (16:43 +0100)] 
Fix windows compilation

2 years agoFix #8275 & #8622 Detect and report postgresql and system timezone mismatch
Alain Spineux [Thu, 20 Jan 2022 16:20:08 +0000 (17:20 +0100)] 
Fix #8275 & #8622 Detect and report postgresql and system timezone mismatch

- The first fix of #8275 was a mistake
- This fix, detect and report an offset between PGSQL and the system
  via a Jmsg(WARNING)

2 years agoFix compilation warning
Eric Bollengier [Tue, 18 Jan 2022 15:36:22 +0000 (16:36 +0100)] 
Fix compilation warning

2 years agoregress: combine inotifywait and timeout to detect delete event
Alain Spineux [Mon, 17 Jan 2022 17:30:57 +0000 (18:30 +0100)] 
regress: combine inotifywait and timeout to detect delete event

- it looks like inotify could miss some event

2 years agoFix #5871 About allowing zfs for 'fstype'
Michal Rakowski [Tue, 18 Jan 2022 12:35:49 +0000 (13:35 +0100)] 
Fix #5871 About allowing zfs for 'fstype'

2 years agoFix #8542 Display mtime instead of ctime in "estimate listing" output
Eric Bollengier [Thu, 6 Jan 2022 15:11:21 +0000 (16:11 +0100)] 
Fix #8542 Display mtime instead of ctime in "estimate listing" output

Align the "estimate listing" output on "find -ls" or "ls -l"

2 years agoSmall change in bdb_get_file_record()
Michal Rakowski [Wed, 29 Dec 2021 14:56:29 +0000 (15:56 +0100)] 
Small change in bdb_get_file_record()

This is needed, because when Plugin update it's file attributes during backup,
two file records for the same JobId are generated. To display only the
newest one (the one having the most recent attributes) in the restore
menu, we need to take with the highest DeltaSeq value.

2 years agoregress: add test-plugin-size-update-test
Michal Rakowski [Mon, 20 Dec 2021 17:55:15 +0000 (18:55 +0100)] 
regress: add test-plugin-size-update-test

2 years agotest-plugin-fd: Add plugin's file attribute update
Michal Rakowski [Mon, 20 Dec 2021 17:54:52 +0000 (18:54 +0100)] 
test-plugin-fd: Add plugin's file attribute update

2 years agoAllow plugins to update plugin-specific files attributes
Michal Rakowski [Mon, 20 Dec 2021 17:56:47 +0000 (18:56 +0100)] 
Allow plugins to update plugin-specific files attributes

2 years agoTweak dbgmsg in check_volume_protection_time()
Michal Rakowski [Mon, 20 Dec 2021 17:19:38 +0000 (18:19 +0100)] 
Tweak dbgmsg in check_volume_protection_time()

2 years agoFix compilation
Eric Bollengier [Fri, 14 Jan 2022 16:43:20 +0000 (17:43 +0100)] 
Fix compilation

2 years agonew gdb_dprintf() to be used with gdb for dynamic logging
Alain Spineux [Wed, 12 Jan 2022 15:17:19 +0000 (16:17 +0100)] 
new gdb_dprintf() to be used with gdb for dynamic logging

- this allow to dynamicaly Dmsg() like calls using gdb without modify
  the binary
- See more in README.dynlog.txt

2 years agostrengthen JCR reference inc and dec in the FD
Alain Spineux [Wed, 12 Jan 2022 14:24:20 +0000 (15:24 +0100)] 
strengthen JCR reference inc and dec in the FD

- I got a crash at dir->close() while the FD was traced with GDB and
  waiting for too long on the GDB prompt
- this problem should never happens on production system when not using GDB
- Anyway using GDB should not crash the FD

2 years agoregress: fix cancel-inactive-test
Alain Spineux [Fri, 7 Jan 2022 15:57:31 +0000 (16:57 +0100)] 
regress: fix cancel-inactive-test

- this is a perl script

2 years agoFix #8371 About bscan setting proper volume retention period
Michal Rakowski [Fri, 14 Jan 2022 14:28:16 +0000 (15:28 +0100)] 
Fix #8371 About bscan setting proper volume retention period

2 years agoFix #8566 About reusing Immutable volume
Michal Rakowski [Wed, 12 Jan 2022 18:41:07 +0000 (19:41 +0100)] 
Fix #8566 About reusing Immutable volume

Added missing check for MinimumVolumeProtectionTime
during searching for next volume to write.

2 years agoIntroduce 'make_tmp_cmd' helper
Michal Rakowski [Mon, 13 Dec 2021 17:08:17 +0000 (18:08 +0100)] 
Introduce 'make_tmp_cmd' helper

Idea here is to allow plugins to run commands neededin form of executable
files rather than builing the command internally.
This way it's much less likely to run into many problems,
e.g. with quotes escaping.

2 years agoTweak Protection Period info message to be more generic
Michal Rakowski [Mon, 10 Jan 2022 11:48:48 +0000 (12:48 +0100)] 
Tweak Protection Period info message to be more generic

2 years agonew gdb_traceback() that does a stack trace of all the thread
Alain Spineux [Fri, 7 Jan 2022 12:27:29 +0000 (13:27 +0100)] 
new gdb_traceback() that does a stack trace of all the thread

2 years agoDisplay bacula's thread_id in Kaboom message
Alain Spineux [Fri, 7 Jan 2022 12:49:24 +0000 (13:49 +0100)] 
Display bacula's thread_id in Kaboom message

- the bacula thread id is the [xx] printed when setdebug options=h
  is used.

2 years agoregress: fix verify-vol-test, function keyword don't exist /bin/sh
Alain Spineux [Thu, 30 Dec 2021 13:33:04 +0000 (14:33 +0100)] 
regress: fix verify-vol-test, function keyword don't exist /bin/sh

- function exists in bash but not in sh

2 years agoTweak run command output to highlight the default choice
Eric Bollengier [Fri, 7 Jan 2022 11:00:14 +0000 (12:00 +0100)] 
Tweak run command output to highlight the default choice

2 years agoFix default check_for_immutable() return value
Michal Rakowski [Thu, 30 Dec 2021 15:22:32 +0000 (16:22 +0100)] 
Fix default check_for_immutable() return value

When we are not dealing with File device there is no need to
state that 'immutable' is set.

2 years agoregress: add volume-immutable-purged-test
Michal Rakowski [Thu, 23 Dec 2021 16:13:23 +0000 (17:13 +0100)] 
regress: add volume-immutable-purged-test

2 years agoFix #8566 About problem with reusing Immutable volume
Michal Rakowski [Thu, 23 Dec 2021 15:27:32 +0000 (16:27 +0100)] 
Fix #8566 About problem with reusing Immutable volume

2 years agoFix #8572 About the SD capabilities info more clear
Michal Rakowski [Thu, 23 Dec 2021 09:53:16 +0000 (10:53 +0100)] 
Fix #8572 About the SD capabilities info more clear

2 years agoregress: Fix remote-fd-plugin-test
Eric Bollengier [Thu, 23 Dec 2021 19:29:46 +0000 (20:29 +0100)] 
regress: Fix remote-fd-plugin-test

2 years agoUpdate AUTHORS
Eric Bollengier [Thu, 23 Dec 2021 17:45:07 +0000 (18:45 +0100)] 
Update AUTHORS

2 years agoTweak configure.in and ZSTD
Eric Bollengier [Thu, 23 Dec 2021 10:58:11 +0000 (11:58 +0100)] 
Tweak configure.in and ZSTD

2 years agoFix typo in configure.in
Eric Bollengier [Thu, 23 Dec 2021 10:39:15 +0000 (11:39 +0100)] 
Fix typo in configure.in

2 years agoFix --with-zstd ./configure option
Eric Bollengier [Thu, 23 Dec 2021 09:27:00 +0000 (10:27 +0100)] 
Fix --with-zstd ./configure option

2 years agoFix compilation
Eric Bollengier [Wed, 22 Dec 2021 21:46:57 +0000 (22:46 +0100)] 
Fix compilation

2 years agoFix compilation
Eric Bollengier [Wed, 22 Dec 2021 13:26:23 +0000 (14:26 +0100)] 
Fix compilation

Apparently, "linux" is a variable/object that already exists

2 years agoadd 'LIBCAP support' log in configure
Michal Rakowski [Tue, 21 Dec 2021 10:55:48 +0000 (11:55 +0100)] 
add 'LIBCAP support' log in configure

2 years agoUpdate minimum value for MaximumVolumeBytes to 1MB (1000000)
Eric Bollengier [Wed, 22 Dec 2021 12:49:03 +0000 (13:49 +0100)] 
Update minimum value for MaximumVolumeBytes to 1MB (1000000)

2 years agometaplugin: Ensure MetaData can handle larger packets.
Radosław Korzeniewski [Tue, 21 Dec 2021 08:02:01 +0000 (09:02 +0100)] 
metaplugin: Ensure MetaData can handle larger packets.

2 years agokubernetes: Update k8s agent count handling. Fix #7569
Radosław Korzeniewski [Thu, 16 Dec 2021 14:37:14 +0000 (15:37 +0100)] 
kubernetes: Update k8s agent count handling. Fix #7569

2 years agoTweak test-verify-fd.c
Eric Bollengier [Tue, 21 Dec 2021 12:12:24 +0000 (13:12 +0100)] 
Tweak test-verify-fd.c

2 years agoCheck both io->status and return code in plugin_verify_data_update()
Eric Bollengier [Tue, 21 Dec 2021 12:12:03 +0000 (13:12 +0100)] 
Check both io->status and return code in plugin_verify_data_update()

2 years agotest-plugin-fd: Send huge plugin metadata packet
Michal Rakowski [Fri, 17 Dec 2021 11:28:53 +0000 (12:28 +0100)] 
test-plugin-fd: Send huge plugin metadata packet

2 years agoregress: Fix verify-plugin-test
Eric Bollengier [Mon, 20 Dec 2021 13:32:42 +0000 (14:32 +0100)] 
regress: Fix verify-plugin-test

2 years agoFix compilation
Eric Bollengier [Fri, 17 Dec 2021 19:26:16 +0000 (20:26 +0100)] 
Fix compilation

2 years agoregress: tweak append-immutable tests to work with new directives
Michal Rakowski [Fri, 17 Dec 2021 16:27:40 +0000 (17:27 +0100)] 
regress: tweak append-immutable tests to work with new directives

2 years agoIntroduce 'SetVolumeAppendOnly' and 'SetVolumeImmutable' SD directives
Michal Rakowski [Fri, 17 Dec 2021 16:24:06 +0000 (17:24 +0100)] 
Introduce 'SetVolumeAppendOnly' and 'SetVolumeImmutable' SD directives

Those two are instead of previously existing ProtectVolumes.

2 years agoAdd append only/immutable info in the `show storage` output
Michal Rakowski [Thu, 16 Dec 2021 21:33:45 +0000 (22:33 +0100)] 
Add append only/immutable info in the `show storage` output

TODO: maybe per-volume info also could be added

2 years agoAdd more debug info around append_only/immutable feature
Michal Rakowski [Thu, 16 Dec 2021 18:43:39 +0000 (19:43 +0100)] 
Add more debug info around append_only/immutable feature

2 years agoFix problem with manual labelling volumes with 'ProtectVolumes'
Michal Rakowski [Thu, 16 Dec 2021 17:49:07 +0000 (18:49 +0100)] 
Fix problem with manual labelling volumes with 'ProtectVolumes'

2 years agocloud: Fix #8428 Processed becomes Processing
Norbert Bizet [Wed, 15 Dec 2021 13:24:42 +0000 (08:24 -0500)] 
cloud: Fix #8428 Processed becomes Processing

2 years agoFix for the 'show job' in regards to the Storage Group
Michal Rakowski [Wed, 15 Dec 2021 13:02:32 +0000 (14:02 +0100)] 
Fix for the 'show job' in regards to the Storage Group

2 years agoFind and delete orphan backup jobs without JobMedia in dbcheck
Eric Bollengier [Wed, 15 Dec 2021 11:18:28 +0000 (12:18 +0100)] 
Find and delete orphan backup jobs without JobMedia in dbcheck

2 years agoregress: Tweak store-mngr-freespace-test to not create volumes manually
Michal Rakowski [Thu, 9 Dec 2021 15:05:05 +0000 (16:05 +0100)] 
regress: Tweak store-mngr-freespace-test to not create volumes manually

2 years agoFix #8449 About FreeSpace storage policy
Michal Rakowski [Thu, 9 Dec 2021 15:00:23 +0000 (16:00 +0100)] 
Fix #8449 About FreeSpace storage policy

2 years agocatalog: small MySQL tweaks for RestoreObject and Object tables
Michal Rakowski [Fri, 10 Dec 2021 14:54:03 +0000 (15:54 +0100)] 
catalog: small MySQL tweaks for RestoreObject and Object tables

2 years agoFix #8448 About 'show job' command not showing StoragePolicy
Michal Rakowski [Wed, 8 Dec 2021 11:18:39 +0000 (12:18 +0100)] 
Fix #8448 About 'show job' command not showing StoragePolicy

2 years agoFix .status storage output
Eric Bollengier [Wed, 8 Dec 2021 13:37:42 +0000 (14:37 +0100)] 
Fix .status storage output

2 years agoregress: Fix verify-vol-test
Eric Bollengier [Sun, 5 Dec 2021 17:25:04 +0000 (18:25 +0100)] 
regress: Fix verify-vol-test

The default configuration file has a !verified, and the script is expecting to print
the verified files.

2 years agoregress: Fix bash shell detection
Eric Bollengier [Sun, 5 Dec 2021 16:52:48 +0000 (17:52 +0100)] 
regress: Fix bash shell detection

2 years agoregress: Fix compilation of the base32.c unittest
Eric Bollengier [Sun, 5 Dec 2021 16:45:12 +0000 (17:45 +0100)] 
regress: Fix compilation of the base32.c unittest

2 years agoregress: Fix stop-restart-test
Eric Bollengier [Sun, 5 Dec 2021 16:41:01 +0000 (17:41 +0100)] 
regress: Fix stop-restart-test

The job stopped via the stop command has an incomplete status
and the menu selection in the script was incorrect.

2 years agoRevert "Fix #8240 About wrong path in update_bacula_tables"
Eric Bollengier [Wed, 1 Dec 2021 18:11:13 +0000 (19:11 +0100)] 
Revert "Fix #8240 About wrong path in update_bacula_tables"

This reverts commit b8f40afa9752c9e916df6a2721f0092cbbd1e111.

2 years agoFix #8395 About confusing storage source in MAC jobs summary
Michal Rakowski [Wed, 1 Dec 2021 17:39:47 +0000 (18:39 +0100)] 
Fix #8395 About confusing storage source in MAC jobs summary

2 years agocatalog: update mysql 'meta' tables with Primary Key
Michal Rakowski [Wed, 1 Dec 2021 10:57:25 +0000 (11:57 +0100)] 
catalog: update mysql 'meta' tables with Primary Key

Scripts were adjusted to work with MySQL v8.0.27

2 years agoRemove unused variable
Michal Rakowski [Wed, 1 Dec 2021 10:53:17 +0000 (11:53 +0100)] 
Remove unused variable

2 years agoregress: fast-nodisk-testis now a reference for performance testing
Alain Spineux [Fri, 26 Nov 2021 09:57:10 +0000 (10:57 +0100)] 
regress: fast-nodisk-testis now a reference for performance testing

- plenty of option

--

2 years agoregress: fix stop_bacula in scripts/functions
Alain Spineux [Fri, 26 Nov 2021 09:52:16 +0000 (10:52 +0100)] 
regress: fix stop_bacula in scripts/functions

- bacula was not stopped when some type of error was detected
- setup estate=1 and let end_test handle the error

2 years agotypo in Makefile
Alain Spineux [Fri, 26 Nov 2021 09:50:08 +0000 (10:50 +0100)] 
typo in Makefile

- libtool instead of libtools

2 years agoregress: Update kubernetes plugin config file.
Radosław Korzeniewski [Tue, 30 Nov 2021 16:48:47 +0000 (17:48 +0100)] 
regress: Update kubernetes plugin config file.

2 years agopluginlib: A better handling of STAT:/... command in metaplugin.
Radosław Korzeniewski [Tue, 30 Nov 2021 16:48:18 +0000 (17:48 +0100)] 
pluginlib: A better handling of STAT:/... command in metaplugin.

2 years agoTweak MaximumVolumeSize error message in stored
Eric Bollengier [Tue, 30 Nov 2021 14:03:28 +0000 (15:03 +0100)] 
Tweak MaximumVolumeSize error message in stored

2 years agoFix #8275 About incorrect PostgreSQL/system TZ config
Eric Bollengier [Mon, 29 Nov 2021 16:11:37 +0000 (17:11 +0100)] 
Fix #8275 About incorrect PostgreSQL/system TZ config

2 years agoAdd tzset check in ./configure
Eric Bollengier [Mon, 29 Nov 2021 16:10:02 +0000 (17:10 +0100)] 
Add tzset check in ./configure

2 years agoAdd ASSERTD() to check the MAX_INI_ITEMS in plugin_display_options()
Eric Bollengier [Mon, 29 Nov 2021 15:14:42 +0000 (16:14 +0100)] 
Add ASSERTD() to check the MAX_INI_ITEMS in plugin_display_options()

2 years agoAllow up to 64 configuration items in ConfigIni object
Eric Bollengier [Mon, 29 Nov 2021 15:11:50 +0000 (16:11 +0100)] 
Allow up to 64 configuration items in ConfigIni object

2 years agoFix bfdjson with PluginOptions
Eric Bollengier [Mon, 29 Nov 2021 11:17:19 +0000 (12:17 +0100)] 
Fix bfdjson with PluginOptions

2 years agoFix #8398 About missing database field in upgrade procedure
Eric Bollengier [Mon, 29 Nov 2021 10:37:46 +0000 (11:37 +0100)] 
Fix #8398 About missing database field in upgrade procedure

2 years agopluginlib: Remove smart_lock.
Radosław Korzeniewski [Fri, 26 Nov 2021 17:20:24 +0000 (18:20 +0100)] 
pluginlib: Remove smart_lock.

2 years agoregress: Update metaplugin protocol tests.
Radosław Korzeniewski [Fri, 26 Nov 2021 16:34:31 +0000 (17:34 +0100)] 
regress: Update metaplugin protocol tests.

2 years agoregress: Add kubernetes regression tests.
Radosław Korzeniewski [Thu, 25 Nov 2021 17:39:48 +0000 (18:39 +0100)] 
regress: Add kubernetes regression tests.

2 years agokubernetes: Fix missing Unsupported backup level.
Radosław Korzeniewski [Thu, 25 Nov 2021 17:38:50 +0000 (18:38 +0100)] 
kubernetes: Fix missing Unsupported backup level.
Fixes #0008231.

2 years agopluginlib: Update metplugin to support PluginObj status.
Radosław Korzeniewski [Thu, 25 Nov 2021 07:49:19 +0000 (08:49 +0100)] 
pluginlib: Update metplugin to support PluginObj status.

This patch extend Metaplugin protocol for PluginObj
support with a new command: PLUGINOBJ_STATUS
This command takes a single argument and fill the
sp->plugin_obj.status variable as:
"OK" - PLUG_OBJ_STATUS_TERMINATED
"WARNING" - PLUG_OBJ_STATUS_WARNING
"ERROR" - PLUG_OBJ_STATUS_ERROR
"FATAL" - PLUG_OBJ_STATUS_FATAL
When not executed then a default status change from
"unknown" ('U') to PLUG_OBJ_STATUS_TERMINATED.
When PLUGINOBJ_STATUS will get an unknown status
then PLUG_OBJ_STATUS_ERROR will be set.

2 years agoAdd text search for mysql and fix issue with attachment query
Eric Bollengier [Thu, 23 Sep 2021 18:55:32 +0000 (20:55 +0200)] 
Add text search for mysql and fix issue with attachment query

2 years agoUpdate list medata usage message
Eric Bollengier [Mon, 29 Nov 2021 10:05:48 +0000 (11:05 +0100)] 
Update list medata usage message

2 years agoAdd dummy PKEY to new MySQL tables
Eric Bollengier [Fri, 26 Nov 2021 17:27:27 +0000 (18:27 +0100)] 
Add dummy PKEY to new MySQL tables

2 years agotweak comments
Eric Bollengier [Fri, 26 Nov 2021 17:05:52 +0000 (18:05 +0100)] 
tweak comments

2 years agoAdd bconsole .search command
Eric Bollengier [Fri, 19 Nov 2021 21:22:40 +0000 (22:22 +0100)] 
Add bconsole .search command

2 years agoFix memory leak when restore is aborted
Eric Bollengier [Fri, 19 Nov 2021 21:22:22 +0000 (22:22 +0100)] 
Fix memory leak when restore is aborted

2 years agokubernetes: Add Plugin Object support.
Radosław Korzeniewski [Fri, 11 Jun 2021 14:20:11 +0000 (16:20 +0200)] 
kubernetes: Add Plugin Object support.

This patch adds PluginObject support to the Kubernetes Backend.
Backup job will create two Plugin Objects:
1. aggregated number of PODs backuped
2. aggregated number and size of PVCs backuped
I.e.
*llist objects objectid=59
       objectid: 59
          jobid: 2,212
           path: /@kubernetes/
       filename:
     pluginname: kubernetes: ns=plugintest debug verify_ssl=0
 objectcategory: Container
     objecttype: POD
     objectname: Kubernetes PODs
   objectsource: 192.168.2.140:6443
     objectuuid: 192.168.2.140:6443
     objectsize: 0
   objectstatus: U
    objectcount: 8

*llist objects objectid=60
       objectid: 60
          jobid: 2,212
           path: /@kubernetes/
       filename:
     pluginname: kubernetes: ns=plugintest debug verify_ssl=0
 objectcategory: Container
     objecttype: PVC
     objectname: Kubernetes Persistent Volume Claims
   objectsource: 192.168.2.140:6443
     objectuuid: 192.168.2.140:6443
     objectsize: 5,368,709,120
   objectstatus: U
    objectcount: 5

2 years agoFix #8356 About very small max volume size
Michal Rakowski [Tue, 23 Nov 2021 15:34:36 +0000 (16:34 +0100)] 
Fix #8356 About very small max volume size