]>
git.ipfire.org Git - thirdparty/bacula.git/log
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.
Eric Bollengier [Thu, 23 Sep 2021 18:55:32 +0000 (20:55 +0200)]
Add text search for mysql and fix issue with attachment query
Eric Bollengier [Mon, 29 Nov 2021 10:05:48 +0000 (11:05 +0100)]
Update list medata usage message
Eric Bollengier [Fri, 26 Nov 2021 17:27:27 +0000 (18:27 +0100)]
Add dummy PKEY to new MySQL tables
Eric Bollengier [Fri, 26 Nov 2021 17:05:52 +0000 (18:05 +0100)]
tweak comments
Eric Bollengier [Fri, 19 Nov 2021 21:22:40 +0000 (22:22 +0100)]
Add bconsole .search command
Eric Bollengier [Fri, 19 Nov 2021 21:22:22 +0000 (22:22 +0100)]
Fix memory leak when restore is aborted
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
Michal Rakowski [Tue, 23 Nov 2021 15:34:36 +0000 (16:34 +0100)]
Fix #8356 About very small max volume size
Michal Rakowski [Tue, 23 Nov 2021 14:44:35 +0000 (15:44 +0100)]
regress: fix exclude-dir-test
Michal Rakowski [Mon, 22 Nov 2021 12:57:29 +0000 (13:57 +0100)]
Make 'list object' more resilient for invalid input
Radosław Korzeniewski [Wed, 10 Nov 2021 19:12:35 +0000 (20:12 +0100)]
pluginlib: Add named pipe support for Metaplugin extend STAT: command.
Michal Rakowski [Thu, 18 Nov 2021 12:28:07 +0000 (13:28 +0100)]
move 'check_for_invalid_chars' helper to common code
Michal Rakowski [Wed, 17 Nov 2021 11:42:44 +0000 (12:42 +0100)]
Tweak Status table to be in-sync with all Job statuses possible
Michal Rakowski [Mon, 15 Nov 2021 21:15:17 +0000 (22:15 +0100)]
Fix #8335 About 'llist jobs' showing jobstatuslong field
Eric Bollengier [Thu, 18 Nov 2021 13:59:43 +0000 (14:59 +0100)]
Fix compilation issue when ZLIB is available and not LZO and ZSTD
Michal Rakowski [Mon, 15 Nov 2021 21:50:45 +0000 (22:50 +0100)]
Fix #5240 About 'status client/storage' showing maxConcJobs
Michal Rakowski [Mon, 15 Nov 2021 09:31:39 +0000 (10:31 +0100)]
regress: Update status-test with disable client
Michal Rakowski [Mon, 15 Nov 2021 09:40:01 +0000 (10:40 +0100)]
Fix #8353 About 'status all' listing disable client
Radosław Korzeniewski [Fri, 5 Nov 2021 15:13:28 +0000 (16:13 +0100)]
kubernetes: Add BACKEND_TIMEOUT default option.
Radosław Korzeniewski [Fri, 5 Nov 2021 15:12:34 +0000 (16:12 +0100)]
pluginlib: Add per plugin IO timeout for backend.
Backend can define compile in timeout value with the following variable:
`const uint32_t BACKEND_TIMEOUT = 0; // use default`
The value set at this variable defines a timeout in seconds which will
be applied to all recvbackend_data() and sendbackend_data() calls.
The value of zero (0) setup a default timeout of 3600 seconds.
Set it to zero if unsure.
Radosław Korzeniewski [Fri, 5 Nov 2021 11:23:57 +0000 (12:23 +0100)]
kubernetes: Add DONOTSAVE_FT_PLUGIN_CONFIG option.
Radosław Korzeniewski [Fri, 5 Nov 2021 11:23:22 +0000 (12:23 +0100)]
pluginlib: Metaplugin avoid saving FT_PLUGIN_CONFIG Restore Options.
Add a new compile time variable:
const bool DONOTSAVE_FT_PLUGIN_CONFIG = false;
When `false` then Metaplugin will save plugin_items_dump[]
Restore Options as usual. When `true` then save is avoided.
Radosław Korzeniewski [Thu, 4 Nov 2021 17:24:07 +0000 (18:24 +0100)]
kubernetes: Add missing file.
Michal Rakowski [Thu, 4 Nov 2021 15:47:57 +0000 (16:47 +0100)]
Fix #390 About Job Message for 'ExcludeDirContaining'
Michal Rakowski [Fri, 5 Nov 2021 20:01:49 +0000 (21:01 +0100)]
Fix #7946 About distro's 'unknown' string not informative enough
Alain Spineux [Thu, 4 Nov 2021 17:12:27 +0000 (18:12 +0100)]
remove the meaning less "Drive X is not loaded" for virtual autochanger
- in "status storage" output
Device Dedup is "Drive-9" (/home/bac/workspace2/bee/regress/tmp) mounted with:
Volume: TestVolume005
Pool: Full
Media type: DedupMedia
Total Bytes=1,495,682,876 Blocks=247 Bytes/block=6,055,396
Positioned at File=0 Block=0
Drive 9 is not loaded. <=========== REMOVE THIS ========
Available Space=21.78 GB
Michal Rakowski [Thu, 4 Nov 2021 12:51:50 +0000 (13:51 +0100)]
Fix #8240 About wrong path in update_bacula_tables
Michal Rakowski [Thu, 4 Nov 2021 12:36:34 +0000 (13:36 +0100)]
Fix #8224 About the 'MutliDBConn' typo
Radosław Korzeniewski [Thu, 4 Nov 2021 13:59:52 +0000 (14:59 +0100)]
pluginlib: Metaplugin - add symbolic link support for external STAT command.
Radosław Korzeniewski [Thu, 4 Nov 2021 12:42:26 +0000 (13:42 +0100)]
pluginlib: Correct build after qemu plugin merge.
Michal Rakowski [Thu, 4 Nov 2021 12:13:10 +0000 (13:13 +0100)]
rpms: Add 'libcap-devel' requirement for the redhat and suse builds
Michal Rakowski [Thu, 4 Nov 2021 11:52:30 +0000 (12:52 +0100)]
Fix #8151 About logging IP address for security messages
Eric Bollengier [Mon, 1 Nov 2021 10:04:10 +0000 (11:04 +0100)]
regress: Fix permission on base32-unittests
Michal Rakowski [Wed, 27 Oct 2021 15:32:40 +0000 (17:32 +0200)]
regress: add fd-jobuser-test
Michal Rakowski [Wed, 27 Oct 2021 13:54:55 +0000 (15:54 +0200)]
Add 'BackupJobUser' and 'RestoreJobUser' FD directives
radekk [Fri, 29 Oct 2021 09:28:46 +0000 (05:28 -0400)]
pluginlib: Fix compilation on older compilers.
Radosław Korzeniewski [Tue, 26 Oct 2021 17:11:43 +0000 (19:11 +0200)]
pluginlib: Update execprog to better handle termination.
Norbert Bizet [Mon, 30 Aug 2021 18:15:02 +0000 (14:15 -0400)]
cloud: Adapt aws driver
Norbert Bizet [Fri, 27 Aug 2021 17:21:41 +0000 (13:21 -0400)]
regress: Build aws driver within regress tests
Norbert Bizet [Fri, 27 Aug 2021 17:20:24 +0000 (13:20 -0400)]
regress: "Amazon" is a new cloud type
Norbert Bizet [Thu, 28 Oct 2021 08:20:51 +0000 (04:20 -0400)]
cloud: update Makefiles
Norbert Bizet [Fri, 27 Aug 2021 10:06:32 +0000 (06:06 -0400)]
cloud: Add aws_cloud_driver to regress cleanup script
Norbert Bizet [Fri, 27 Aug 2021 10:05:07 +0000 (06:05 -0400)]
cloud: Add generic aws_cloud_driver
Radosław Korzeniewski [Mon, 25 Oct 2021 19:26:16 +0000 (21:26 +0200)]
pluginlib: Update pluginclass to better handle listing.
Eric Bollengier [Mon, 25 Oct 2021 15:43:37 +0000 (17:43 +0200)]
Add install-bjoblist target to src/tools/Makefile
Eric Bollengier [Mon, 25 Oct 2021 13:16:33 +0000 (15:16 +0200)]
Fix plugins/Makefile.inc.in
Radosław Korzeniewski [Thu, 21 Oct 2021 17:33:12 +0000 (19:33 +0200)]
pluginlib: Add pluginlib::parse_param_add_str().
Radosław Korzeniewski [Tue, 19 Oct 2021 15:43:34 +0000 (17:43 +0200)]
pluginlib: Fix pluginclass accurate mode handling.
Radosław Korzeniewski [Tue, 19 Oct 2021 15:43:05 +0000 (17:43 +0200)]
pluginlib: Update execprog class.
Radosław Korzeniewski [Fri, 15 Oct 2021 13:44:37 +0000 (15:44 +0200)]
Fix regression in smart_alist.
Radosław Korzeniewski [Thu, 14 Oct 2021 15:26:31 +0000 (17:26 +0200)]
Add copy operator to smartalist.
Radosław Korzeniewski [Thu, 14 Oct 2021 15:25:42 +0000 (17:25 +0200)]
pluginclass: Fix command parsing.
Radosław Korzeniewski [Thu, 16 Sep 2021 11:22:33 +0000 (13:22 +0200)]
pluginlib: Create plugin base framework for FD Plugins.
Radosław Korzeniewski [Thu, 16 Sep 2021 11:16:55 +0000 (13:16 +0200)]
Update pluginlib build.
Michal Rakowski [Mon, 18 Oct 2021 21:25:01 +0000 (23:25 +0200)]
regress: add fd-allowed-restore-dir-test
Michal Rakowski [Mon, 18 Oct 2021 21:27:51 +0000 (23:27 +0200)]
Add 'AllowedRestoreDirectories' directive for the FD
Michal Rakowski [Mon, 18 Oct 2021 20:04:32 +0000 (22:04 +0200)]
remove redundant restore_cleanup()
For the success path, it's called anyway, for the error path it's called
if the `do_restore()` fails, so there is no need to call it twice.
Alain Spineux [Fri, 22 Oct 2021 14:29:49 +0000 (16:29 +0200)]
bgit.py: add a --path filter to only shows commit related to a file or dir
- for example to have the changes related only to dedup2:
$ bgit.py cmp_branch --sha --path bacula/src/stored/dedup2 bee/Branch-12.8 bee/alain-12.9-dedup2-lsoc
Michal Rakowski [Sat, 23 Oct 2021 19:46:25 +0000 (21:46 +0200)]
regress: add fd-excluded-backup-dir-test
Michal Rakowski [Wed, 20 Oct 2021 21:22:14 +0000 (23:22 +0200)]
Add ExcludedBackupDirectories FD directive
Arnaud Garin [Fri, 22 Oct 2021 12:49:24 +0000 (14:49 +0200)]
regress: Add bjoblist-test
Arnaud Garin [Fri, 22 Oct 2021 12:46:12 +0000 (14:46 +0200)]
Fix typo in bjoblist
Eric Bollengier [Mon, 18 Oct 2021 20:17:27 +0000 (22:17 +0200)]
Add update_..._tables_1024_to_1025 to ./configure.in
Eric Bollengier [Mon, 18 Oct 2021 18:53:33 +0000 (20:53 +0200)]
Use transation to create PostgreSQL schema
Norbert Bizet [Mon, 18 Oct 2021 14:51:09 +0000 (10:51 -0400)]
regress: Fix antivirus regression test header
Michal Rakowski [Fri, 15 Oct 2021 08:39:01 +0000 (10:39 +0200)]
regress: add fd-allowed-scripts-dirs-test
Michal Rakowski [Fri, 15 Oct 2021 15:52:52 +0000 (17:52 +0200)]
Extend 'berrno' class with Bacula-specific error handling
Norbert Bizet [Tue, 12 Oct 2021 13:42:20 +0000 (09:42 -0400)]
antivirus regress test. Install antivirus before running test.
Eric Bollengier [Mon, 18 Oct 2021 13:39:56 +0000 (15:39 +0200)]
Tweak updatedb scripts
Eric Bollengier [Fri, 15 Oct 2021 13:47:04 +0000 (15:47 +0200)]
Update SQL scripts for version 1025
Eric Bollengier [Fri, 15 Oct 2021 11:50:05 +0000 (13:50 +0200)]
totp-bpam: Add support for qrencode 3.x on Redhat
Eric Bollengier [Fri, 15 Oct 2021 09:13:32 +0000 (11:13 +0200)]
Fix compilation when LZO is not available
Eric Bollengier [Thu, 14 Oct 2021 14:01:12 +0000 (16:01 +0200)]
Fix zstd issue in ./configure.in
Eric Bollengier [Thu, 14 Oct 2021 12:21:32 +0000 (14:21 +0200)]
rpms: Add dependency for libzstd
Eric Bollengier [Thu, 14 Oct 2021 12:21:13 +0000 (14:21 +0200)]
Fix compilation warnings
Michal Rakowski [Wed, 13 Oct 2021 16:59:41 +0000 (18:59 +0200)]
Fix append/immutable compilation problem for Windows
Michal Rakowski [Wed, 13 Oct 2021 16:59:25 +0000 (18:59 +0200)]
update autoconf
Eric Bollengier [Wed, 13 Oct 2021 15:40:17 +0000 (17:40 +0200)]
regress: Schedule ZSTD test in CDASH
Eric Bollengier [Wed, 13 Oct 2021 15:30:05 +0000 (17:30 +0200)]
Add ZSTD to Windows build
Eric Bollengier [Wed, 13 Oct 2021 11:56:57 +0000 (13:56 +0200)]
Tweak ZSTD detection in configure.in
Eric Bollengier [Tue, 12 Oct 2021 15:29:32 +0000 (17:29 +0200)]
regress: Add zstd-test
Eric Bollengier [Tue, 12 Oct 2021 15:28:58 +0000 (17:28 +0200)]
Add ZSTD compression support
Eric Bollengier [Wed, 13 Oct 2021 15:03:21 +0000 (17:03 +0200)]
Fix postgresql catalog creation script
Michal Rakowski [Mon, 20 Sep 2021 19:39:31 +0000 (21:39 +0200)]
regress: add fd-allowed-backup-dir-test
Michal Rakowski [Mon, 20 Sep 2021 19:23:34 +0000 (21:23 +0200)]
Add 'AllowedBackupDir' FD directive
Alain Spineux [Fri, 8 Oct 2021 12:23:58 +0000 (14:23 +0200)]
fix memory leak in ProgressCounter
Michal Rakowski [Tue, 31 Aug 2021 11:01:35 +0000 (13:01 +0200)]
regress: add append and immutable volume tests
WARNING: To be able to run this test you have to be sure that Bacula
is configured with systemd support (--with-systemd)
and that correct bacula-sd.service exists in your systemd directory.
Also see platforms/systed.
Michal Rakowski [Thu, 2 Sep 2021 14:32:52 +0000 (16:32 +0200)]
Add support for the APPEND and IMMUTABLE flags for File Volumes
Michal Rakowski [Thu, 9 Sep 2021 11:04:19 +0000 (13:04 +0200)]
Check for the needed capabilites at the SD startup
Michal Rakowski [Fri, 10 Sep 2021 15:45:51 +0000 (17:45 +0200)]
update autoconf
Eric Bollengier [Tue, 12 Oct 2021 08:18:03 +0000 (10:18 +0200)]
Fix SQLite3 new Client::Plugins field
Norbert Bizet [Tue, 12 Oct 2021 09:57:51 +0000 (11:57 +0200)]
regress: Add antivirus test
Eric Bollengier [Tue, 12 Oct 2021 07:14:13 +0000 (09:14 +0200)]
Enhance plugin_verify_data_close() plugin interface
Eric Bollengier [Mon, 11 Oct 2021 19:15:44 +0000 (21:15 +0200)]
Fix windows compilation
Eric Bollengier [Mon, 11 Oct 2021 08:27:08 +0000 (10:27 +0200)]
Add support for PluginOptions
Radosław Korzeniewski [Sat, 9 Oct 2021 15:51:13 +0000 (17:51 +0200)]
metaplugin: Add missing files.
Eric Bollengier [Sat, 9 Oct 2021 09:23:03 +0000 (11:23 +0200)]
Fix src/plugins/dird/Makefile.in
Norbert Bizet [Fri, 8 Oct 2021 16:46:55 +0000 (12:46 -0400)]
antivirus: Add Antivirus plugin with Clamav backend
Norbert Bizet [Fri, 8 Oct 2021 16:54:46 +0000 (12:54 -0400)]
Add simple send() function to bsockcore