Changesets: bareos

master b270c901

2023-02-13 13:47

Alaa Eddine Elamri


Committer: arogge

Ported: N/A

Details Diff
apply bareos-check-sources
mod - core/src/stored/append.cc Diff File
mod - core/src/stored/append.h Diff File

master 93e47ddb

2023-02-13 13:45

Sebastian Sura

Ported: N/A

Details Diff
restore: Fix bad format string
mod - core/src/dird/restore.cc Diff File

master cc1e0c72

2023-02-13 13:43

Alaa Eddine Elamri


Committer: arogge

Ported: N/A

Details Diff
stored: rename checkpointhandler file
mod - core/src/stored/CMakeLists.txt Diff File
mod - core/src/stored/append.cc Diff File

master 0448d171

2023-02-13 12:42

Alaa Eddine Elamri


Committer: arogge

Ported: N/A

Details Diff
stored: update setting and getting readyforcheckpoint
mod - core/src/stored/append.cc Diff File
mod - core/src/stored/checkpoint_handler.cc Diff File
mod - core/src/stored/checkpoint_handler.h Diff File

master 78b29946

2023-02-13 12:00

Alaa Eddine Elamri

Ported: N/A

Details Diff
backends: remove default_db_backend
mod - cmake/BareosSetVariableDefaults.cmake Diff File
mod - core/CMakeLists.txt Diff File
mod - core/platforms/freebsd/bareos-freebsd/bareos.com-common/BareosCommonMakefile Diff File
mod - core/src/cats/CMakeLists.txt Diff File
rm - core/src/win32/cats/make_def Diff File
mod - systemtests/CMakeLists.txt Diff File

master 9b658e9f

2023-02-13 12:00

Alaa Eddine Elamri

Ported: N/A

Details Diff
backends: remove install-default-backend
mod - .gitignore Diff File
rm - core/src/cats/install-default-backend.in Diff File

master a579a83a

2023-02-13 11:39

arogge


Committer: GitHub

Ported: N/A

Details Diff
Merge pull request 0001316

bsmtp: fix and update code, and change CLI parsing to CLI11
mod - CHANGELOG.md Diff File
mod - core/src/tools/CMakeLists.txt Diff File
mod - core/src/tools/bsmtp.cc Diff File
mod - docs/manuals/CMakeLists.txt Diff File
mod - docs/manuals/source/include/autogenerated/usage/bsmtp.txt Diff File

master be21b8c7

2023-02-13 11:39

arogge

Ported: N/A

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

master 613fc003

2023-02-13 11:25

Alaa Eddine Elamri

Ported: N/A

Details Diff
backends: remove BACKEND_DIR_TO_TEST
mod - systemtests/cmake/BareosSystemtestFunctions.cmake Diff File

master f9f8cc0e

2023-02-13 11:15

arogge


Committer: pstorz

Ported: N/A

Details Diff
python-fd: improve PythonFdWrapper interface

you can now just use @BareosPlugin as decorator for your plugin class
instead of re-implementing load_bareos_plugin() yourself.
mod - core/src/plugins/filed/python/pyfiles/BareosFdWrapper.py Diff File
mod - systemtests/tests/py3plug-fd-basic/python-modules/jobmsg-module.py Diff File

master 2dc40eec

2023-02-13 10:42

arogge


Committer: pstorz

Ported: N/A

Details Diff
systemtests: add py3plug-fd-basic / jobmsg test

Introduce a new test where a python plugin for the FD emits a job
message in every callback.
mod - systemtests/tests/CMakeLists.txt Diff File
add - systemtests/tests/py3plug-fd-basic/CMakeLists.txt Diff File
add - systemtests/tests/py3plug-fd-basic/etc/bareos/bareos-dir.d/catalog/MyCatalog.conf.in Diff File
add - systemtests/tests/py3plug-fd-basic/etc/bareos/bareos-dir.d/client/bareos-fd.conf.in Diff File
add - systemtests/tests/py3plug-fd-basic/etc/bareos/bareos-dir.d/director/bareos-dir.conf.in Diff File
add - systemtests/tests/py3plug-fd-basic/etc/bareos/bareos-dir.d/fileset/Catalog.conf.in Diff File
add - systemtests/tests/py3plug-fd-basic/etc/bareos/bareos-dir.d/fileset/PluginTest.conf.in Diff File
add - systemtests/tests/py3plug-fd-basic/etc/bareos/bareos-dir.d/fileset/SelfTest.conf.in Diff File
add - systemtests/tests/py3plug-fd-basic/etc/bareos/bareos-dir.d/job/RestoreFiles.conf.in Diff File
add - systemtests/tests/py3plug-fd-basic/etc/bareos/bareos-dir.d/job/backup-bareos-fd.conf Diff File
add - systemtests/tests/py3plug-fd-basic/etc/bareos/bareos-dir.d/jobdefs/DefaultJob.conf.in Diff File
add - systemtests/tests/py3plug-fd-basic/etc/bareos/bareos-dir.d/messages/Daemon.conf.in Diff File
add - systemtests/tests/py3plug-fd-basic/etc/bareos/bareos-dir.d/messages/Standard.conf.in Diff File
add - systemtests/tests/py3plug-fd-basic/etc/bareos/bareos-dir.d/pool/Differential.conf Diff File
add - systemtests/tests/py3plug-fd-basic/etc/bareos/bareos-dir.d/pool/Full.conf Diff File
add - systemtests/tests/py3plug-fd-basic/etc/bareos/bareos-dir.d/pool/Incremental.conf Diff File
add - systemtests/tests/py3plug-fd-basic/etc/bareos/bareos-dir.d/pool/Scratch.conf Diff File
add - systemtests/tests/py3plug-fd-basic/etc/bareos/bareos-dir.d/profile/operator.conf Diff File
add - systemtests/tests/py3plug-fd-basic/etc/bareos/bareos-dir.d/storage/File.conf.in Diff File
add - systemtests/tests/py3plug-fd-basic/etc/bareos/bareos-fd.d/client/myself.conf.in Diff File
add - systemtests/tests/py3plug-fd-basic/etc/bareos/bareos-fd.d/director/bareos-dir.conf.in Diff File
add - systemtests/tests/py3plug-fd-basic/etc/bareos/bareos-fd.d/messages/Standard.conf Diff File
add - systemtests/tests/py3plug-fd-basic/etc/bareos/bareos-sd.d/device/FileStorage.conf Diff File
add - systemtests/tests/py3plug-fd-basic/etc/bareos/bareos-sd.d/director/bareos-dir.conf.in Diff File
add - systemtests/tests/py3plug-fd-basic/etc/bareos/bareos-sd.d/messages/Standard.conf Diff File
add - systemtests/tests/py3plug-fd-basic/etc/bareos/bareos-sd.d/storage/bareos-sd.conf.in Diff File
add - systemtests/tests/py3plug-fd-basic/etc/bareos/bconsole.conf.in Diff File
add - systemtests/tests/py3plug-fd-basic/jobmsg-backup.txt Diff File
add - systemtests/tests/py3plug-fd-basic/jobmsg-restore.txt Diff File
add - systemtests/tests/py3plug-fd-basic/python-modules/jobmsg-module.py Diff File
add - systemtests/tests/py3plug-fd-basic/test-setup Diff File
add - systemtests/tests/py3plug-fd-basic/testrunner-jobmsg Diff File

master 42e69a5e

2023-02-13 10:36

pstorz


Committer: GitHub

Ported: N/A

Details Diff
Merge pull request 0001367

dird: skip disabled clients in status command
mod - AUTHORS Diff File
mod - CHANGELOG.md Diff File
mod - core/src/dird/ua_status.cc Diff File
mod - systemtests/tests/bconsole-basic/testrunner-status-client Diff File

master e6d16c2c

2023-02-13 10:36

pstorz

Ported: N/A

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

master 416b048f

2023-02-13 10:31

pstorz

Ported: N/A

Details Diff
format: apply bareos-check-sources changes
mod - AUTHORS Diff File

master a51c405b

2023-02-10 16:28

Sebastian Sura


Committer: Andreas Rogge

Ported: N/A

Details Diff
dird: Only validate pass 1 resources

Similar to the situation in stored, here the pass 2 resources are just
dummies which do not contain every information.

As such we only validate resources from pass 1.
mod - core/src/dird/dird_conf.cc Diff File

master 8324a832

2023-02-10 15:39

Sebastian Sura


Committer: Andreas Rogge

Ported: N/A

Details Diff
gtest: add warning to disable local dir when failing

If you have a local bareos director running that is using a port that
a test wants to start a director on it will fail. Normally this will
not happen but one particular test checks the default config.

In that case it might not be obvious to check wether you have a bareos
director running in the background. This hint was added for this
particular purpose.
mod - core/src/tests/addresses_and_ports.cc Diff File

master 45e832fa

2023-02-10 15:21

Sebastian Sura


Committer: Andreas Rogge

Ported: N/A

Details Diff
bnet: Print not send messages instead of its address
mod - core/src/lib/bnet.cc Diff File

master 2c620ad2

2023-02-10 15:19

Sebastian Sura


Committer: Andreas Rogge

Ported: N/A

Details Diff
tests: Write tape with capital t (as per docs)

Since the documentation uses capital letters our tests should reflect
that so that we do not miss any bugs that get introduced by this
discrepancy.
mod - core/src/tests/configs/sd_backend/bareos-sd.d/device/tape1.conf Diff File
mod - core/src/tests/configs/sd_reservation/bareos-sd.d/device/auto1.conf Diff File
mod - core/src/tests/configs/sd_reservation/bareos-sd.d/device/single2.conf Diff File
mod - core/src/tests/configs/statistics_thread/sd_statistics_thread/default_config/bareos-sd.d/device/tape1.conf Diff File
mod - core/src/tests/configs/statistics_thread/sd_statistics_thread/only_collect_set/bareos-sd.d/device/tape1.conf Diff File
mod - core/src/tests/configs/statistics_thread/sd_statistics_thread/only_interval_set/bareos-sd.d/device/tape1.conf Diff File
mod - systemtests/tests/autochanger/create_autochanger_configs.sh.in Diff File
mod - systemtests/tests/block-size/create_autochanger_configs.sh.in Diff File

master 946143a8

2023-02-10 15:17

Sebastian Sura


Committer: Andreas Rogge

Ported: N/A

Details Diff
stored: lower case device type during validation

Since other parts of the system are actually using equality
comparision, we should ensure that any validated resource is actually
usable by the rest of the system. In this case we do this by
lower_case-ing the device type before we start the validation process.
mod - core/src/stored/device_resource.cc Diff File

master 561280c0

2023-02-10 13:30

Sebastian Sura


Committer: Andreas Rogge

Ported: N/A

Details Diff
stored: Fix bad string comparision

Since the config parsing step does not always take care to lower case
the device type, we need to check case insensitivly wether the
device_type is tape or not!
mod - core/src/stored/device_resource.cc Diff File

master 56914480

2023-02-10 13:25

Sebastian Sura


Committer: Andreas Rogge

Ported: N/A

Details Diff
bugfix: stored_conf: Fix validating wrong resource

During pass 2 dummy resources are being created that end up not being
really used. These dummy resources often do not get filled with the
complete information; in particular device_type was never filled out
since its std::string.

Previously the dummy resource was being used to validate the resource
configuration. This lead to spurious warnings since the validator
expected the data to be actually correct, e.g. it checked to see if
the device_resource was a tape or not. Since this info was not filled
out it threw a warning.

Now the resource created in pass 1 is used for validation.
mod - core/src/stored/stored_conf.cc Diff File

master fafa53dc

2023-02-09 14:31

Sebastian Sura


Committer: Andreas Rogge

Ported: N/A

Details Diff
weird-files: update directory names

A (non-existent) directory that contained a file that was softlinked
by a file in weird-files, was still named bacula. This commit
recreated those softlinks to instead link into a directory named bareos.
mod - systemtests/data/weird-files.tar.gz Diff File

master 66aac313

2023-02-09 13:15

Alaa Eddine Elamri


Committer: arogge

Ported: N/A

Details Diff
systemtest: update tests to backup bigger amount of files
mod - systemtests/tests/checkpoints/etc/bareos/bareos-dir.d/fileset/SelfTest.conf.in Diff File
add - systemtests/tests/checkpoints/etc/bareos/bareos-dir.d/fileset/bigfileset.conf.in Diff File
mod - systemtests/tests/checkpoints/etc/bareos/bareos-dir.d/job/slow-backup-bareos-fd.conf Diff File
mod - systemtests/tests/checkpoints/etc/bareos/bareos-dir.d/pool/FullSmallvolumes.conf Diff File
mod - systemtests/tests/checkpoints/testrunner-checkpoints-and-spooling Diff File
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
mod - systemtests/tests/checkpoints/testrunner-checkpoints-regular-backup Diff File

master bef96311

2023-02-09 13:15

Alaa Eddine Elamri


Committer: arogge

Ported: N/A

Details Diff
checkpoints: create jobmedia record after volume change
mod - core/src/stored/append.cc Diff File
mod - core/src/stored/checkpointhandler.cc Diff File

master 4e78fde3

2023-02-09 12:29

Alaa Eddine Elamri


Committer: Andreas Rogge

Ported: N/A

Details Diff
refactor: remove `CheckResources` duplication
mod - core/src/filed/filed.cc Diff File
mod - core/src/filed/filed_utils.cc Diff File
 First  Prev  1 2 3 ... 60 ... 94 95 96 97 98 99 100 ... 120 ... 180 ... 240 ... 300 ... 360 ... 420 ... 480 ... 540 ... 600 ... 641 642 643  Next  Last