Changesets: bareos

bareos-19.2 cb4bed49

2021-02-20 21:11

pstorz

Ported: N/A

Details Diff
ctest: run ctest in scripted mode

- run "ctest -V -S CTestScript.cmake"
- run "start", "test" and "coverage" steps
- skip "configure", "build" and "submit" steps
- do not "make clean" before ctest
- skip second run of ctest on debian based os
- skip "bareosfd-python2-module-tester" test on MacOS(Darwin) as it
segfaults

(cherry picked from commit 714cfce57050f550ea31da94d51e8fe24e942639)
(cherry picked from commit 827f8cf0f60a301b3b4eb9ae9a80475f59b93105)
mod - core/CMakeLists.txt Diff File
add - core/CTestScript.cmake.in Diff File
mod - core/debian/rules Diff File
mod - core/platforms/freebsd/bareos-freebsd/bareos.com-common/Makefile Diff File
mod - core/platforms/packaging/bareos.spec Diff File

master cc64e440

2021-02-19 13:26

pstorz


Committer: GitHub

Ported: N/A

Details Diff
Merge pull request 0000729 from bareos/dev/pstorz/master/pyplug-parallel-jobs

python plugins: fix problems with parallel jobs
mod - CHANGELOG.md Diff File
mod - core/src/plugins/dird/python/module/bareosdir.h Diff File
mod - core/src/plugins/filed/python/module/bareosfd.h Diff File
mod - core/src/plugins/filed/python/ovirt/BareosFdPluginOvirt.py Diff File
mod - core/src/plugins/stored/python/module/bareossd.h Diff File
mod - systemtests/tests/py2plug-fd-ovirt/etc/bareos/bareos-dir.d/fileset/OvirtTest.conf.in Diff File
add - systemtests/tests/py2plug-fd-ovirt/etc/bareos/ovirt-plugin.ini.in Diff File

master 3db7cc41

2021-02-19 01:04

franku


Committer: pstorz

Ported: N/A

Details Diff
systemtests: enable autochanger test if mt and mtx found
mod - core/cmake/BareosSetVariableDefaults.cmake Diff File
mod - systemtests/CMakeLists.txt Diff File

master f7101289

2021-02-19 00:39

franku


Committer: pstorz

Ported: N/A

Details Diff
systemtests: set sd backend dir from bareossd-tape

- without this change the SD_BACKEND_DIR_TO_TEST variable would
not be set if no other backend is built
mod - systemtests/CMakeLists.txt Diff File

master 059f4699

2021-02-18 14:51

joergs

Ported: N/A

Details Diff
docs: update PostgreSQL plugin section

* Remove section about outdated PostgreSQL plugin https://github.com/bareos/contrib-pgsql-plugin/
* Mark LDAP Plugin deprecated (as already in the release notes)
* PostgreSQL Plugin:

* added some hints,
* remove Python 2 requirement,
* prefer Python 3,
* add description about recovery for PostgresSQL >= 12

* Cleanup.
mod - docs/manuals/source/TasksAndConcepts/Plugins.rst Diff File

master fbdd494b

2021-02-18 14:43

joergs

Ported: N/A

Details Diff
docs: cleanup section "Backup Of Third Party Databases"

* Remove chapter about outdated PostgreSQL plugin https://github.com/bareos/contrib-pgsql-plugin/
* Add reference to new PostgreSQL plugin.
* Cleanup.
* Order MySQL backup section accordindly to PostgreSQL backup sections.
* Add extra reference section to xtrabackup plugin.
mod - docs/manuals/source/Appendix/Howtos.rst Diff File

master 53db749a

2021-02-18 14:39

joergs

Ported: N/A

Details Diff
docs: fix typo
mod - docs/manuals/source/Configuration/Monitor.rst Diff File
mod - docs/manuals/source/DocumentationStyleGuide/SpecificFormatting.rst Diff File
mod - docs/manuals/source/DocumentationStyleGuide/example/code-block-cfg-mysql.rst.inc Diff File
mod - docs/manuals/source/TasksAndConcepts.rst Diff File

master 1224892a

2021-02-17 22:45

pstorz

Ported: N/A

Details Diff
quality gates: adapt once more
mod - .quality-gates.yml Diff File

master 0742bf59

2021-02-17 21:55

pstorz

Ported: N/A

Details Diff
openSUSE/SLE: adapt quality gates for new compilers

The new compilers now create 4 more "stringop-truncation" warnings
in string_fortified.h:106.
mod - .quality-gates.yml Diff File

master dbf1d48e

2021-02-17 11:32

pstorz


Committer: GitHub

Ported: N/A

Details Diff
Merge pull request 0000730 from bareos/dev/pstorz/master/pyplug-parallel-load

python-{dir,fd,sd} plugins: do not load python2 and 3 versions in parallel
mod - CHANGELOG.md Diff File
mod - core/src/filed/fd_plugins.cc 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
mod - docs/manuals/source/TasksAndConcepts/Plugins.rst Diff File
mod - docs/manuals/source/manually_added_config_directive_descriptions/fd-client-PluginNames.rst.inc Diff File

master c6873004

2021-02-16 18:01

franku


Committer: pstorz

Ported: N/A

Details Diff
systemtests: use cmake to configure autochanger test
mod - core/CMakeLists.txt Diff File
mod - core/cmake/BareosSetVariableDefaults.cmake Diff File
mod - systemtests/CMakeLists.txt Diff File

master ba00c080

2021-02-16 16:49

frank


Committer: GitHub

Ported: N/A

Details Diff
Merge pull request 0000717 from bareos/dev/fbergkemper/master/s4653

dird: Fix Copy Job behaviour regarding Archive Jobs
mod - CHANGELOG.md Diff File
mod - core/src/dird/migrate.cc Diff File
mod - systemtests/CMakeLists.txt Diff File
mod - systemtests/scripts/functions Diff File
add - systemtests/tests/copy-archive-job/etc/bareos/bareos-dir.d/catalog/MyCatalog.conf.in Diff File
add - systemtests/tests/copy-archive-job/etc/bareos/bareos-dir.d/client/bareos-fd.conf.in Diff File
add - systemtests/tests/copy-archive-job/etc/bareos/bareos-dir.d/console/bareos-mon.conf.in Diff File
add - systemtests/tests/copy-archive-job/etc/bareos/bareos-dir.d/director/bareos-dir.conf.in Diff File
add - systemtests/tests/copy-archive-job/etc/bareos/bareos-dir.d/fileset/Catalog.conf.in Diff File
add - systemtests/tests/copy-archive-job/etc/bareos/bareos-dir.d/fileset/SelfTest.conf.in Diff File
add - systemtests/tests/copy-archive-job/etc/bareos/bareos-dir.d/job/BackupCatalog.conf.in Diff File
add - systemtests/tests/copy-archive-job/etc/bareos/bareos-dir.d/job/RestoreFiles.conf.in Diff File
add - systemtests/tests/copy-archive-job/etc/bareos/bareos-dir.d/job/backup-bareos-fd.conf.in Diff File
add - systemtests/tests/copy-archive-job/etc/bareos/bareos-dir.d/job/copy-job1.conf.in Diff File
add - systemtests/tests/copy-archive-job/etc/bareos/bareos-dir.d/job/copy-job2.conf.in Diff File
add - systemtests/tests/copy-archive-job/etc/bareos/bareos-dir.d/jobdefs/DefaultJob.conf.in Diff File
add - systemtests/tests/copy-archive-job/etc/bareos/bareos-dir.d/messages/Daemon.conf.in Diff File
add - systemtests/tests/copy-archive-job/etc/bareos/bareos-dir.d/messages/Standard.conf.in Diff File
add - systemtests/tests/copy-archive-job/etc/bareos/bareos-dir.d/pool/Copy.conf Diff File
add - systemtests/tests/copy-archive-job/etc/bareos/bareos-dir.d/pool/Differential.conf Diff File
add - systemtests/tests/copy-archive-job/etc/bareos/bareos-dir.d/pool/Full.conf Diff File
add - systemtests/tests/copy-archive-job/etc/bareos/bareos-dir.d/pool/Incremental.conf Diff File
add - systemtests/tests/copy-archive-job/etc/bareos/bareos-dir.d/pool/Scratch.conf Diff File
add - systemtests/tests/copy-archive-job/etc/bareos/bareos-dir.d/profile/operator.conf Diff File
add - systemtests/tests/copy-archive-job/etc/bareos/bareos-dir.d/storage/File.conf.in Diff File
add - systemtests/tests/copy-archive-job/etc/bareos/bareos-dir.d/storage/File2.conf.in Diff File
add - systemtests/tests/copy-archive-job/etc/bareos/bareos-fd.d/client/myself.conf.in Diff File
add - systemtests/tests/copy-archive-job/etc/bareos/bareos-fd.d/director/bareos-dir.conf.in Diff File
add - systemtests/tests/copy-archive-job/etc/bareos/bareos-fd.d/director/bareos-mon.conf.in Diff File
add - systemtests/tests/copy-archive-job/etc/bareos/bareos-fd.d/messages/Standard.conf Diff File
add - systemtests/tests/copy-archive-job/etc/bareos/bareos-sd.d/device/FileStorage.conf Diff File
add - systemtests/tests/copy-archive-job/etc/bareos/bareos-sd.d/director/bareos-dir.conf.in Diff File
add - systemtests/tests/copy-archive-job/etc/bareos/bareos-sd.d/director/bareos-mon.conf.in Diff File
add - systemtests/tests/copy-archive-job/etc/bareos/bareos-sd.d/messages/Standard.conf Diff File
add - systemtests/tests/copy-archive-job/etc/bareos/bareos-sd.d/storage/bareos-sd.conf.in Diff File
add - systemtests/tests/copy-archive-job/etc/bareos/bconsole.conf.in Diff File
add - systemtests/tests/copy-archive-job/testrunner Diff File

master 725164ad

2021-02-16 16:17

Alaa Eddine Elamri

Ported: N/A

Details Diff
dir: fix date entry bug

- User could enter wrong dates such as 1999-88-70 27:55:798, now he is denied
- Trailing strings are now detected
- Added tests for typical wrong entries
mod - core/src/lib/btime.cc Diff File
mod - core/src/tests/CMakeLists.txt Diff File
add - core/src/tests/time_format_test.cc Diff File

master 3ded0d28

2021-02-15 16:46

joergs

Ported: N/A

Details Diff
plugins: adapt PostgreSQL plugin for Python >= 3

Fixes problems on the error handling.
Does some minor code cleanup.
mod - core/src/plugins/filed/python/postgres/BareosFdPluginPostgres.py Diff File
mod - systemtests/tests/py2plug-fd-postgres/database/setup_local_db.sh Diff File
mod - systemtests/tests/py2plug-fd-postgres/etc/bareos/bareos-dir.d/fileset/PluginTest.conf.in Diff File
mod - systemtests/tests/py2plug-fd-postgres/testrunner Diff File

master ee0dfc4f

2021-02-15 16:38

franku


Committer: pstorz

Ported: N/A

Details Diff
Code review enhancements for python plugins
mod - core/src/filed/fd_plugins.cc 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 c2137e96

2021-02-15 13:21

pstorz

Ported: N/A

Details Diff
docs: document that python2 and 3 plugins cannot be loaded in parallel.

This is the reason why the "plugin names" should always be specified.
mod - docs/manuals/source/TasksAndConcepts/Plugins.rst Diff File
mod - docs/manuals/source/manually_added_config_directive_descriptions/fd-client-PluginNames.rst.inc Diff File

master 2ce4dfa8

2021-02-15 11:11

Alaa Eddine Elamri


Committer: arogge

Ported: N/A

Details Diff
updated CHANGELOG
mod - CHANGELOG.md Diff File

master 69ea42f7

2021-02-12 13:55

franku


Committer: pstorz

Ported: N/A

Details Diff
systemtests: add test for autochangers
mod - core/scripts/CMakeLists.txt Diff File
mod - core/src/stored/autochanger.cc Diff File
mod - systemtests/CMakeLists.txt Diff File
add - systemtests/tests/autochanger/create_autochanger_configs.sh.in Diff File
add - systemtests/tests/autochanger/etc/bareos/bareos-dir.d/catalog/MyCatalog.conf.in Diff File
add - systemtests/tests/autochanger/etc/bareos/bareos-dir.d/client/bareos-fd.conf.in Diff File
add - systemtests/tests/autochanger/etc/bareos/bareos-dir.d/console/bareos-mon.conf.in Diff File
add - systemtests/tests/autochanger/etc/bareos/bareos-dir.d/director/bareos-dir.conf.in Diff File
add - systemtests/tests/autochanger/etc/bareos/bareos-dir.d/fileset/Catalog.conf.in Diff File
add - systemtests/tests/autochanger/etc/bareos/bareos-dir.d/fileset/SelfTest.conf.in Diff File
add - systemtests/tests/autochanger/etc/bareos/bareos-dir.d/job/BackupCatalog.conf.in Diff File
add - systemtests/tests/autochanger/etc/bareos/bareos-dir.d/job/RestoreFiles.conf.in Diff File
add - systemtests/tests/autochanger/etc/bareos/bareos-dir.d/job/backup-bareos-fd.conf.in Diff File
add - systemtests/tests/autochanger/etc/bareos/bareos-dir.d/jobdefs/DefaultJob.conf.in Diff File
add - systemtests/tests/autochanger/etc/bareos/bareos-dir.d/messages/Daemon.conf.in Diff File
add - systemtests/tests/autochanger/etc/bareos/bareos-dir.d/messages/Standard.conf.in Diff File
add - systemtests/tests/autochanger/etc/bareos/bareos-dir.d/pool/Differential.conf Diff File
add - systemtests/tests/autochanger/etc/bareos/bareos-dir.d/pool/Full.conf Diff File
add - systemtests/tests/autochanger/etc/bareos/bareos-dir.d/pool/Incremental.conf Diff File
add - systemtests/tests/autochanger/etc/bareos/bareos-dir.d/pool/Scratch.conf Diff File
add - systemtests/tests/autochanger/etc/bareos/bareos-dir.d/profile/operator.conf Diff File
add - systemtests/tests/autochanger/etc/bareos/bareos-dir.d/storage/File.conf.in Diff File
add - systemtests/tests/autochanger/etc/bareos/bareos-dir.d/storage/Tape.conf.autogenerated_by_test Diff File
add - systemtests/tests/autochanger/etc/bareos/bareos-fd.d/client/myself.conf.in Diff File
add - systemtests/tests/autochanger/etc/bareos/bareos-fd.d/director/bareos-dir.conf.in Diff File
add - systemtests/tests/autochanger/etc/bareos/bareos-fd.d/director/bareos-mon.conf.in Diff File
add - systemtests/tests/autochanger/etc/bareos/bareos-fd.d/messages/Standard.conf Diff File
add - systemtests/tests/autochanger/etc/bareos/bareos-sd.d/autochanger/autochanger.conf.autogenerated_by_test Diff File
add - systemtests/tests/autochanger/etc/bareos/bareos-sd.d/device/FileStorage.conf Diff File
add - systemtests/tests/autochanger/etc/bareos/bareos-sd.d/device/tape_devices.conf.autogenerated_by_test Diff File
add - systemtests/tests/autochanger/etc/bareos/bareos-sd.d/director/bareos-dir.conf.in Diff File
add - systemtests/tests/autochanger/etc/bareos/bareos-sd.d/director/bareos-mon.conf.in Diff File
add - systemtests/tests/autochanger/etc/bareos/bareos-sd.d/messages/Standard.conf Diff File
add - systemtests/tests/autochanger/etc/bareos/bareos-sd.d/storage/bareos-sd.conf.in Diff File
add - systemtests/tests/autochanger/etc/bareos/bconsole.conf.in Diff File
add - systemtests/tests/autochanger/etc/bareos/mtx-changer.conf Diff File
add - systemtests/tests/autochanger/invalidate_tapes.sh Diff File
add - systemtests/tests/autochanger/mtx-changer Diff File
add - systemtests/tests/autochanger/redirect_output Diff File
add - systemtests/tests/autochanger/test-config Diff File
add - systemtests/tests/autochanger/testrunner Diff File

master f6fe1ea2

2021-02-11 15:55

pstorz

Ported: N/A

Details Diff
CHANGELOG.md: update PR info
mod - CHANGELOG.md Diff File

master 9ad89812

2021-02-11 15:46

pstorz


Committer: stephand

Ported: N/A

Details Diff
CHANGELOG.md: add PR information
mod - CHANGELOG.md Diff File

master ed92fe97

2021-02-10 16:22

pstorz


Committer: GitHub

Ported: N/A

Details Diff
Merge pull request 0000722 from bareos/dev/franku/master/create-pr-template-file

docs: add a pull request template file
add - pull_request_template.md Diff File

master f5a79473

2021-02-10 12:11

pstorz

Ported: N/A

Details Diff
python-{dir,fd,sd} plugins: do not load python2 and 3 at the same time

- Check if Py_IsInitialized() before initializing the plugin and skip
double initialization.
- unloadPlugin(): skip the Python shutdown so that a crash is avoided
mod - core/src/filed/fd_plugins.cc 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 afcb0404

2021-02-09 17:45

stephand

Ported: N/A

Details Diff
BareosFdPluginOvirt.py: fix global name 'configparser' is not defined

Also includes changes for the systemtest so that this kind of bug
would be detected next time.
mod - core/src/plugins/filed/python/ovirt/BareosFdPluginOvirt.py Diff File
mod - systemtests/tests/py2plug-fd-ovirt/etc/bareos/bareos-dir.d/fileset/OvirtTest.conf.in Diff File
add - systemtests/tests/py2plug-fd-ovirt/etc/bareos/ovirt-plugin.ini.in Diff File

master 3507bef9

2021-02-09 13:14

pstorz

Ported: N/A

Details Diff
bareos{sd,fd,dir}.h: PluginContext context in plugin is now thread_local

Fixes problems with parallel jobs using python plugins.

Without this fix, parallel jobs using python plugins mixed up the plugin context
resulting in filedaemon crash and inconsistent backups.
mod - core/src/plugins/dird/python/module/bareosdir.h Diff File
mod - core/src/plugins/filed/python/module/bareosfd.h Diff File
mod - core/src/plugins/stored/python/module/bareossd.h Diff File

master 52df3699

2021-02-08 11:29

frank

Ported: N/A

Details Diff
Revert "webui: change updateBvfsCache trigger condition in restore controller"

This reverts commit 9967eb01f7297735d2e838dce6569ce8273a0c5c and
corrects the comparison operators.
mod - webui/module/Restore/src/Restore/Controller/RestoreController.php Diff File
 First  Prev  1 2 3 ... 60 ... 120 ... 180 ... 203 204 205 206 207 208 209 ... 240 ... 300 ... 360 ... 420 ... 480 ... 540 ... 600 ... 641 642 643  Next  Last