Changesets: bareos

master 8a579c28

2022-05-25 21:02

Alaa Eddine Elamri

Ported: N/A

Details Diff
systemtest: test fixes

use expect_grep
fix for solaris
cancel with jobid
mod - systemtests/tests/checkpoints/testrunner-checkpoints-on-cancel Diff File
mod - systemtests/tests/checkpoints/testrunner-checkpoints-on-kill Diff File
mod - systemtests/tests/checkpoints/testrunner-checkpoints-on-stop Diff File

master 16e63257

2022-05-20 13:32

joergs


Committer: GitHub

Ported: N/A

Details Diff
Merge pull request 0001183 from bareos/dev/joergs/master/ucs5

Debian: fix Debian package dependencies for webui and Ceph
mod - CHANGELOG.md Diff File
mod - debian/bareos-webui.postinst Diff File
mod - debian/control Diff File
mod - debian/control.bareos-webui Diff File
mod - debian/control.src Diff File

master e23682ad

2022-05-19 21:57

joergs

Ported: N/A

Details Diff
webui: require PHP >= 7.0
mod - debian/bareos-webui.postinst Diff File
mod - debian/control.bareos-webui Diff File

master 02abe337

2022-05-19 15:45

joergs

Ported: N/A

Details Diff
debian: update dependencies for Ubuntu

Specify dependencies for Ubuntu 20.04 and 22.04.
Removing dependency for glusterfs-common,
as glusterfs related packages are currently not build
(as this would also require the package libglusterfs-dev)
mod - debian/control.src Diff File

master 7297eec4

2022-05-19 12:37

pstorz

Ported: N/A

Details Diff
build: add EL_9 support
mod - .matrix.yml Diff File
add - docs/pkglists/EL_9.x86_64 Diff File
mod - python-bareos/packaging/python-bareos.spec Diff File

master d91e2850

2022-05-19 12:36

pstorz

Ported: N/A

Details Diff
build: add Fedora 36 Support
mod - .matrix.yml Diff File
mod - core/platforms/packaging/bareos.spec Diff File
add - docs/pkglists/Fedora_36.x86_64 Diff File

master aa811276

2022-05-18 19:10

joergs

Ported: N/A

Details Diff
update debian/control

.. by calling
make generate-debian-control
mod - debian/control Diff File

master 59b55948

2022-05-18 19:03

joergs

Ported: N/A

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

master 7f433604

2022-05-18 15:40

joergs

Ported: N/A

Details Diff
webui: fix package dependencies

libapache2-mod-php is now available on all supported Debian based distributions,
therefore we limit our dependencies to this package.
The php-* meta packages are also usable on all platforms.
mod - debian/control.bareos-webui Diff File

master db1af022

2022-05-18 13:05

pstorz


Committer: GitHub

Ported: N/A

Details Diff
Merge pull request 0001177 from joergsteffens/dev/joergs/master/pluginoptions

Bareos Python Plugins: fix handling of extra pluginoptions
mod - CHANGELOG.md Diff File
mod - core/src/plugins/dird/python/plugin_private_context.h Diff File
mod - core/src/plugins/filed/python/plugin_private_context.h Diff File
mod - core/src/plugins/filed/python/pyfiles/BareosFdPluginLocalFilesBaseclass.py Diff File
mod - core/src/plugins/include/python_plugin_modules_common.inc Diff File
mod - core/src/plugins/stored/python/plugin_private_context.h Diff File
mod - docs/manuals/source/TasksAndConcepts/Plugins/FileDaemonPlugins/VMwarePlugin.rst.inc Diff File
mod - systemtests/cmake/BareosSystemtestFunctions.cmake Diff File
mod - systemtests/python-modules/bareos_unittest/json.py Diff File
mod - systemtests/tests/py2plug-fd-local-fileset-restoreobject/etc/bareos/bareos-dir.d/storage/File.conf.in Diff File
mod - systemtests/tests/py2plug-fd-local-fileset-restoreobject/etc/bareos/bconsole.conf.in Diff File
mod - systemtests/tests/py2plug-fd-postgres/CMakeLists.txt Diff File
add - systemtests/tests/python-bareos/etc/bareos/bareos-dir.d/fileset/PluginOptionsTest.conf.in Diff File
add - systemtests/tests/python-bareos/etc/bareos/bareos-dir.d/job/backup-bareos-fd-pluginoptions.conf.in Diff File
mod - systemtests/tests/python-bareos/etc/bareos/bareos-fd.d/client/myself.conf.in Diff File
add - systemtests/tests/python-bareos/python-modules/bareos_fd_pluginoptions/BareosFdPluginoptions.py Diff File
add - systemtests/tests/python-bareos/python-modules/bareos_fd_pluginoptions/__init__.py Diff File
mod - systemtests/tests/python-bareos/test-setup Diff File
add - systemtests/tests/python-bareos/test_python_fd_plugins.py Diff File

master af637b60

2022-05-18 11:59

bruno-at-bareos


Committer: joergs

Ported: N/A

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

master 897920a0

2022-05-17 22:33

bruno-at-bareos


Committer: joergs

Ported: N/A

Details Diff
core/scripts: make_catalog_backup replace make_catalog_backup.pl.

- core/scripts: sanitize and cleanup code, improve bareos-config-lib.sh.
- systemtests/tests: remove unused job/BackupCatalog.conf.in files.
- packaging: debian review and improve database-common dbconfig scripts.
- breaking changes: make_bareos_catalog script signature has changed
+ usage is now make_catalog_backup <catalog-name>
+ if more than one args is passed a warning is emit.
+ removed multi database driver to use only PostreSQL.
+ removed bareos-dbcheck dependency.
+ use of bareos-config-lib get_database_ functions
to setup the command line with PG env vars.
script can then be run without a .pgpass.
- create systemtests/tests/bareos/testrunner-test-make-catalog-backup
to test the default BackupCatalog job.
+ backup the catalog.
+ store versionid.
+ restore the backup.
+ drop all tables.
+ restore the catalog with the restored dump script.
+ check number of tables and versionid.
+ restart Bareos ... and compare output.
by this, we make sure, that Bareos is able to start again
and also leave this test in the same state as the other tests
(running Bareos daemons).
- bareos-config-lib.sh remove obsolete or non used functions.
+ get_database_driver
+ initialize_database_driver
+ get_database_utility_path
+ get_databases_installed
+ fix unbounded vars in bareos-config-lib.sh.
- remove support of multiple database items.
- add new function handle_database_scripts_command_line_parameter
- add Bareos License to bareos-config.
- remove usage of external parameters (like psql calls ($*)).
- add check to failed if $1 is not postgresql, warn user about deprecated usage.
- suppress dbcheck dependency.
- get_database_param is using new bareos-dir -xcRessourceName functionality
- use shellcheck -s sh to sanitize code.
- make delete_catalog_backup work the same as make_catalog_backup (using CatalogName)
- make apply_dbconfig supporting remote dbaddress
- update sed expression to only use * for POSIX compliance
- databases scripts (create,drop,make,delete,grant,update):
+ standardized messages.
+ fix handle_database_scripts_command_line_parameter call.
+ enforce -u and -e.
- make_catalog_backup.pl is now a wrapper sh script which warn
about its deprecated usage (see breaking above)
- docs: CatalogMaintenance.rst chapter renew:
+ use actual BackupCatalog.conf in example.
+ replace mysql related content with PostgreSQL equivalent.
+ remove make_catalog_backup.pl reference.
+ refresh remote database section with new instructions.

Signed-off-by: Bruno Friedmann <bruno.friedmann@bareos.com>
Co-authored-by: Jörg Steffens <joergsteffens@users.noreply.github.com>
mod - CHANGELOG.md Diff File
mod - core/platforms/debian/set_dbconfig_vars.sh.in Diff File
mod - core/platforms/freebsd/bareos-freebsd/bareos.com-common/BareosCommonMakefile Diff File
mod - core/platforms/freebsd/bareos-freebsd/bareos.com-common/Makefile Diff File
mod - core/platforms/packaging/bareos.spec Diff File
mod - core/scripts/bareos-config-lib.sh.in Diff File
mod - core/scripts/bareos-config.in Diff File
mod - core/src/cats/CMakeLists.txt Diff File
mod - core/src/cats/create_bareos_database.in Diff File
mod - core/src/cats/delete_catalog_backup.in Diff File
mod - core/src/cats/drop_bareos_database.in Diff File
mod - core/src/cats/drop_bareos_tables.in Diff File
mod - core/src/cats/grant_bareos_privileges.in Diff File
mod - core/src/cats/make_bareos_tables.in Diff File
mod - core/src/cats/make_catalog_backup.in Diff File
mod - core/src/cats/make_catalog_backup.pl.in Diff File
mod - core/src/cats/update_bareos_tables.in Diff File
mod - core/src/defaultconfigs/bareos-dir.d/job/BackupCatalog.conf.in Diff File
mod - core/src/tests/configs/catalog/bareos-dir.d/job/BackupCatalog.conf Diff File
mod - core/src/tests/configs/console-director/tls_disabled/bareos-dir.d/job/BackupCatalog.conf.in Diff File
mod - core/src/tests/configs/console-director/tls_psk_default_enabled/bareos-dir.d/job/BackupCatalog.conf.in Diff File
mod - core/src/tests/configs/run-on-incoming-connect-interval/bareos-dir.d/job/BackupCatalog.conf Diff File
mod - debian/bareos-database-common.config.in Diff File
mod - debian/bareos-database-common.postinst.in Diff File
mod - docs/manuals/source/IntroductionAndTutorial/InstallingBareosWebui.rst Diff File
mod - docs/manuals/source/TasksAndConcepts/AutomatedDiskBackup.rst Diff File
mod - docs/manuals/source/TasksAndConcepts/CatalogMaintenance.rst Diff File
mod - docs/manuals/source/TasksAndConcepts/UsingTapeDrivesWithoutAutochanger.rst Diff File
mod - systemtests/cmake/BareosSystemtestFunctions.cmake Diff File
mod - systemtests/scripts/setup Diff File
rm - systemtests/tests/acl/etc/bareos/bareos-dir.d/job/BackupCatalog.conf.in Diff File
rm - systemtests/tests/always-incremental-consolidate/etc/bareos/bareos-dir.d/job/BackupCatalog.conf.in Diff File
rm - systemtests/tests/autochanger/etc/bareos/bareos-dir.d/job/BackupCatalog.conf.in Diff File
rm - systemtests/tests/bareos-acl/etc/bareos/bareos-dir.d/job/BackupCatalog.conf.in Diff File
mod - systemtests/tests/bareos/etc/bareos/bareos-dir.d/job/BackupCatalog.conf.in Diff File
add - systemtests/tests/bareos/testrunner-test-make-catalog-backup Diff File
rm - systemtests/tests/bconsole/etc/bareos/bareos-dir.d/job/BackupCatalog.conf.in Diff File
rm - systemtests/tests/bscan-bextract-bls/etc/bareos/bareos-dir.d/job/BackupCatalog.conf.in Diff File
rm - systemtests/tests/chflags/etc/bareos/bareos-dir.d/job/BackupCatalog.conf.in Diff File
rm - systemtests/tests/client-initiated/etc/bareos/bareos-dir.d/job/BackupCatalog.conf.in Diff File
mod - systemtests/tests/config-dump/etc/bareos/bareos-dir-19.2.7-show-verbose.conf.in Diff File
mod - systemtests/tests/config-dump/etc/bareos/bareos-dir-19.2.7-xc.conf.in Diff File
mod - systemtests/tests/config-dump/etc/bareos/bareos-dir-full.conf.in Diff File
rm - systemtests/tests/config-syntax-crash/etc/bareos/bareos-dir.d/job/BackupCatalog.conf.in Diff File
rm - systemtests/tests/copy-archive-job/etc/bareos/bareos-dir.d/job/BackupCatalog.conf.in Diff File
rm - systemtests/tests/copy-remote-bscan/etc/bareos/bareos-dir.d/job/BackupCatalog.conf.in Diff File
rm - systemtests/tests/copy/etc/bareos/bareos-dir.d/job/BackupCatalog.conf.in Diff File
rm - systemtests/tests/dbcopy-mysql-postgresql/etc/bareos/bareos-dir.d/job/BackupCatalog.conf.in Diff File
rm - systemtests/tests/deprecation/etc/bareos/bareos-dir.d/job/BackupCatalog.conf.in Diff File
rm - systemtests/tests/droplet-s3/etc/bareos/bareos-dir.d/job/BackupCatalog.conf.in Diff File
rm - systemtests/tests/encrypt-signature-tls-cert/etc/bareos/bareos-dir.d/job/BackupCatalog.conf.in Diff File
rm - systemtests/tests/encrypt-signature/etc/bareos/bareos-dir.d/job/BackupCatalog.conf.in Diff File
rm - systemtests/tests/filesets/etc/bareos/bareos-dir.d/job/BackupCatalog.conf.in Diff File
rm - systemtests/tests/gfapi-fd/etc/bareos/bareos-dir.d/job/BackupCatalog.conf.in Diff File
rm - systemtests/tests/glusterfs-backend/etc/bareos/bareos-dir.d/job/BackupCatalog.conf.in Diff File
rm - systemtests/tests/list-backups/etc/bareos/bareos-dir.d/job/BackupCatalog.conf.in Diff File
rm - systemtests/tests/messages/etc/bareos/bareos-dir.d/job/BackupCatalog.conf.in Diff File
rm - systemtests/tests/multiplied-device/etc/bareos/bareos-dir.d/job/BackupCatalog.conf.in Diff File
rm - systemtests/tests/notls/etc/bareos/bareos-dir.d/job/BackupCatalog.conf.in Diff File
rm - systemtests/tests/passive/etc/bareos/bareos-dir.d/job/BackupCatalog.conf.in Diff File
rm - systemtests/tests/py2plug-dir/etc/bareos/bareos-dir.d/job/BackupCatalog.conf.in Diff File
mod - systemtests/tests/py2plug-fd-contrib-bareos_tasks_mysql/etc/bareos/bareos-dir.d/job/BackupCatalog.conf.in Diff File
rm - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-dir.d/job/BackupCatalog.conf.in Diff File
rm - systemtests/tests/py2plug-fd-libcloud/etc/bareos/bareos-dir.d/job/BackupCatalog.conf.in Diff File
rm - systemtests/tests/py2plug-fd-local-fileset-restoreobject/etc/bareos/bareos-dir.d/job/BackupCatalog.conf.in Diff File
rm - systemtests/tests/py2plug-fd-local-fileset/etc/bareos/bareos-dir.d/job/BackupCatalog.conf.in Diff File
rm - systemtests/tests/py2plug-fd-mariabackup/etc/bareos/bareos-dir.d/job/BackupCatalog.conf.in Diff File
rm - systemtests/tests/py2plug-fd-ovirt/etc/bareos/bareos-dir.d/job/BackupCatalog.conf.in Diff File
rm - systemtests/tests/py2plug-fd-percona-xtrabackup/etc/bareos/bareos-dir.d/job/BackupCatalog.conf.in Diff File
rm - systemtests/tests/py2plug-fd-postgres/etc/bareos/bareos-dir.d/job/BackupCatalog.conf.in Diff File
rm - systemtests/tests/py2plug-fd-vmware/etc/bareos/bareos-dir.d/job/BackupCatalog.conf.in Diff File
rm - systemtests/tests/py2plug-sd/etc/bareos/bareos-dir.d/job/BackupCatalog.conf.in Diff File
mod - systemtests/tests/py3plug-fd-contrib-mysql_dump/etc/bareos/bareos-dir.d/job/BackupCatalog.conf.in Diff File
rm - systemtests/tests/python-bareos/etc/bareos/bareos-dir.d/job/BackupCatalog.conf.in Diff File
rm - systemtests/tests/reload/etc/bareos/bareos-dir.d/job/BackupCatalog.conf.in Diff File
rm - systemtests/tests/scheduler-backup/etc/bareos/bareos-dir.d/job/BackupCatalog.conf.in Diff File
rm - systemtests/tests/spool/etc/bareos/bareos-dir.d/job/BackupCatalog.conf.in Diff File
rm - systemtests/tests/virtualfull-bscan/etc/bareos/bareos-dir.d/job/BackupCatalog.conf.in Diff File
rm - systemtests/tests/virtualfull/etc/bareos/bareos-dir.d/job/BackupCatalog.conf.in Diff File
rm - systemtests/tests/volume-pruning/etc/bareos/bareos-dir.d/job/BackupCatalog.conf.in Diff File
rm - systemtests/tests/webui-common/etc/bareos/bareos-dir.d/job/BackupCatalog.conf.in Diff File
rm - systemtests/tests/xattr/etc/bareos/bareos-dir.d/job/BackupCatalog.conf.in Diff File

master 9df098f3

2022-05-17 15:40

pstorz

Ported: N/A

Details Diff
py3plug-fd-postgres systemtest: remove "BROKEN" label

The test was marked broken when the plugin was using psycopg2, but now
we use pg8000 so we want to enable it again if all requirements are met.

Also we allow python >= 3.10 to be used as we now avoid the problems
arising from the fact that the stat time filds are floats instead of
ints:

> mystatp.st_atime = statp.st_atime
> TypeError: 'float' object cannot be interpreted as an integer
mod - systemtests/tests/py2plug-fd-postgres/CMakeLists.txt Diff File

master c190b6ab

2022-05-16 21:35

joergs

Ported: N/A

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

master 13dff0ba

2022-05-16 20:09

joergs

Ported: N/A

Details Diff
python plugin: explicitly convert st_*time to integer

This is required for Python >= 3.10.
mod - core/src/plugins/filed/python/pyfiles/BareosFdPluginLocalFilesBaseclass.py Diff File

master 94ca49e1

2022-05-16 14:20

pstorz

Ported: N/A

Details Diff
matrix.yml: reduce to two testtypes

- one containing the tests that are being tested in one VM
- univention-bareos as extra value
mod - .matrix.yml Diff File

master 2001c011

2022-05-11 19:07

bruno-at-bareos

Ported: N/A

Details Diff
update CHANGELOG.md

Signed-off-by: Bruno Friedmann <bruno.friedmann@bareos.com>
mod - CHANGELOG.md Diff File

master 78acb17c

2022-05-11 19:06

bruno-at-bareos

Ported: N/A

Details Diff
doc: BareosSecurityIssues.rst FIPS

- Add Security FIPS section.

Co-authored-by: Philipp Storz <philipp.storz@bareos.com>
Signed-off-by: Bruno Friedmann <bruno.friedmann@bareos.com>
mod - docs/manuals/source/TasksAndConcepts/BareosSecurityIssues.rst Diff File

master ee6574de

2022-05-11 17:30

bruno-at-bareos

Ported: N/A

Details Diff
update CHANGELOG.md

Signed-off-by: Bruno Friedmann <bruno.friedmann@bareos.com>
mod - CHANGELOG.md Diff File

master fbc7ddd6

2022-05-11 17:30

bruno-at-bareos

Ported: N/A

Details Diff
doc: clarifies CheckFileChanges option not intended to be used with plugin

Signed-off-by: Bruno Friedmann <bruno.friedmann@bareos.com>
Co-authored-by: Jörg Steffens <joergsteffens@users.noreply.github.com>
mod - docs/manuals/source/Configuration/Director.rst Diff File

master 159bec2a

2022-05-11 10:03

tuxmaster5000


Committer: bruno-at-bareos

Ported: N/A

Details Diff
Add PostgreSQL role switching and tests

- move py2plug-fd-postgres to py3plug-fd-postgres
- add tests (roles) in py3plug-fd-postgres
- add postgresql configuration to increase log verbosity
- increase debug level of fd
- cleanup extra configuration
- use expect_grep for testing result

Signed-off-by: Bruno Friedmann <bruno.friedmann@bareos.com>
mod - CHANGELOG.md Diff File
mod - core/src/plugins/filed/python/postgres/BareosFdPluginPostgres.py Diff File
mod - docs/manuals/source/TasksAndConcepts/Plugins/FileDaemonPlugins/PostgreSQLPlugin.rst.inc Diff File
mod - systemtests/tests/CMakeLists.txt Diff File
rm - systemtests/tests/py2plug-fd-postgres/etc/bareos/bareos-dir.d/profile/operator.conf Diff File
rm - systemtests/tests/py3plug-fd-postgres Diff File
add - systemtests/tests/py3plug-fd-postgres/etc/bareos/bareos-dir.d/fileset/PluginTestNoRole.conf.in Diff File
add - systemtests/tests/py3plug-fd-postgres/etc/bareos/bareos-dir.d/fileset/PluginTestRole.conf.in Diff File
add - systemtests/tests/py3plug-fd-postgres/testrunner-roles Diff File

master a9705d5f

2022-05-10 16:32

Hedi Ben Fradj


Committer: Hedi

Ported: N/A

Details Diff
packaging: add testfind binaries for FreeBSD
mod - core/platforms/freebsd/bareos-freebsd/bareos.com-common/pkg-plist.tools Diff File

master 3676b073

2022-05-10 15:10

Hedi Ben Fradj


Committer: Hedi

Ported: N/A

Details Diff
packaging: add testfind binaries for rpm and deb packages
mod - core/platforms/packaging/bareos.spec Diff File
mod - debian/bareos-tools.install.in Diff File

master 07a567f5

2022-05-09 20:06

Hedi Ben Fradj


Committer: Hedi

Ported: N/A

Details Diff
packaging: add testfind binary to windows package
mod - core/platforms/win32/winbareos.nsi Diff File

master 162c76f0

2022-05-06 19:47

joergs

Ported: N/A

Details Diff
python plugins: fix handling of extra pluginoptions

Co-authored-by: Philipp Storz <philipp.storz@bareos.com>
mod - core/src/plugins/dird/python/plugin_private_context.h Diff File
mod - core/src/plugins/filed/python/plugin_private_context.h Diff File
mod - core/src/plugins/include/python_plugin_modules_common.inc Diff File
mod - core/src/plugins/stored/python/plugin_private_context.h Diff File
 First  Prev  1 2 3 ... 60 ... 94 95 96 97 98 99 100 ... 120 ... 180 ... 240 ... 300 ... 360 ... 420 ... 480 ... 540 ... 600 601 602  Next  Last