Changesets: bareos

master a91cc5a8

2020-09-10 23:14

pstorz

Ported: N/A

Details Diff
python: have different subdirs for python 2 and python 3 modules
mod - core/cmake/BareosSetVariableDefaults.cmake Diff File
mod - core/src/plugins/CMakeLists.txt Diff File
mod - core/src/plugins/dird/python/CMakeLists.txt Diff File
mod - core/src/plugins/dird/python/python-dir.cc Diff File
mod - core/src/plugins/filed/python/CMakeLists.txt Diff File
mod - core/src/plugins/filed/python/python-fd.cc Diff File
mod - core/src/plugins/stored/python/CMakeLists.txt Diff File
mod - core/src/plugins/stored/python/python-sd.cc Diff File
mod - debian/bareos-filedaemon-python-plugin.install.in Diff File
mod - debian/bareos-filedaemon-python3-plugin.install.in Diff File

master ba3c6ccf

2020-09-10 22:38

pstorz

Ported: N/A

Details Diff
python plugins: derive LOGPREFIX and PLUGIN_USAGE from PLUGIN_DAEMON and PLUGIN_NAME
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 7ee398a7

2020-09-10 22:12

arogge

Ported: N/A

Details Diff
filed: ldap - support backup/restore large objects

Previously the plugin would not back up large objects (>64k ldif data).
This patch now adds support for these larger objects.
mod - core/src/plugins/filed/python/ldap/BareosFdPluginLDAP.py Diff File

bareos-19.2 279c2291

2020-09-10 22:12

arogge

Ported: N/A

Details Diff
filed: ldap - support backup/restore large objects

Previously the plugin would not back up large objects (>64k ldif data).
This patch now adds support for these larger objects.

(backport of commit 7ee398a7721177aef5ef1e0b4b9fa68399eb9565)
mod - core/src/plugins/filed/BareosFdPluginLDAP.py Diff File

bareos-18.2 747a0b00

2020-09-10 22:12

arogge

Ported: N/A

Details Diff
filed: ldap - support backup/restore large objects

Previously the plugin would not back up large objects (>64k ldif data).
This patch now adds support for these larger objects.

(backport of commit 7ee398a7721177aef5ef1e0b4b9fa68399eb9565)
mod - core/src/plugins/filed/BareosFdPluginLDAP.py Diff File

master 7392cae7

2020-09-10 19:02

stephand


Committer: franku

Ported: N/A

Details Diff
libcloud-plugin: fix filenames with non-ascii characters

Also modified the systemtest to include such filenames.
Additional changes to make the plugin compatible with both
Python 2 and 3, and some minor changes to successfully
run the systemtest.

For enabling the plugin build and systemtest, the following is
required:

- The Python 3 version of the s3cmd tool must be installed, may be
necessary to use
pip3 install s3cmd
instead of OS provided s3cmd package
- Apache Libcloud must be installed, use
pip2 install apache-libcloud
or pip3 install apache-libcloud
- minio must be installed, use
curl -o /usr/local/bin/minio https://dl.min.io/server/minio/release/linux-amd64/minio
chmod 755 /usr/local/bin/minio
- Use the systemtests global path for s3cfg file
mod - core/src/plugins/filed/python/libcloud/BareosFdPluginLibcloud.py Diff File
mod - core/src/plugins/filed/python/libcloud/bareos_libcloud_api/debug.py Diff File
mod - core/src/plugins/filed/python/libcloud/bareos_libcloud_api/process_base.py Diff File
mod - core/src/plugins/filed/python/libcloud/bareos_libcloud_api/worker.py Diff File
mod - systemtests/scripts/start_minio.sh Diff File
mod - systemtests/tests/py2plug-fd-libcloud/testrunner Diff File

master e9b60b1b

2020-09-10 18:21

arogge

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.
mod - core/src/plugins/filed/python/ldap/BareosFdPluginLDAP.py Diff File

bareos-19.2 2048ef90

2020-09-10 18:21

arogge

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

bareos-18.2 b7597ce2

2020-09-10 18:21

arogge

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

arogge

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

arogge

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

arogge

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

arogge

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

arogge

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

pstorz

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

pstorz

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

frank

Ported: N/A

Details Diff
update AUTHORS
mod - AUTHORS Diff File

master 0ac3dec2

2020-09-10 13:39

frank


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

frank


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

pstorz

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

pstorz

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

pstorz

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

pstorz

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

pstorz

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

pstorz

Ported: N/A

Details Diff
cmake debian packaging: use Python[2|3]_FOUND
mod - core/cmake/BareosGenerateDebianInfo.cmake Diff File
 First  Prev  1 2 3 ... 60 ... 120 ... 180 ... 193 194 195 196 197 198 199 ... 240 ... 300 ... 360 ... 420 ... 480 ... 540 ... 600 ... 607 608 609  Next  Last