Changesets: bareos
|
master 399b037a 2023-11-23 20:41 Ported: N/A Details Diff |
python-fd: allow getting configuration file path This patch adds bVarUsedConfig that provides the path to the configuration that the fd uses. This will contain something like `/etc/bareos/bareos-fd.d/*/*.conf`. |
||
| mod - core/src/filed/fd_plugins.cc | Diff File | ||
| mod - core/src/filed/fd_plugins.h | Diff File | ||
| mod - core/src/plugins/filed/python/module/bareosfd.cc | Diff File | ||
| mod - core/src/plugins/filed/python/module/bareosfd.h | Diff File | ||
| mod - core/src/tests/CMakeLists.txt | Diff File | ||
| mod - core/src/tests/test_fd_plugins.cc | Diff File | ||
|
master 4d2196b3 2023-11-23 17:09 SamuelBoerlin Committer: Bareos Bot Ported: N/A Details Diff |
restore: make fileregex more like file parameter | ||
| mod - core/src/dird/ua_restore.cc | Diff File | ||
| mod - systemtests/tests/restore/testrunner-restore-fileregex | Diff File | ||
|
master e252cc70 2023-11-23 13:23 Ported: N/A Details Diff |
python-fd: merge postgres plugin into one file | ||
| mod - core/platforms/packaging/bareos.spec | Diff File | ||
| mod - core/src/plugins/filed/python/CMakeLists.txt | Diff File | ||
| rm - core/src/plugins/filed/python/postgres/BareosFdPluginPostgres.py | Diff File | ||
| mod - core/src/plugins/filed/python/postgres/bareos-fd-postgres.py | Diff File | ||
| mod - debian/bareos-filedaemon-postgresql-python-plugin.install.in | Diff File | ||
|
master 24598afc 2023-11-23 12:25 Ported: N/A Details Diff |
python-fd: merge vmware plugin into one file | ||
| mod - core/platforms/packaging/bareos.spec | Diff File | ||
| mod - core/src/plugins/filed/python/CMakeLists.txt | Diff File | ||
| rm - core/src/plugins/filed/python/vmware/BareosFdPluginVMware.py | Diff File | ||
| mod - core/src/plugins/filed/python/vmware/bareos-fd-vmware.py | Diff File | ||
| mod - core/src/vmware/vmware_plugin/CMakeLists.txt | Diff File | ||
| mod - debian/bareos-vmware-plugin.install | Diff File | ||
|
master a597c884 2023-11-23 09:48 Ported: N/A Details Diff |
systemtests: fix problem in postgres tests | ||
| mod - systemtests/tests/py3plug-fd-postgres/testrunner-default | Diff File | ||
| mod - systemtests/tests/py3plug-fd-postgres/testrunner-roles | Diff File | ||
|
master ad220929 2023-11-22 18:23 Ported: N/A Details Diff |
systemtests: don't depend on LocalFileset plugin | ||
| mod - systemtests/tests/python-bareos/etc/bareos/bareos-dir.d/fileset/PluginOptionsTest.conf.in | Diff File | ||
| rm - systemtests/tests/python-bareos/python-modules/bareos_fd_pluginoptions/__init__.py | Diff File | ||
|
master f560fe6b 2023-11-22 17:06 Ported: N/A Details Diff |
python-fd: merge xtrabackup plugin into one file | ||
| mod - core/platforms/packaging/bareos.spec | Diff File | ||
| mod - core/src/plugins/filed/python/CMakeLists.txt | Diff File | ||
| rm - core/src/plugins/filed/python/percona-xtrabackup/BareosFdPluginPerconaXtraBackup.py | Diff File | ||
| mod - core/src/plugins/filed/python/percona-xtrabackup/bareos-fd-percona-xtrabackup.py | Diff File | ||
| mod - debian/bareos-filedaemon-percona-xtrabackup-python-plugin.install.in | Diff File | ||
|
master d15edfa8 2023-11-22 16:45 Ported: N/A Details Diff |
python-fd: merge local-fileset into one file | ||
| mod - core/platforms/freebsd/bareos-freebsd/bareos.com-common/pkg-plist.filedaemon-python-plugins-common | Diff File | ||
| mod - core/platforms/packaging/bareos.spec | Diff File | ||
| mod - core/src/plugins/filed/python/CMakeLists.txt | Diff File | ||
| rm - core/src/plugins/filed/python/pyfiles/BareosFdPluginLocalFileset.py | Diff File | ||
| mod - core/src/plugins/filed/python/pyfiles/bareos-fd-local-fileset.py | Diff File | ||
| mod - debian/bareos-filedaemon-python-plugins-common.install.in | Diff File | ||
|
master 4922b502 2023-11-22 16:42 Ported: N/A Details Diff |
python-fd: merge mariabackup plugin files | ||
| mod - core/platforms/packaging/bareos.spec | Diff File | ||
| mod - core/src/plugins/filed/python/CMakeLists.txt | Diff File | ||
| rm - core/src/plugins/filed/python/mariabackup/BareosFdPluginMariabackup.py | Diff File | ||
| mod - core/src/plugins/filed/python/mariabackup/bareos-fd-mariabackup.py | Diff File | ||
| mod - debian/bareos-filedaemon-mariabackup-python-plugin.install.in | Diff File | ||
|
master 775d0885 2023-11-22 16:37 Ported: N/A Details Diff |
python-fd: merge ldap plugin into a single file | ||
| mod - core/platforms/freebsd/bareos-freebsd/bareos.com-common/pkg-plist.filedaemon-ldap-python-plugin | Diff File | ||
| mod - core/platforms/packaging/bareos.spec | Diff File | ||
| mod - core/src/plugins/filed/python/CMakeLists.txt | Diff File | ||
| rm - core/src/plugins/filed/python/ldap/BareosFdPluginLDAP.py | Diff File | ||
| mod - core/src/plugins/filed/python/ldap/bareos-fd-ldap.py | Diff File | ||
| mod - debian/bareos-filedaemon-ldap-python-plugin.install.in | Diff File | ||
|
master f5f5eec0 2023-11-22 16:34 Ported: N/A Details Diff |
python-fd: make failed plugin-load fatal Just returning bRC_Error from load_bareos_plugin() is apparently not enough to make Bareos fail the backup. Thus we emit an M_FATAL instead of an M_ERROR to fast-fail the job. This also fixes a subtle bug in the class decorator: as we weren't returning the class, the class itself was not available under its name which could lead to strange effects. |
||
| mod - core/src/plugins/filed/python/pyfiles/BareosFdWrapper.py | Diff File | ||
|
master 9c58c8c7 2023-11-22 15:04 Ported: N/A Details Diff |
postgresql plugin: improve compatibility This patch makes the plugin compatible to PostgreSQL 10 again. |
||
| mod - core/src/plugins/filed/python/postgresql/bareos-fd-postgresql.py | Diff File | ||
| mod - systemtests/tests/py3plug-fd-postgresql/testrunner-roles | Diff File | ||
|
master 2c9735d7 2023-11-22 11:31 Sebastian Sura Committer: Bareos Bot Ported: N/A Details Diff |
python-fd: prepare for 3.12 | ||
| mod - core/src/plugins/filed/python/python-fd.cc | Diff File | ||
|
master 440e3da0 2023-11-22 10:37 Sebastian Sura Committer: Bareos Bot Ported: N/A Details Diff |
python-fd: fix multi plugin setups | ||
| mod - core/src/plugins/filed/python/plugin_private_context.h | Diff File | ||
| mod - core/src/plugins/filed/python/python-fd.cc | Diff File | ||
|
master 909e5fa9 2023-11-22 08:58 Sebastian Sura Committer: Bareos Bot Ported: N/A Details Diff |
reload: fix race condition The base config path may change on a reload! |
||
| mod - core/src/dird/reload.cc | Diff File | ||
|
master 5ce7f477 2023-11-22 08:44 Sebastian Sura Committer: Bareos Bot Ported: N/A Details Diff |
reload: fix race condition is_reloading can written to/ read from multiple different threads at the same time. As such we cannot just do a test-then-set approach (even if each of those operations were atomic). Instead we need to atomically test _and_ set the flag to actually prevent two different threads from entering. |
||
| mod - core/src/dird/reload.cc | Diff File | ||
|
master 18d9ce09 2023-11-22 08:43 Sebastian Sura Committer: Bareos Bot Ported: N/A Details Diff |
jcr: fix compiler warnings std::find_if is sometimes declared as [[nodiscard]]. As such we should not ignore its return value. This commit also slightly refactors the code to remove the use of std::find_if alltogether. |
||
| mod - core/src/include/jcr.h | Diff File | ||
| mod - core/src/lib/jcr.cc | Diff File | ||
|
master 73a3ec43 2023-11-21 19:55 Committer: arogge Ported: N/A Details Diff |
macos: add missing library required for macOS >= 14. Fixes 0001565: bareos-fd crash on macOS 14.1 Sonoma |
Affected Issues 0001565 |
|
| mod - core/CMakeLists.txt | Diff File | ||
|
master 6b7237cb 2023-11-21 19:47 Committer: arogge Ported: N/A Details Diff |
cmake: set ENABLE_NLS=1 only if not defined | ||
| mod - cmake/BareosSetVariableDefaults.cmake | Diff File | ||
|
master 8722ba13 2023-11-21 13:11 Committer: arogge Ported: N/A Details Diff |
macos: use homebrew path | ||
| mod - core/CMakeLists.txt | Diff File | ||
| mod - core/cmake/BareosFindAllLibraries.cmake | Diff File | ||
| mod - core/cmake/FindReadline.cmake | Diff File | ||
| mod - core/src/plugins/CMakeLists.txt | Diff File | ||
|
master e9bf7643 2023-11-21 09:19 Ported: N/A Details Diff |
plugin: fd mariabackup add support for mariadb 11+ - cmake introduce consistent cmake variable MARIADB_BACKUP_BINARY instead of MARIABACKUP_BINARY - cmake replace all call of mysql cmd to their mariadb equivalent Mariadb >11 start echoing deprecated warning. + mysql -> mariadb + mysqld -> mariadbd + mariabackup -> mariadb-backup - split testrunner to setup,cleanup,default - fileset replace hardcoded mysql by @MARIADB_CLIENT_BINARY@ - add function check_plugin_mariadb_version() this is needed to pick the right stream filename depending of the version. (xbstream or mbstream) - refactor start_backup_job() function - add function get_lsn_by_command() - add function parse_innodb_status(res) which can be used by cmd and mysqlclient - re-add self.restorecommand init in parse_plugin_definition so restore directory is new for each file - reword xbstream to mbstream expect for the protocol name - improve logging placement statements - use black for formating - fix my.cnf usage mariadb package hard require python3-mysqlclient module on SUSE. The code using this module is then used during testing; to be able to connect to the right instance we need to provide a default config file. Signed-off-by: Bruno Friedmann <bruno.friedmann@bareos.com> |
||
| mod - core/cmake/BareosFindPrograms.cmake | Diff File | ||
| mod - core/src/plugins/filed/python/mariabackup/bareos-fd-mariabackup.py | Diff File | ||
| mod - systemtests/environment.in | Diff File | ||
| mod - systemtests/tests/py3plug-fd-mariabackup/CMakeLists.txt | Diff File | ||
| mod - systemtests/tests/py3plug-fd-mariabackup/etc/bareos/bareos-dir.d/fileset/MariabackupTest.conf.in | Diff File | ||
| rm - systemtests/tests/py3plug-fd-mariabackup/testrunner | Diff File | ||
| add - systemtests/tests/py3plug-fd-mariabackup/testrunner-default | Diff File | ||
|
master 3cf2ddc3 2023-11-21 08:42 Sebastian Sura Committer: Bareos Bot Ported: N/A Details Diff |
py3plug-fd-basic: add cancel test that does not wait | ||
| add - systemtests/tests/py3plug-fd-basic/etc/bareos/bareos-dir.d/fileset/CancelNoWaitFileset.conf | Diff File | ||
| add - systemtests/tests/py3plug-fd-basic/testrunner-cancel-check-no-wait | Diff File | ||
|
master f6e861eb 2023-11-21 08:32 Sebastian Sura Committer: Bareos Bot Ported: N/A Details Diff |
cancel-check-test: add option to not wait for cancellation This allows us to test what happens if the plugin finishes the backup while the cancelation is still ongoing. |
||
| mod - systemtests/tests/py3plug-fd-basic/python-modules/cancel-check-module.py | Diff File | ||
|
master a49742a9 2023-11-21 07:51 Sebastian Sura Committer: Bareos Bot Ported: N/A Details Diff |
jcr/fd: add cancel check before destruction This prevents the situation where one thread is still trying to cancel something while another is already destroying parts of the jcr. |
||
| mod - core/src/filed/dir_cmd.cc | Diff File | ||
| mod - core/src/include/jcr.h | Diff File | ||
| mod - core/src/lib/jcr.cc | Diff File | ||
|
master daef1187 2023-11-20 12:12 Bareos Bot Committer: GitHub Ported: N/A Details Diff |
Merge pull request 0001599 postgresql plugin: read config parameters from cluster |
||
| mod - CHANGELOG.md | Diff File | ||
| mod - core/src/plugins/filed/python/postgresql/bareos-fd-postgresql.py | Diff File | ||
| mod - docs/manuals/source/TasksAndConcepts/Plugins/FileDaemonPlugins/PostgreSQLPlugin.rst.inc | Diff File | ||
| mod - systemtests/tests/py3plug-fd-postgresql/database/setup_local_db.sh.in | Diff File | ||
| mod - systemtests/tests/py3plug-fd-postgresql/etc/bareos/bareos-dir.d/fileset/PluginTest.conf.in | Diff File | ||
| add - systemtests/tests/py3plug-fd-postgresql/etc/bareos/bareos-dir.d/fileset/PluginTestDebian.conf.in | Diff File | ||
| mod - systemtests/tests/py3plug-fd-postgresql/etc/bareos/bareos-dir.d/fileset/PluginTestNoRole.conf.in | Diff File | ||
| mod - systemtests/tests/py3plug-fd-postgresql/etc/bareos/bareos-dir.d/fileset/PluginTestRole.conf.in | Diff File | ||
| mod - systemtests/tests/py3plug-fd-postgresql/etc/bareos/bareos-dir.d/fileset/PluginTestTablespace.conf.in | Diff File | ||
| add - systemtests/tests/py3plug-fd-postgresql/etc/bareos/bareos-dir.d/fileset/PluginTestWalSymlink.conf.in | Diff File | ||
| add - systemtests/tests/py3plug-fd-postgresql/testrunner-debian | Diff File | ||
| mod - systemtests/tests/py3plug-fd-postgresql/testrunner-roles | Diff File | ||
| add - systemtests/tests/py3plug-fd-postgresql/testrunner-walsymlink | Diff File | ||