Changesets: bareos

master cdb3faab

2020-09-11 13:53

pstorz

Ported: N/A

Details Diff
rpm packaging: fix more spec problems
mod - core/platforms/packaging/bareos.spec Diff File

master ab8aa73f

2020-09-11 13:37

pstorz

Ported: N/A

Details Diff
rpm packaging: use python2_sitelib
mod - core/platforms/packaging/bareos.spec Diff File

master ec2f88b4

2020-09-11 13:19

pstorz

Ported: N/A

Details Diff
bareos.spec: fix typo
mod - core/platforms/packaging/bareos.spec Diff File

master 09004ff2

2020-09-11 13:03

pstorz

Ported: N/A

Details Diff
python-modules: rpm python 3 packaging
mod - core/platforms/packaging/bareos.spec Diff File

master 3253719b

2020-09-11 12:09

pstorz

Ported: N/A

Details Diff
rpm packaging: use python_sitelib
mod - core/platforms/packaging/bareos.spec Diff File

master 038b8274

2020-09-11 12:03

pstorz

Ported: N/A

Details Diff
python plugins: set Python[23]_SITELIB also when Findpython[23] are not available

On windows, install the python extension modules into plugindir
mod - core/cmake/BareosFindAllLibraries.cmake Diff File

master d755898f

2020-09-11 11:48

pstorz

Ported: N/A

Details Diff
python plugins: use Python[23]_SITELIB as installation directory
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/filed/python/CMakeLists.txt Diff File
mod - core/src/plugins/stored/python/CMakeLists.txt Diff File
mod - debian/bareos-filedaemon-python-plugin.install.in Diff File

master 44b79e73

2020-09-11 10:24

pstorz

Ported: N/A

Details Diff
python3: use the term "python extension module"
mod - docs/manuals/source/TasksAndConcepts/Plugins.rst Diff File

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
 First  Prev  1 2 3 ... 60 ... 120 ... 180 ... 227 228 229 230 231 232 233 ... 240 ... 300 ... 360 ... 420 ... 480 ... 540 ... 600 ... 641 642 643  Next  Last