Changesets: bareos

master 89089c36

2023-01-18 12:02

arogge

Ported: N/A

Details Diff
third-party: add xxHash config

Add CMake configuration for xxHash library
mod - third-party/CMakeLists.txt Diff File
add - third-party/xxHash.cmake Diff File

master dd35d952

2023-01-18 11:55

arogge

Ported: N/A

Details Diff
check-sources: don't ignore toplevel in 3rd-party

We only want to ignore the files in the third-party subdirectories, not
the ones in the toplevel, that we write ourselves.
mod - .bareos-check-sources-ignore Diff File

master 930785b9

2023-01-17 16:35

arogge

Ported: N/A

Details Diff
docs: add Signature XXH128

Add documentation for the new Signature XXH128 to the FileSet Option
documentation.
mod - docs/manuals/source/Configuration/Director.rst Diff File

master 0a48c44c

2023-01-17 14:25

Alaa Eddine Elamri


Committer: Philipp Storz

Ported: N/A

Details Diff
systemtest: adapt `config-dump` test
mod - systemtests/tests/config-dump/etc/bareos/bareos-dir-full.conf.in Diff File

master 49717c05

2023-01-17 10:47

Alaa Eddine Elamri


Committer: Philipp Storz

Ported: N/A

Details Diff
inc_conf.cc: make sure default options are set

even when no option is listed
mod - core/src/dird/inc_conf.cc Diff File

master c73b1a11

2023-01-16 18:55

arogge

Ported: N/A

Details Diff
stored: fix broken volume swapping

Fix a problem introduced in Bareos 22 with commit
6c265ec52 replace volatile device pointers with actual variable

Due to an oversight in a refactoring, a swap would no longer move the
volume to another device, but switch over to use the device that had the
desired volume loaded.
As that device was not reserved, but was unreserved during acquire, the
storage daemon would eventually crash in this case.
mod - core/src/stored/vol_mgr.cc Diff File

master 29c0d2da

2023-01-16 17:20

arogge

Ported: N/A

Details Diff
systemtests: add file-autochanger:swapdev test

Add test system:file-autochanger:swapdev to track the broken volume
swapping behaviour introduced in Bareos 22.0.0.
This also adds a virtual file-based autochanger that can be used for
other kinds of tests.
mod - systemtests/tests/CMakeLists.txt Diff File
add - systemtests/tests/file-autochanger/CMakeLists.txt Diff File
add - systemtests/tests/file-autochanger/etc/bareos/bareos-dir.d/catalog/MyCatalog.conf.in Diff File
add - systemtests/tests/file-autochanger/etc/bareos/bareos-dir.d/client/bareos-fd.conf.in Diff File
add - systemtests/tests/file-autochanger/etc/bareos/bareos-dir.d/director/bareos-dir.conf.in Diff File
add - systemtests/tests/file-autochanger/etc/bareos/bareos-dir.d/fileset/Catalog.conf.in Diff File
add - systemtests/tests/file-autochanger/etc/bareos/bareos-dir.d/fileset/SelfTest.conf.in Diff File
add - systemtests/tests/file-autochanger/etc/bareos/bareos-dir.d/job/RestoreFiles.conf.in Diff File
add - systemtests/tests/file-autochanger/etc/bareos/bareos-dir.d/job/backup-bareos-fd.conf.in Diff File
add - systemtests/tests/file-autochanger/etc/bareos/bareos-dir.d/jobdefs/DefaultJob.conf.in Diff File
add - systemtests/tests/file-autochanger/etc/bareos/bareos-dir.d/messages/Daemon.conf.in Diff File
add - systemtests/tests/file-autochanger/etc/bareos/bareos-dir.d/messages/Standard.conf.in Diff File
add - systemtests/tests/file-autochanger/etc/bareos/bareos-dir.d/pool/Differential.conf Diff File
add - systemtests/tests/file-autochanger/etc/bareos/bareos-dir.d/pool/Full.conf Diff File
add - systemtests/tests/file-autochanger/etc/bareos/bareos-dir.d/pool/Incremental.conf Diff File
add - systemtests/tests/file-autochanger/etc/bareos/bareos-dir.d/pool/Scratch.conf Diff File
add - systemtests/tests/file-autochanger/etc/bareos/bareos-dir.d/profile/operator.conf Diff File
add - systemtests/tests/file-autochanger/etc/bareos/bareos-dir.d/storage/File.conf.in Diff File
add - systemtests/tests/file-autochanger/etc/bareos/bareos-fd.d/client/myself.conf.in Diff File
add - systemtests/tests/file-autochanger/etc/bareos/bareos-fd.d/director/bareos-dir.conf.in Diff File
add - systemtests/tests/file-autochanger/etc/bareos/bareos-fd.d/messages/Standard.conf Diff File
add - systemtests/tests/file-autochanger/etc/bareos/bareos-sd.d/autochanger/FileStorage.conf Diff File
add - systemtests/tests/file-autochanger/etc/bareos/bareos-sd.d/device/FileStorage.conf Diff File
add - systemtests/tests/file-autochanger/etc/bareos/bareos-sd.d/director/bareos-dir.conf.in Diff File
add - systemtests/tests/file-autochanger/etc/bareos/bareos-sd.d/messages/Standard.conf Diff File
add - systemtests/tests/file-autochanger/etc/bareos/bareos-sd.d/storage/bareos-sd.conf.in Diff File
add - systemtests/tests/file-autochanger/etc/bareos/bconsole.conf.in Diff File
add - systemtests/tests/file-autochanger/mtx-changer Diff File
add - systemtests/tests/file-autochanger/mtx-inventory.txt Diff File
add - systemtests/tests/file-autochanger/test-setup Diff File
add - systemtests/tests/file-autochanger/testrunner-swapdev Diff File

master 9d9fcf4c

2023-01-16 17:17

arogge

Ported: N/A

Details Diff
stored: add new backend autochanger_test_device

Duplicate the file backend and pretend it is a tape. This is meant for
testing purposes only and will allow developers to run
autochanger-related tests without the need for an autochanger or a full
emulator (like mhvtl).
mod - core/src/stored/backends/CMakeLists.txt Diff File
add - core/src/stored/backends/autochanger_test_device.cc Diff File
add - core/src/stored/backends/autochanger_test_device.h Diff File

master 5bd0cc4e

2023-01-16 17:16

arogge

Ported: N/A

Details Diff
stored: make Device::IsTape() virtual

Allow each backend to decide if it is a tape or not. Previously only a
backend named "tape" would be considered a tape.
With this change we can now add new backends that are also treated like
a tape.
mod - core/src/stored/backends/generic_tape_device.h Diff File
mod - core/src/stored/dev.h Diff File

master 08a15f48

2023-01-13 14:56

Alaa Eddine Elamri


Committer: pstorz

Ported: N/A

Details Diff
apply bareos-check-sources
mod - systemtests/tests/bareos-basic/CMakeLists.txt Diff File
mod - systemtests/tests/bconsole-basic/CMakeLists.txt Diff File
mod - systemtests/tests/virtualfull-basic/CMakeLists.txt Diff File

master 7297f2b8

2023-01-12 18:42

arogge


Committer: pstorz

Ported: N/A

Details Diff
devtools: Update pip-tools dependencies

Ran rm Pipfile.lock && pipenv install
mod - devtools/pip-tools/Pipfile.lock Diff File
mod - devtools/pip-tools/check_sources.egg-info/SOURCES.txt Diff File

master dbcf56c8

2023-01-12 15:53

bruno-at-bareos

Ported: N/A

Details Diff
docs: Binary Policy add note for next-version~pre

- add a note section to explain in detailled human words what's
behing ~pre binary build in current.
- clarify next major changes in both repositories.

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

master 19460160

2023-01-12 15:51

bruno-at-bareos

Ported: N/A

Details Diff
docs: Release Note remove binaries warning section

- since new Bareos Binary Policy for >= 22, warning is none
- add pointer to the corresponding section

Signed-off-by: Bruno Friedmann <bruno.friedmann@bareos.com>
mod - docs/manuals/source/Appendix/ReleaseNotes.rst Diff File

master 575ebad6

2023-01-11 12:16

Alaa Eddine Elamri


Committer: Andreas Rogge

Ported: N/A

Details Diff
testfind: fix crash when fileset not found
mod - core/src/tools/testfind_fd.cc Diff File

master da94e4df

2023-01-10 19:37

stephand


Committer: pstorz

Ported: N/A

Details Diff
VMware Plugin: pyVmomi 8.x compatibility

In pyVmomi 8.0 the SmartConnectNoSSL() method was removed.
This change uses SmartConnect with the disableSslCertValidation=True
parameter instead. As it was added in pyVmomi 7.0.2 this is now the
minimum required version, this was added to the documentation.
mod - core/src/plugins/filed/python/vmware/BareosFdPluginVMware.py Diff File
mod - docs/manuals/source/TasksAndConcepts/Plugins/FileDaemonPlugins/VMwarePlugin.rst.inc Diff File

master e44eef85

2023-01-10 18:33

stephand

Ported: N/A

Details Diff
format: Apply check-sources changes
mod - core/src/plugins/filed/python/ldap/BareosFdPluginLDAP.py Diff File

master ff572a11

2023-01-10 18:19

stephand

Ported: N/A

Details Diff
Python Plugins: Avoid pop(0) performance impact

Python plugins should use collections.deque with popleft() instead
of lists with pop(0) as it incurs O(n) memory movement costs which
causes performance issues on large lists.
mod - contrib/fd-plugins/openvz7/BareosFdPluginVz7CtFs.py Diff File
mod - core/src/plugins/filed/python/ldap/BareosFdPluginLDAP.py Diff File
mod - docs/manuals/source/DeveloperGuide/PythonPluginAPI.rst Diff File

master d69e476f

2023-01-10 16:17

arogge

Ported: N/A

Details Diff
systemtests: configure bareos systemtest to xxh128

Change "Signature" in bareos systemtest's fileset to xxh128.
mod - systemtests/tests/bareos-basic/etc/bareos/bareos-dir.d/fileset/SelfTest.conf.in Diff File

master 8801b21b

2023-01-10 16:16

arogge

Ported: N/A

Details Diff
core: register xxHash128

Registers the xxHash128 checksum in every place configurable hashes are
done.
mod - core/src/dird/catreq.cc Diff File
mod - core/src/dird/dird_conf.cc Diff File
mod - core/src/dird/inc_conf.cc Diff File
mod - core/src/dird/testfind.cc Diff File
mod - core/src/filed/accurate.cc Diff File
mod - core/src/filed/backup.cc Diff File
mod - core/src/filed/fileset.cc Diff File
mod - core/src/filed/restore.cc Diff File
mod - core/src/filed/verify.cc Diff File
mod - core/src/filed/verify_vol.cc Diff File
mod - core/src/findlib/bfile.cc Diff File
mod - core/src/findlib/match.cc Diff File
mod - core/src/include/fileopts.h Diff File
mod - core/src/include/streams.h Diff File
mod - core/src/stored/bextract.cc Diff File
mod - core/src/stored/bscan.cc Diff File
mod - core/src/stored/record.cc Diff File

master 414c48ed

2023-01-10 16:14

arogge

Ported: N/A

Details Diff
lib: add xxHash128 checksum implementation
mod - core/src/lib/CMakeLists.txt Diff File
mod - core/src/lib/crypto.cc Diff File
mod - core/src/lib/crypto.h Diff File
mod - core/src/lib/crypto_openssl.cc Diff File
add - core/src/lib/xxhash.cc Diff File
add - core/src/lib/xxhash.h Diff File

master 29e6692a

2023-01-10 10:00

arogge

Ported: N/A

Details Diff
lib: refactor crypto_openssl to allow new digests

Refactor the code on crypto_openssl so that we can add another digest
that is not openssl-based. This mostly adds another level of
indirection by moving digest update and finalize into class scope and
making Digest a base-class with no ties to OpenSSL.

TL;DR use virtual dispatch so we can call something that is not OpenSSL
mod - core/src/lib/crypto.cc Diff File
mod - core/src/lib/crypto.h Diff File
mod - core/src/lib/crypto_openssl.cc Diff File
mod - core/src/lib/crypto_openssl.h Diff File

master e97e21df

2023-01-09 17:03

arogge

Ported: N/A

Details Diff
lib: remove crypto_none and crypto_nss

As OpenSSL is a hard requirement, these cannot be used anymore and thus
will be removed.
mod - core/src/lib/CMakeLists.txt Diff File
rm - core/src/lib/crypto_none.cc Diff File
rm - core/src/lib/crypto_nss.cc Diff File

master bd9eb371

2023-01-03 13:15

pstorz


Committer: arogge

Ported: N/A

Details Diff
autoxflate: verify valid compress.deflate_buffer
mod - core/src/plugins/stored/autoxflate/autoxflate-sd.cc Diff File

master 92a1bd82

2023-01-03 13:00

pstorz


Committer: arogge

Ported: N/A

Details Diff
stored tools: callbSdEventSetupRecordTranslation
mod - core/src/stored/bcopy.cc Diff File
mod - core/src/stored/bextract.cc Diff File
mod - core/src/stored/bscan.cc Diff File
mod - core/src/stored/btape.cc Diff File

master 6ebb09f2

2023-01-03 12:44

pstorz


Committer: arogge

Ported: N/A

Details Diff
bls.cc: call bSdEventSetupRecordTranslation

This call lets the autoxflate plugin setup the compression buffers.
mod - core/src/stored/bls.cc Diff File
 First  Prev  1 2 3 ... 60 ... 62 63 64 65 66 67 68 ... 120 ... 180 ... 240 ... 300 ... 360 ... 420 ... 480 ... 540 ... 600 ... 604 605 606  Next  Last