Changesets: bareos
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 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 | ||
master 7e7d6d5e 2023-11-20 12:12 Bareos Bot Ported: N/A Details Diff |
Update CHANGELOG.md | ||
mod - CHANGELOG.md | Diff File | ||
master 398c483e 2023-11-20 11:19 Ported: N/A Details Diff |
cmake: set some baseline compile flags by default Previously, if you built Bareos without setting any options yourself, you would get an unoptimized build. With this patch, if you do not set any C and C++ compiler flags and also did not select a CMake build-type, we will automatically set the build-type to RelWithDebInfo (i.e. some optimizations, but with full debugging symbols). As we don't want to have assertions disabled in our builds, CMake will now also filter out the flags -DNDEBUG and /DNDEBUG from all build-type defaults. |
||
mod - CMakeLists.txt | Diff File | ||
add - cmake/RemoveNDebugFlag.cmake | Diff File | ||
master af77067d 2023-11-20 10:19 Sebastian Sura Committer: Bareos Bot Ported: N/A Details Diff |
py3plug-fd-basic: add test checking cancel crash The new test tries to cancel the job while the job is inside the plugin module. This is to check whether there are any crashes. |
||
mod - core/src/plugins/filed/python/module/bareosfd.cc | Diff File | ||
add - systemtests/tests/py3plug-fd-basic/etc/bareos/bareos-dir.d/fileset/CancelFileset.conf.in | Diff File | ||
add - systemtests/tests/py3plug-fd-basic/etc/bareos/bareos-dir.d/job/cancel-check.conf | Diff File | ||
add - systemtests/tests/py3plug-fd-basic/python-modules/cancel-check-module.py | Diff File | ||
add - systemtests/tests/py3plug-fd-basic/testrunner-cancel-check | Diff File |