Changesets: bareos
bareos-18.2 b7597ce2 2020-09-10 18:21 Ported: N/A Details Diff |
filed: ldap - detect missing data during restore When the LDAP plugin fails to back up an object, it will be recorded in the catlog, but the data will be missing. Previously these objects were silently ignored during restore, leading to an incomplete set of restored objects. This patch now adds a rudimentary detection of this case by checking if plugin_io() is called with IO_READ, IO_WRITE or IO_SEEK between the calls to IO_OPEN and IO_CLOSE. When there is no call we now emit a warning that there was no data to restore the object. (backport of commit e9b60b1b7c320abcda2288ffa2c394880a5858cd) |
||
mod - core/src/plugins/filed/BareosFdPluginLDAP.py | Diff File | ||
master 41bb9f64 2020-09-10 17:45 Ported: N/A Details Diff |
systemtests: add systemtest for filed ldap plugin | ||
mod - systemtests/CMakeLists.txt | Diff File | ||
add - systemtests/data/image.tgz | Diff File | ||
mod - systemtests/environment.in | Diff File | ||
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-dir.d/catalog/MyCatalog.conf.in | Diff File | ||
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-dir.d/client/bareos-fd.conf.in | Diff File | ||
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-dir.d/console/bareos-mon.conf.in | Diff File | ||
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-dir.d/director/bareos-dir.conf.in | Diff File | ||
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-dir.d/fileset/Catalog.conf.in | Diff File | ||
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-dir.d/fileset/PluginTest.conf.in | Diff File | ||
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-dir.d/fileset/SelfTest.conf.in | Diff File | ||
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-dir.d/job/BackupCatalog.conf.in | Diff File | ||
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-dir.d/job/RestoreFiles.conf.in | Diff File | ||
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-dir.d/job/backup-bareos-fd.conf.in | Diff File | ||
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-dir.d/jobdefs/DefaultJob.conf.in | Diff File | ||
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-dir.d/messages/Daemon.conf.in | Diff File | ||
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-dir.d/messages/Standard.conf.in | Diff File | ||
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-dir.d/pool/Differential.conf | Diff File | ||
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-dir.d/pool/Full.conf | Diff File | ||
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-dir.d/pool/Incremental.conf | Diff File | ||
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-dir.d/pool/Scratch.conf | Diff File | ||
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-dir.d/profile/operator.conf | Diff File | ||
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-dir.d/storage/File.conf.in | Diff File | ||
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-fd.d/client/myself.conf.in | Diff File | ||
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-fd.d/director/bareos-dir.conf.in | Diff File | ||
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-fd.d/director/bareos-mon.conf.in | Diff File | ||
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-fd.d/messages/Standard.conf | Diff File | ||
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-sd.d/device/FileStorage.conf.in | Diff File | ||
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-sd.d/director/bareos-dir.conf.in | Diff File | ||
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-sd.d/director/bareos-mon.conf.in | Diff File | ||
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-sd.d/messages/Standard.conf | Diff File | ||
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-sd.d/storage/bareos-sd.conf.in | Diff File | ||
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bconsole.conf.in | Diff File | ||
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/tray-monitor.d/client/FileDaemon-local.conf.in | Diff File | ||
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/tray-monitor.d/director/Director-local.conf.in | Diff File | ||
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/tray-monitor.d/monitor/bareos-mon.conf.in | Diff File | ||
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/tray-monitor.d/storage/StorageDaemon-local.conf.in | Diff File | ||
add - systemtests/tests/py2plug-fd-ldap/testdata.py | Diff File | ||
add - systemtests/tests/py2plug-fd-ldap/testrunner | Diff File | ||
bareos-19.2 948fccae 2020-09-10 17:45 Ported: N/A Details Diff |
systemtests: add systemtest for filed ldap plugin (backported from commit 41bb9f649f7735bc0e5966a0b2adb2b5ebeb16e9) |
||
mod - systemtests/CMakeLists.txt | Diff File | ||
add - systemtests/data/image.tgz | Diff File | ||
mod - systemtests/environment.in | Diff File | ||
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-dir.d/catalog/MyCatalog.conf.in | Diff File | ||
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-dir.d/client/bareos-fd.conf.in | Diff File | ||
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-dir.d/console/bareos-mon.conf.in | Diff File | ||
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-dir.d/director/bareos-dir.conf.in | Diff File | ||
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-dir.d/fileset/Catalog.conf.in | Diff File | ||
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-dir.d/fileset/PluginTest.conf.in | Diff File | ||
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-dir.d/fileset/SelfTest.conf.in | Diff File | ||
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-dir.d/job/BackupCatalog.conf.in | Diff File | ||
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-dir.d/job/RestoreFiles.conf.in | Diff File | ||
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-dir.d/job/backup-bareos-fd.conf.in | Diff File | ||
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-dir.d/jobdefs/DefaultJob.conf.in | Diff File | ||
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-dir.d/messages/Daemon.conf.in | Diff File | ||
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-dir.d/messages/Standard.conf.in | Diff File | ||
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-dir.d/pool/Differential.conf | Diff File | ||
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-dir.d/pool/Full.conf | Diff File | ||
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-dir.d/pool/Incremental.conf | Diff File | ||
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-dir.d/pool/Scratch.conf | Diff File | ||
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-dir.d/profile/operator.conf | Diff File | ||
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-dir.d/storage/File.conf.in | Diff File | ||
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-fd.d/client/myself.conf.in | Diff File | ||
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-fd.d/director/bareos-dir.conf.in | Diff File | ||
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-fd.d/director/bareos-mon.conf.in | Diff File | ||
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-fd.d/messages/Standard.conf | Diff File | ||
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-sd.d/device/FileStorage.conf.in | Diff File | ||
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-sd.d/director/bareos-dir.conf.in | Diff File | ||
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-sd.d/director/bareos-mon.conf.in | Diff File | ||
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-sd.d/messages/Standard.conf | Diff File | ||
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-sd.d/storage/bareos-sd.conf.in | Diff File | ||
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bconsole.conf.in | Diff File | ||
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/tray-monitor.d/client/FileDaemon-local.conf.in | Diff File | ||
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/tray-monitor.d/director/Director-local.conf.in | Diff File | ||
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/tray-monitor.d/monitor/bareos-mon.conf.in | Diff File | ||
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/tray-monitor.d/storage/StorageDaemon-local.conf.in | Diff File | ||
add - systemtests/tests/py2plug-fd-ldap/testdata.py | Diff File | ||
add - systemtests/tests/py2plug-fd-ldap/testrunner | Diff File | ||
master 35451a0e 2020-09-10 17:37 Ported: N/A Details Diff |
filed: ldap - improve path handling on restore Previously the destination dn when restoring an ldap object was generated in a way that made it really hard to restore do a different location. This patch replaces the parser with a much more relaxed approach that accepts different syntaxes. The new behaviour uses every path component that contains an equals-sign (=) and builds a DN out of these. |
||
mod - core/src/plugins/filed/python/ldap/BareosFdPluginLDAP.py | Diff File | ||
bareos-19.2 61d53605 2020-09-10 17:37 Ported: N/A Details Diff |
filed: ldap - improve path handling on restore Previously the destination dn when restoring an ldap object was generated in a way that made it really hard to restore do a different location. This patch replaces the parser with a much more relaxed approach that accepts different syntaxes. The new behaviour uses every path component that contains an equals-sign (=) and builds a DN out of these. (backport of commit 35451a0e75b2f71f6580599884f11906046e517a) |
||
mod - core/src/plugins/filed/BareosFdPluginLDAP.py | Diff File | ||
bareos-18.2 58c65c5b 2020-09-10 17:37 Ported: N/A Details Diff |
filed: ldap - improve path handling on restore Previously the destination dn when restoring an ldap object was generated in a way that made it really hard to restore do a different location. This patch replaces the parser with a much more relaxed approach that accepts different syntaxes. The new behaviour uses every path component that contains an equals-sign (=) and builds a DN out of these. (backport of commit 35451a0e75b2f71f6580599884f11906046e517a) |
||
mod - core/src/plugins/filed/BareosFdPluginLDAP.py | Diff File | ||
master ecbed634 2020-09-10 17:20 Ported: N/A Details Diff |
debian packaging: package the correct python3 python modules | ||
mod - debian/bareos-director-python3-plugin.install.in | Diff File | ||
mod - debian/bareos-filedaemon-python3-plugin.install.in | Diff File | ||
mod - debian/bareos-storage-python3-plugin.install.in | Diff File | ||
master ef82d6fd 2020-09-10 15:11 Ported: N/A Details Diff |
debian packaging: fix typo | ||
mod - debian/control.bareos-filedaemon-python-plugin | Diff File | ||
mod - debian/control.bareos-filedaemon-python3-plugin | Diff File | ||
master 9e383fc1 2020-09-10 13:52 Ported: N/A Details Diff |
update AUTHORS | ||
mod - AUTHORS | Diff File | ||
master 0ac3dec2 2020-09-10 13:39 Committer: GitHub Ported: N/A Details Diff |
Merge pull request 0000576 from MSP-Stev/0001265 webui: Fix no "Available versions" in restore dialog for Filenames with spaces |
||
mod - webui/module/Restore/src/Restore/Model/RestoreModel.php | Diff File | ||
master f114efd4 2020-09-10 13:16 Committer: GitHub Ported: N/A Details Diff |
Update webui/module/Restore/src/Restore/Model/RestoreModel.php | ||
mod - webui/module/Restore/src/Restore/Model/RestoreModel.php | Diff File | ||
master c3978ab5 2020-09-09 19:14 Ported: N/A Details Diff |
docs: Plugins: fix typo and rewording | ||
mod - docs/manuals/source/TasksAndConcepts/Plugins.rst | Diff File | ||
master 7ba41e8a 2020-09-09 19:05 Ported: N/A Details Diff |
python docs: describe change of st_stat members | ||
mod - docs/manuals/source/TasksAndConcepts/Plugins.rst | Diff File | ||
master 79223835 2020-09-09 17:26 Ported: N/A Details Diff |
debian packaging: Ubuntu 16 has no python3 support | ||
mod - docs/pkglists/xUbuntu_16.04.i586 | Diff File | ||
mod - docs/pkglists/xUbuntu_16.04.x86_64 | Diff File | ||
master 75fc598f 2020-09-09 17:09 Ported: N/A Details Diff |
docs: updated debian package lists | ||
mod - docs/pkglists/Debian_10.x86_64 | Diff File | ||
mod - docs/pkglists/Debian_9.0.i586 | Diff File | ||
mod - docs/pkglists/Debian_9.0.x86_64 | Diff File | ||
mod - docs/pkglists/Univention_4.3.x86_64 | Diff File | ||
mod - docs/pkglists/xUbuntu_16.04.i586 | Diff File | ||
mod - docs/pkglists/xUbuntu_16.04.x86_64 | Diff File | ||
mod - docs/pkglists/xUbuntu_18.04.x86_64 | Diff File | ||
mod - docs/pkglists/xUbuntu_20.04.x86_64 | Diff File | ||
master 840d4986 2020-09-09 16:43 Ported: N/A Details Diff |
debian packaging: fix typo in filename of control file | ||
mod - core/cmake/BareosGenerateDebianInfo.cmake | Diff File | ||
master 7f9e29cf 2020-09-09 16:22 Ported: N/A Details Diff |
cmake debian packaging: use Python[2|3]_FOUND | ||
mod - core/cmake/BareosGenerateDebianInfo.cmake | Diff File | ||
master 4ee3fb0b 2020-09-09 16:14 Ported: N/A Details Diff |
python plugins: add plugindir from cmake as module search path | ||
mod - core/src/plugins/CMakeLists.txt | Diff File | ||
mod - core/src/plugins/dird/python/python-dir.cc | Diff File | ||
mod - core/src/plugins/filed/python/python-fd.cc | Diff File | ||
mod - core/src/plugins/stored/python/python-sd.cc | Diff File | ||
master fbd53cd1 2020-09-09 15:58 Ported: N/A Details Diff |
python modules: extend module search path by /usr/lib/bareos/plugins | ||
mod - core/src/plugins/dird/python/python-dir.cc | Diff File | ||
mod - core/src/plugins/filed/python/python-fd.cc | Diff File | ||
mod - core/src/plugins/stored/python/python-sd.cc | Diff File | ||
mod - debian/control | Diff File | ||
master ed536e9e 2020-09-09 15:01 Ported: N/A Details Diff |
debian packaging: split off fd|sd|director-plugins-common package for shared files between py2/3 plugins | ||
mod - core/cmake/BareosGenerateDebianInfo.cmake | Diff File | ||
mod - debian/bareos-director-python-plugin.install.in | Diff File | ||
add - debian/bareos-director-python-plugins-common.install.in | Diff File | ||
mod - debian/bareos-director-python3-plugin.install.in | Diff File | ||
mod - debian/bareos-filedaemon-python-plugin.install.in | Diff File | ||
add - debian/bareos-filedaemon-python-plugins-common.install.in | Diff File | ||
mod - debian/bareos-filedaemon-python3-plugin.install.in | Diff File | ||
mod - debian/bareos-storage-python-plugin.install.in | Diff File | ||
add - debian/bareos-storage-python-plugins-common.install.in | Diff File | ||
add - debian/control.bareos-director-python-plugins-common | Diff File | ||
mod - debian/control.bareos-filedaemon-python-plugin | Diff File | ||
add - debian/control.bareos-filedaemon-python-plugins-common | Diff File | ||
mod - debian/control.bareos-filedaemon-python3-plugin | Diff File | ||
add - debian/control.bareos-storage-python-plugins-common | Diff File | ||
mod - debian/control.in | Diff File | ||
master eb915365 2020-09-09 14:29 Ported: N/A Details Diff |
debian packaging: add python3 parts to control.in | ||
mod - core/cmake/BareosGenerateDebianInfo.cmake | Diff File | ||
add - debian/bareos-director-python3-plugin.install.in | Diff File | ||
add - debian/bareos-filedaemon-python3-plugin.install.in | Diff File | ||
add - debian/bareos-storage-python3-plugin.install.in | Diff File | ||
add - debian/control.bareos-director-python3-plugin | Diff File | ||
add - debian/control.bareos-filedaemon-python3-plugin | Diff File | ||
add - debian/control.bareos-storage-python3-plugin | Diff File | ||
mod - debian/control.in | Diff File | ||
master a5fb98ff 2020-09-09 14:02 Ported: N/A Details Diff |
debian packaging: add python2 modules to package | ||
mod - debian/bareos-director-python-plugin.install.in | Diff File | ||
mod - debian/bareos-filedaemon-python-plugin.install.in | Diff File | ||
mod - debian/bareos-storage-python-plugin.install.in | Diff File | ||
master 1177f5de 2020-09-09 13:50 Ported: N/A Details Diff |
filed: adapt ldap plugin to new python api | ||
mod - core/src/plugins/filed/python/ldap/BareosFdPluginLDAP.py | Diff File | ||
mod - core/src/plugins/filed/python/ldap/bareos-fd-ldap.py | Diff File | ||
master 7f37e9f8 2020-09-09 12:49 Ported: N/A Details Diff |
docs: rewording and clarification | ||
mod - docs/manuals/source/TasksAndConcepts/Plugins.rst | Diff File | ||
master 1da8192c 2020-09-09 12:44 Ported: N/A Details Diff |
docs: changed 'daemon-abbreviation' to 'fd|sd|dir' | ||
mod - docs/manuals/source/TasksAndConcepts/Plugins.rst | Diff File |