Changesets: bareos

master e57bcf4f

2022-01-13 14:23

Bruno Friedmann @Bareos


Committer: GitHub

Ported: N/A

Details Diff
Update docs/manuals/source/TasksAndConcepts/Plugins.rst

Co-authored-by: Philipp Storz <philipp.storz@bareos.com>
mod - docs/manuals/source/TasksAndConcepts/Plugins.rst Diff File

master 2bc6f7fc

2022-01-13 14:16

joergs

Ported: N/A

Details Diff
docs: cleanup Python Plugin API sections

Only keep general information about Python Plugins in the "Tasks and Concepts" chapter,
moving the implentation details to the Development Guide chapter.

Change the ordering in the Developement chapter to start with the current version of the Python Plugin:
* Python Plugins for Bareos >= 20
* Python Plugins for Bareos < 20
* Migrating Python Plugins to Bareos >= 20
mod - docs/manuals/source/DeveloperGuide.rst Diff File
mod - docs/manuals/source/TasksAndConcepts/Plugins.rst Diff File
mod - docs/manuals/source/TasksAndConcepts/Plugins/DirectorPlugins/PythonDirPlugin.rst.inc Diff File
mod - docs/manuals/source/TasksAndConcepts/Plugins/FileDaemonPlugins/PythonFdPlugin.rst.inc Diff File
mod - docs/manuals/source/TasksAndConcepts/Plugins/StorageDaemonPlugins/PythonSdPlugin.rst.inc Diff File

master 2c1d0d97

2022-01-13 11:44

joergs

Ported: N/A

Details Diff
docs: copy Python Plugins description to Developer Guide
mod - docs/manuals/source/DeveloperGuide.rst Diff File
add - docs/manuals/source/DeveloperGuide/PythonPlugins.rst Diff File

master ce0cce74

2022-01-12 15:12

pstorz

Ported: N/A

Details Diff
ndmp: avoid isilon 9.1.0.0 'Invalid nlist.tape_offset -1' error

The isilon 9.1.0.0 release seems to have added a sanity check in ndmp
that checks that the tape offsets are on 512B boundaries.

The following error is issued when a restore is triggered to a isilon
9.1.0.0 system:

'Invalid nlist.tape_offset -1 at index 1 - tape offset not aligned at 512B boundary'

However, -1 is an allowed value (NDMP_INVALID_U_QUAD) and was accepted
on every NDMP implementation we tested against including older isilon
versions.

To fix the problem, the isilon needs to check for NDMP_INVALID_U_QUAD
before it checks for the 512B boundary to fix the problem.

Otherwise we could enable this workaround depending on a new
configuration option.
mod - core/src/dird/dird_conf.cc Diff File
mod - core/src/dird/dird_conf.h Diff File
mod - core/src/dird/ndmp_dma_restore_NDMP_BAREOS.cc Diff File
mod - core/src/dird/ndmp_dma_restore_common.cc Diff File
mod - core/src/dird/ndmp_dma_restore_common.h Diff File
mod - docs/manuals/source/include/autogenerated/bareos-dir-config-schema.json Diff File
add - docs/manuals/source/manually_added_config_directive_descriptions/dir-director-NdmpNamelistFhinfoSetZeroForInvalidUquad.rst.inc Diff File
mod - systemtests/tests/config-dump/etc/bareos/bareos-dir-full.conf.in Diff File

master 194358e5

2022-01-12 14:08

Alaa Eddine Elamri

Ported: N/A

Details Diff
updated CHANGELOG.md
mod - CHANGELOG.md Diff File

master b48bd193

2022-01-12 14:06

Alaa Eddine Elamri

Ported: N/A

Details Diff
docs: updated default sd statistics interval value
mod - docs/manuals/source/include/autogenerated/bareos-sd-config-schema.json Diff File

master dc83b3dd

2022-01-11 22:22

joergs

Ported: N/A

Details Diff
systemtests: add contrib to pythonpaths

Added the contrib/fd-plugins path to PYTHONPATH,
in order to test the Python modules by systemtests.
mod - systemtests/cmake/BareosSystemtestFunctions.cmake Diff File

master 09dca603

2022-01-11 22:21

joergs

Ported: N/A

Details Diff
systemtest py3plug-fd-contrib-mysql_dump: initial

Add test for the contrib bareos_mysql_dump python module.
mod - systemtests/tests/CMakeLists.txt Diff File
add - systemtests/tests/py3plug-fd-contrib-mysql_dump/CMakeLists.txt Diff File
add - systemtests/tests/py3plug-fd-contrib-mysql_dump/etc/bareos/bareos-dir.d/catalog/MyCatalog.conf.in Diff File
add - systemtests/tests/py3plug-fd-contrib-mysql_dump/etc/bareos/bareos-dir.d/client/bareos-fd.conf.in Diff File
add - systemtests/tests/py3plug-fd-contrib-mysql_dump/etc/bareos/bareos-dir.d/console/bareos-mon.conf.in Diff File
add - systemtests/tests/py3plug-fd-contrib-mysql_dump/etc/bareos/bareos-dir.d/director/bareos-dir.conf.in Diff File
add - systemtests/tests/py3plug-fd-contrib-mysql_dump/etc/bareos/bareos-dir.d/fileset/Catalog.conf.in Diff File
add - systemtests/tests/py3plug-fd-contrib-mysql_dump/etc/bareos/bareos-dir.d/fileset/SelfTest.conf.in Diff File
add - systemtests/tests/py3plug-fd-contrib-mysql_dump/etc/bareos/bareos-dir.d/fileset/bareos_mysql_dump.conf.in Diff File
add - systemtests/tests/py3plug-fd-contrib-mysql_dump/etc/bareos/bareos-dir.d/job/BackupCatalog.conf.in Diff File
add - systemtests/tests/py3plug-fd-contrib-mysql_dump/etc/bareos/bareos-dir.d/job/RestoreFiles.conf.in Diff File
add - systemtests/tests/py3plug-fd-contrib-mysql_dump/etc/bareos/bareos-dir.d/job/backup-bareos-fd.conf Diff File
add - systemtests/tests/py3plug-fd-contrib-mysql_dump/etc/bareos/bareos-dir.d/jobdefs/DefaultJob.conf.in Diff File
add - systemtests/tests/py3plug-fd-contrib-mysql_dump/etc/bareos/bareos-dir.d/messages/Daemon.conf.in Diff File
add - systemtests/tests/py3plug-fd-contrib-mysql_dump/etc/bareos/bareos-dir.d/messages/Standard.conf.in Diff File
add - systemtests/tests/py3plug-fd-contrib-mysql_dump/etc/bareos/bareos-dir.d/pool/Differential.conf Diff File
add - systemtests/tests/py3plug-fd-contrib-mysql_dump/etc/bareos/bareos-dir.d/pool/Full.conf Diff File
add - systemtests/tests/py3plug-fd-contrib-mysql_dump/etc/bareos/bareos-dir.d/pool/Incremental.conf Diff File
add - systemtests/tests/py3plug-fd-contrib-mysql_dump/etc/bareos/bareos-dir.d/pool/Scratch.conf Diff File
add - systemtests/tests/py3plug-fd-contrib-mysql_dump/etc/bareos/bareos-dir.d/profile/operator.conf Diff File
add - systemtests/tests/py3plug-fd-contrib-mysql_dump/etc/bareos/bareos-dir.d/storage/File.conf.in Diff File
add - systemtests/tests/py3plug-fd-contrib-mysql_dump/etc/bareos/bareos-fd.d/client/myself.conf.in Diff File
add - systemtests/tests/py3plug-fd-contrib-mysql_dump/etc/bareos/bareos-fd.d/director/bareos-dir.conf.in Diff File
add - systemtests/tests/py3plug-fd-contrib-mysql_dump/etc/bareos/bareos-fd.d/director/bareos-mon.conf.in Diff File
add - systemtests/tests/py3plug-fd-contrib-mysql_dump/etc/bareos/bareos-fd.d/messages/Standard.conf Diff File
add - systemtests/tests/py3plug-fd-contrib-mysql_dump/etc/bareos/bareos-sd.d/device/FileStorage.conf Diff File
add - systemtests/tests/py3plug-fd-contrib-mysql_dump/etc/bareos/bareos-sd.d/director/bareos-dir.conf.in Diff File
add - systemtests/tests/py3plug-fd-contrib-mysql_dump/etc/bareos/bareos-sd.d/director/bareos-mon.conf.in Diff File
add - systemtests/tests/py3plug-fd-contrib-mysql_dump/etc/bareos/bareos-sd.d/messages/Standard.conf Diff File
add - systemtests/tests/py3plug-fd-contrib-mysql_dump/etc/bareos/bareos-sd.d/storage/bareos-sd.conf.in Diff File
add - systemtests/tests/py3plug-fd-contrib-mysql_dump/etc/bareos/bconsole.conf.in Diff File
add - systemtests/tests/py3plug-fd-contrib-mysql_dump/mysqldefaults.in Diff File
add - systemtests/tests/py3plug-fd-contrib-mysql_dump/testrunner Diff File

master 50180bed

2022-01-11 20:07

joergs

Ported: N/A

Details Diff
systemtest py2plug-fd-percona-xtrabackup: fixes
mod - systemtests/tests/py2plug-fd-percona-xtrabackup/CMakeLists.txt Diff File
mod - systemtests/tests/py2plug-fd-percona-xtrabackup/testrunner Diff File

master 6975a1bf

2022-01-11 16:37

Alaa Eddine Elamri

Ported: N/A

Details Diff
systemtest: updated test to include listing pools with poolid
mod - systemtests/tests/python-bareos/test_list_command.py Diff File

master 12be6542

2022-01-11 13:46

pstorz

Ported: N/A

Details Diff
sql_get.cc: fix error logging in GetJobRecord() for jobname

This PR logs the jobname if GetJobRecord() fails when searching for a jobname.
mod - core/src/cats/sql_get.cc Diff File

master f3c94c93

2022-01-11 11:47

bruno-at-bareos


Committer: pstorz

Ported: N/A

Details Diff
Update CHANGELOG.md
mod - CHANGELOG.md Diff File

master 7faa87e5

2022-01-10 15:09

bruno-at-bareos

Ported: N/A

Details Diff
Remove CapabilityBoundingSet=CAP_SYS_RAWIO from service

- Remove CapabilityBoundingSet. SD daemon is not running as root.
We don't use nor recommend the AmbientCapabilities due to
the lack of systemd support for limited rights (+ep)

Signed-off-by: Bruno Friedmann <bruno.friedmann@bareos.com>
mod - core/platforms/systemd/bareos-sd.service.in Diff File
mod - debian/bareos-storage.service.in Diff File

master f9724905

2022-01-06 15:11

Alaa Eddine Elamri

Ported: N/A

Details Diff
dird: adding possiblity to list with volumes with mediaid
mod - core/src/cats/sql_list.cc Diff File
mod - core/src/dird/ua_output.cc Diff File

master e9356dc9

2022-01-06 15:11

Alaa Eddine Elamri

Ported: N/A

Details Diff
systemtest: initial list media command test

master ce17f154

2022-01-06 13:27

Alaa Eddine Elamri

Ported: N/A

Details Diff
ua_output.cc: refactoring and extracting media listing functionality
mod - core/src/dird/ua_output.cc Diff File

master 7aa39674

2021-12-31 13:30

arogge

Ported: N/A

Details Diff
systemtests: py[23]plug-dir threading issue

This patch lets the test run multiple jobs in parallel and checks that
each plugin callback sees the correct plugin context.
mod - systemtests/tests/py2plug-dir/etc/bareos/bareos-dir.d/client/bareos-fd.conf.in Diff File
mod - systemtests/tests/py2plug-dir/etc/bareos/bareos-dir.d/job/backup-bareos-fd.conf.in Diff File
mod - systemtests/tests/py2plug-dir/etc/bareos/bareos-dir.d/storage/File.conf.in Diff File
mod - systemtests/tests/py2plug-dir/etc/bareos/bareos-sd.d/device/FileStorage.conf Diff File
mod - systemtests/tests/py2plug-dir/python-modules/BareosDirTest.py Diff File
mod - systemtests/tests/py2plug-dir/testrunner Diff File

master 7e73ac02

2021-12-31 13:29

arogge

Ported: N/A

Details Diff
python-dir: fix plugin-context confusion

Previously when running multiple jobs concurrently, the python plugin
would not always set the right context before running the python
callback function.
This patch makes the context thread_local and resets it before every
callback.
mod - core/src/plugins/dird/python/module/bareosdir.h Diff File
mod - core/src/plugins/dird/python/python-dir.cc Diff File

master f1aaa759

2021-12-30 11:11

Alaa Eddine Elamri

Ported: N/A

Details Diff
docs: updated collection interval documentation
mod - docs/manuals/source/include/autogenerated/bareos-dir-config-schema.json Diff File

master cc22ef08

2021-12-29 16:03

Alaa Eddine Elamri

Ported: N/A

Details Diff
dird: set default director stats collection interval default to 0
mod - core/src/dird/dird_conf.cc Diff File

master f673721a

2021-12-23 20:57

joergs

Ported: N/A

Details Diff
python plugins: add infos to usage

Co-authored-by: sduehr <stephan.duehr@bareos.com>
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 e956cb0c

2021-12-23 18:12

joergs

Ported: N/A

Details Diff
python plugins: remove unnecessary module_path parameter
add - core/src/plugins/filed/python/ovirt/python-ovirt-conf.d/bareos-dir.d/fileset/plugin-ovirt.conf.example Diff File
rm - core/src/plugins/filed/python/ovirt/python-ovirt-conf.d/bareos-dir.d/fileset/plugin-ovirt.conf.example.in Diff File

master 6767bccc

2021-12-23 14:41

pstorz

Ported: N/A

Details Diff
test_bsnprintf.cc: adapt to 32Bit OS
mod - core/src/tests/test_bsnprintf.cc Diff File

master c31e31c2

2021-12-23 14:10

pstorz

Ported: N/A

Details Diff
test_bsnprintf.cc: fix windows
mod - core/src/tests/test_bsnprintf.cc Diff File

master d6475af2

2021-12-23 13:47

pstorz


Committer: bruno-at-bareos

Ported: N/A

Details Diff
manuals: remove bareos-18.2 from scv_whitelist_branches

As Bareos 21 was released, 18.2 is EOL and not supported anymore.
mod - docs/manuals/source/conf.py Diff File
 First  Prev  1 2 3 ... 60 ... 120 ... 155 156 157 158 159 160 161 ... 180 ... 240 ... 300 ... 360 ... 420 ... 480 ... 540 ... 600 ... 641 642 643  Next  Last