Changesets: bareos

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

master 870ad841

2022-05-06 19:45

joergs

Ported: N/A

Details Diff
systemtest python-bareos: add test for bareos-fd pluginoptions
mod - systemtests/cmake/BareosSystemtestFunctions.cmake Diff File
mod - systemtests/python-modules/bareos_unittest/json.py 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 b2329067

2022-05-06 15:37

joergs

Ported: N/A

Details Diff
systemtest py2plug-fd-local-fileset-restoreobject: cleanup
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

master 4ba973a7

2022-05-06 15:12

joergs

Ported: N/A

Details Diff
docs: fix formatting in vmware plugin chapter
mod - docs/manuals/source/TasksAndConcepts/Plugins/FileDaemonPlugins/VMwarePlugin.rst.inc Diff File

master 59f1c5ca

2022-05-05 20:31

pstorz

Ported: N/A

Details Diff
mysql contrib tests: add workaround for Ubuntu 22

see https://bugs.launchpad.net/ubuntu/+source/mariadb-10.6/+bug/1970634
mod - systemtests/tests/py2plug-fd-contrib-bareos_tasks_mysql/mysqldefaults.in Diff File
mod - systemtests/tests/py3plug-fd-contrib-mysql_dump/mysqldefaults.in Diff File

master 7cd9c922

2022-05-05 16:26

pstorz

Ported: N/A

Details Diff
ubuntu22: pidof does not work on full binary path
mod - systemtests/tests/reload/reload_test_functions Diff File

master 858268cf

2022-05-05 13:31

pstorz


Committer: GitHub

Ported: N/A

Details Diff
Merge pull request 0001169

dird: bconsole: add support for comma separated jobstatus values in list jobs command
mod - CHANGELOG.md Diff File
mod - core/src/cats/cats.h Diff File
mod - core/src/cats/sql_list.cc Diff File
mod - core/src/dird/ua_output.cc Diff File
mod - core/src/dird/ua_select.cc Diff File
mod - core/src/dird/ua_select.h Diff File
mod - core/src/tests/select_functions.cc Diff File
mod - systemtests/tests/python-bareos/test_list_command.py Diff File

master a82fd242

2022-05-04 15:34

pstorz

Ported: N/A

Details Diff
ubuntu22: add pkglist
add - docs/pkglists/xUbuntu_22.04.x86_64 Diff File
 First  Prev  1 2 3 ... 60 ... 120 ... 136 137 138 139 140 141 142 ... 180 ... 240 ... 300 ... 360 ... 420 ... 480 ... 540 ... 600 ... 641 642 643  Next  Last