Changesets: bareos

master 280c374d

2022-10-12 15:46

Alaa Eddine Elamri


Committer: pstorz

Ported: N/A

Details Diff
systemtests: add expect_not_grep function
mod - systemtests/scripts/functions Diff File

master f7323177

2022-10-12 15:31

Alaa Eddine Elamri


Committer: pstorz

Ported: N/A

Details Diff
dird: check if batch started before updating file table
mod - core/src/dird/catreq.cc Diff File

master 9206236d

2022-10-12 15:02

Alaa Eddine Elamri


Committer: pstorz

Ported: N/A

Details Diff
docs: update documentation
mod - docs/manuals/source/Appendix.rst Diff File
add - docs/manuals/source/Appendix/Checkpoints.rst Diff File
mod - docs/manuals/source/manually_added_config_directive_descriptions/sd-storage-CheckpointInterval.rst.inc Diff File

master 86223583

2022-10-12 13:54

Guido.Hartenberg

Ported: N/A

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

master 1193ac15

2022-10-12 12:34

Alaa Eddine Elamri


Committer: pstorz

Ported: N/A

Details Diff
stored: disable checkpoints by default
mod - core/src/stored/stored_conf.cc Diff File
mod - docs/manuals/source/include/autogenerated/bareos-sd-config-schema.json Diff File
mod - docs/manuals/source/manually_added_config_directive_descriptions/sd-storage-CheckpointInterval.rst.inc Diff File

master af1d8d2a

2022-10-12 12:26

Alaa Eddine Elamri


Committer: pstorz

Ported: N/A

Details Diff
stored: disable checkpoints when spooling
mod - core/src/stored/append.cc Diff File

master 4364e10d

2022-10-11 18:16

frank

Ported: N/A

Details Diff
webui: extend restore to handle plugin options
mod - webui/install/bareos/bareos-dir.d/profile/webui-admin.conf Diff File
mod - webui/module/Client/src/Client/Model/ClientModel.php Diff File
mod - webui/module/Restore/src/Restore/Controller/RestoreController.php Diff File
mod - webui/module/Restore/src/Restore/Form/RestoreForm.php Diff File
mod - webui/module/Restore/src/Restore/Model/Restore.php Diff File
mod - webui/module/Restore/src/Restore/Model/RestoreModel.php Diff File
mod - webui/module/Restore/view/restore/restore/index.phtml Diff File
mod - webui/module/Restore/view/restore/restore/versions.phtml Diff File
mod - webui/vendor/Bareos/library/Bareos/BSock/BareosBSock.php Diff File

master b41e0420

2022-10-11 16:42

Alaa Eddine Elamri


Committer: pstorz

Ported: N/A

Details Diff
stored: rename spooled attributes check for more clarity
mod - core/src/stored/append.cc Diff File
mod - core/src/stored/spool.cc Diff File
mod - core/src/stored/spool.h Diff File

master e81c6780

2022-10-11 16:01

arogge

Ported: N/A

Details Diff
stored: don't call Device::IsTape() unneccessary

Previously IsTape() was called for display purposes. This patch displays
the configured Device Type instead.
mod - core/src/stored/acquire.cc Diff File
mod - core/src/stored/dev.h Diff File
mod - core/src/stored/status.cc Diff File

master 3ee0e4b2

2022-10-11 15:02

arogge

Ported: N/A

Details Diff
stored: remove Device::IsFifo()

This is now implemented via SeekType. The refactored code also catches
some cases when a backend does not override a required method.
mod - core/src/stored/dev.cc Diff File
mod - core/src/stored/dev.h Diff File

master 2c452e16

2022-10-11 12:34

arogge

Ported: N/A

Details Diff
stored: remove Device::IsFile()

This patch refactors all uses of IsFile() into individual checks that
should do what the original author intended.
mod - core/src/stored/backends/droplet_device.h Diff File
mod - core/src/stored/backends/generic_tape_device.h Diff File
mod - core/src/stored/backends/gfapi_device.h Diff File
mod - core/src/stored/backends/unix_fifo_device.h Diff File
mod - core/src/stored/backends/unix_file_device.cc Diff File
mod - core/src/stored/backends/unix_file_device.h Diff File
mod - core/src/stored/backends/win32_fifo_device.h Diff File
mod - core/src/stored/backends/win32_file_device.cc Diff File
mod - core/src/stored/backends/win32_file_device.h Diff File
mod - core/src/stored/dev.cc Diff File
mod - core/src/stored/dev.h Diff File
mod - core/src/stored/mount.cc Diff File
mod - core/src/stored/scan.cc Diff File
mod - core/src/stored/vol_mgr.cc Diff File

master aec10e8a

2022-10-11 11:47

arogge

Ported: N/A

Details Diff
systemtests: suppress python leaks in py23plug-dir
add - systemtests/tests/py2plug-dir/lsan-suppressions.txt Diff File
mod - systemtests/tests/py2plug-dir/testrunner Diff File

master c50a1a24

2022-10-11 11:32

arogge

Ported: N/A

Details Diff
stored: disable copy/move on Device class
mod - core/src/stored/dev.h Diff File

master 9b4883a8

2022-10-10 17:16

arogge

Ported: N/A

Details Diff
tests: refactor droplet test into own program

Previously the droplet tests were integrated into the sd_backend tests.
With the new backend loading, we cannot configure a droplet backend if
we did not build it, thus we need to extract the droplet tests so we can
disable them completely.
mod - .gitignore Diff File
mod - core/src/tests/CMakeLists.txt Diff File
add - core/src/tests/configs/droplet_backend/bareos-sd.d/storage/myself.conf.in Diff File
add - core/src/tests/droplet_backend.cc Diff File
mod - core/src/tests/sd_backend.cc Diff File
add - core/src/tests/sd_backend_tests.h Diff File

master 0a346707

2022-10-10 16:32

arogge

Ported: N/A

Details Diff
stored: remove BackendInterface layer

Instead of returning a factory that will then provide Device*, we can
return the Device* from the PluginRegistry's factory directly. This
removes the BackendInterface layer that wrapped the factory again.
mod - core/src/stored/dev.cc Diff File
mod - core/src/stored/sd_backends.h Diff File
mod - core/src/stored/sd_backends_dynamic.cc Diff File
mod - core/src/stored/stored_conf.cc Diff File

master cca826ee

2022-10-10 16:25

Guido.Hartenberg

Ported: N/A

Details Diff
webui: adapt links to new URLs after website relaunch

The old URLs still work, thanks to redirection. Anyhow, it makes sense to directly use the new URLs.
mod - webui/module/Application/view/layout/layout.phtml.in Diff File

master ef44197e

2022-10-10 16:16

arogge

Ported: N/A

Details Diff
stored: cleanup unused backend interfaces

This patch removes now unused parts of the old storage backend
interface.
mod - core/src/stored/CMakeLists.txt Diff File
mod - core/src/stored/btape.cc Diff File
rm - core/src/stored/sd_backends.cc Diff File
mod - core/src/stored/sd_backends.h Diff File
mod - core/src/stored/stored.cc Diff File
mod - core/src/stored/stored_conf.cc Diff File
mod - core/src/tests/sd_backend.cc Diff File
mod - core/src/tests/sd_reservation.cc Diff File

master c984b003

2022-10-10 14:47

Alaa Eddine Elamri

Ported: N/A

Details Diff
append.cc: switch job messages to debug messages to reduce clutter
mod - core/src/stored/append.cc Diff File

master 49cc107f

2022-10-10 14:36

arogge

Ported: N/A

Details Diff
tests: adapt test config to stricter requirements

If you configure a device, the backend will be checked when the
configuration is loaded. Thus a lot of the existing test configurations
need to be adapted to either use existing storge backends or to have
BackendDirectory configured.
mod - .gitignore Diff File
mod - core/src/tests/configs/sd_reservation/bareos-sd.d/device/auto1.conf Diff File
rm - core/src/tests/configs/statistics_thread/sd_statistics_thread/default_config/bareos-sd.d/storage/myself.conf Diff File
add - core/src/tests/configs/statistics_thread/sd_statistics_thread/default_config/bareos-sd.d/storage/myself.conf.in Diff File
rm - core/src/tests/configs/statistics_thread/sd_statistics_thread/only_collect_set/bareos-sd.d/storage/myself.conf Diff File
add - core/src/tests/configs/statistics_thread/sd_statistics_thread/only_collect_set/bareos-sd.d/storage/myself.conf.in Diff File
rm - core/src/tests/configs/statistics_thread/sd_statistics_thread/only_interval_set/bareos-sd.d/storage/myself.conf Diff File
add - core/src/tests/configs/statistics_thread/sd_statistics_thread/only_interval_set/bareos-sd.d/storage/myself.conf.in Diff File
rm - core/src/tests/configs/stored_multiplied_device/bareos-sd.d/storage/bareos-sd.conf Diff File
add - core/src/tests/configs/stored_multiplied_device/bareos-sd.d/storage/bareos-sd.conf.in Diff File

master cb4a04b8

2022-10-07 15:36

arogge


Committer: GitHub

Ported: N/A

Details Diff
Merge pull request 0001249

dird: fix tls reload crash
mod - CHANGELOG.md Diff File
mod - core/src/dird/reload.cc Diff File
mod - core/src/lib/parse_conf.cc Diff File
mod - core/src/lib/parse_conf.h Diff File
mod - core/src/lib/tls_openssl.cc Diff File
mod - core/src/lib/tls_openssl.h Diff File
mod - core/src/lib/tls_openssl_private.cc Diff File
mod - core/src/lib/tls_openssl_private.h Diff File
mod - core/src/tests/test_config_parser_dir.cc Diff File

master e6a180cd

2022-10-07 12:59

arogge

Ported: N/A

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

master eb335267

2022-10-06 17:00

Alaa Eddine Elamri


Committer: pstorz

Ported: N/A

Details Diff
backup.cc: move device reservation just before backup cmd to fd in native backup
mod - core/src/dird/backup.cc Diff File

master b5fd7df8

2022-10-06 16:41

Alaa Eddine Elamri


Committer: pstorz

Ported: N/A

Details Diff
dird: split device reservation from sd job start
mod - core/src/dird/backup.cc Diff File
mod - core/src/dird/migrate.cc Diff File
mod - core/src/dird/msgchan.cc Diff File
mod - core/src/dird/msgchan.h Diff File
mod - core/src/dird/ndmp_dma_backup_NDMP_BAREOS.cc Diff File
mod - core/src/dird/ndmp_dma_restore_NDMP_BAREOS.cc Diff File
mod - core/src/dird/restore.cc Diff File
mod - core/src/dird/vbackup.cc Diff File
mod - core/src/dird/verify.cc Diff File

master 74ff88ea

2022-10-06 12:49

Alaa Eddine Elamri


Committer: arogge

Ported: N/A

Details Diff
windows: fix windows complaints
mod - core/src/dird/fd_cmds.cc Diff File
mod - core/src/tests/version_strings.cc Diff File

master 529ff83c

2022-10-05 16:05

arogge

Ported: N/A

Details Diff
stored: register backends in plugin-registry

This patch introduces a plugin regsitry that contains all loaded
backends. Storage backends will self-register their factory either at
startup (in case the backend is statically linked into the SD) or when
the backend is loaded.

From the backend's perspective, there's no difference if it is
statically or dynamically loaded anymore.

Finally, the loading of the backends is done right after loading the
configuration, so for every device we check the presence of its backend
and fail if it is missing or cannot be loaded.
add - core/src/lib/plugin_registry.h Diff File
mod - core/src/stored/CMakeLists.txt Diff File
mod - core/src/stored/backends/CMakeLists.txt Diff File
mod - core/src/stored/backends/droplet_device.cc Diff File
mod - core/src/stored/backends/gfapi_device.cc Diff File
mod - core/src/stored/backends/unix_fifo_device.cc Diff File
mod - core/src/stored/backends/unix_file_device.cc Diff File
mod - core/src/stored/backends/unix_tape_device.cc Diff File
mod - core/src/stored/dev.cc Diff File
mod - core/src/stored/sd_backends.h Diff File
add - core/src/stored/sd_backends_dynamic.cc Diff File
mod - core/src/stored/stored_conf.cc Diff File
 First  Prev  1 2 3 ... 60 ... 83 84 85 86 87 88 89 ... 120 ... 180 ... 240 ... 300 ... 360 ... 420 ... 480 ... 540 ... 600 ... 607 608 609  Next  Last