Changesets: bareos

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 0377bbaa

2023-01-06 10:16

Alaa Eddine Elamri


Committer: bruno-at-bareos

Ported: N/A

Details Diff
bscrypto: fix issue of missing last character from key

`bstrncpy` makes sure the destination string is always null
terminated, which results in the last character of the string
being replaced with `0` which in turn makes the passphrase string
missing its last character.
mod - core/src/tools/bscrypto.cc Diff File

master d9550b55

2023-01-06 09:55

Alaa Eddine Elamri


Committer: bruno-at-bareos

Ported: N/A

Details Diff
bscrypto: change hardcoded file descriptor number

Remove the hardcoded 1 to explicit STDOUT_FILENO
mod - core/src/tools/bscrypto.cc Diff File

master 575ac109

2023-01-05 16:38

Alaa Eddine Elamri


Committer: bruno-at-bareos

Ported: N/A

Details Diff
bscrypto: remove mutual exclusion of -k and -w
mod - core/src/tools/bscrypto.cc Diff File

master 3bdc64cd

2023-01-05 11:44

Alaa Eddine Elamri


Committer: bruno-at-bareos

Ported: N/A

Details Diff
bscrypto: fix issue of reduced keydata size
mod - core/src/tools/bscrypto.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

master d6ac60d3

2023-01-02 16:41

pstorz


Committer: GitHub

Ported: N/A

Details Diff
Merge pull request 0001346

cats: fix issue where `startfile` field gets wrongly updated
mod - CHANGELOG.md Diff File
mod - core/src/cats/sql_create.cc Diff File

master fa192f97

2023-01-02 16:41

pstorz

Ported: N/A

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

master 6880efa3

2023-01-02 16:40

pstorz

Ported: N/A

Details Diff
format: apply bareos-check-sources changes
mod - core/src/cats/sql_create.cc Diff File

master ad450ce0

2023-01-02 14:28

Alaa Eddine Elamri

Ported: N/A

Details Diff
cats: fix issue where `startfile` field gets wrongly updated
mod - core/src/cats/sql_create.cc Diff File

master 7c866e6b

2022-12-30 15:11

bruno-at-bareos

Ported: N/A

Details Diff
systemtests: add scsicrypto

Those tests will be activated with cmake autochanger and tapes drives
flag is present in cojunction with -Dscsi-crypto=ON.
We use quadstore-vtl to test and design the tests.

- add vtl functions to global scripts
- systemtests: remove obsolete plugin option values
mod - systemtests/cmake/BareosSystemtestFunctions.cmake Diff File
add - systemtests/scripts/create_autochanger_configs.sh.in Diff File
add - systemtests/scripts/invalidate_tapes.sh Diff File
add - systemtests/scripts/redirect_output Diff File
mod - systemtests/tests/CMakeLists.txt Diff File
mod - systemtests/tests/acl/etc/bareos/bareos-sd.d/storage/bareos-sd.conf.in Diff File
mod - systemtests/tests/always-incremental-consolidate/etc/bareos/bareos-sd.d/storage/bareos-sd.conf.in Diff File
mod - systemtests/tests/autochanger/etc/bareos/bareos-sd.d/storage/bareos-sd.conf.in Diff File
mod - systemtests/tests/bareos-acl/etc/bareos/bareos-sd.d/storage/bareos-sd.conf.in Diff File
mod - systemtests/tests/bconsole-basic/etc/bareos/bareos-sd.d/storage/bareos-sd.conf.in Diff File
mod - systemtests/tests/block-size/etc/bareos/bareos-sd.d/storage/bareos-sd.conf.in Diff File
mod - systemtests/tests/bscan-bextract-bls-bcopy/etc/bareos/bareos-sd.d/storage/bareos-sd.conf.in Diff File
mod - systemtests/tests/chflags/etc/bareos/bareos-sd.d/storage/bareos-sd.conf.in Diff File
mod - systemtests/tests/client-initiated/etc/bareos/bareos-sd.d/storage/bareos-sd.conf.in Diff File
mod - systemtests/tests/copy-archive-job/etc/bareos/bareos-sd.d/storage/bareos-sd.conf.in Diff File
mod - systemtests/tests/copy-migrate/etc/bareos/bareos-sd.d/storage/bareos-sd.conf.in Diff File
mod - systemtests/tests/copy-remote-bscan/etc/bareos/bareos-sd.d/storage/bareos-sd.conf.in Diff File
mod - systemtests/tests/deprecation/etc/bareos/bareos-sd.d/storage/bareos-sd.conf.in Diff File
mod - systemtests/tests/droplet-s3/etc/bareos/bareos-sd.d/storage/bareos-sd.conf.in Diff File
mod - systemtests/tests/encrypt-signature-no-tls/etc/bareos/bareos-sd.d/storage/bareos-sd.conf.in Diff File
mod - systemtests/tests/encrypt-signature-tls-cert/etc/bareos/bareos-sd.d/storage/bareos-sd.conf.in Diff File
mod - systemtests/tests/file-autochanger/etc/bareos/bareos-sd.d/storage/bareos-sd.conf.in Diff File
mod - systemtests/tests/fileset-multiple-blocks/etc/bareos/bareos-sd.d/storage/bareos-sd.conf.in Diff File
mod - systemtests/tests/filesets/etc/bareos/bareos-sd.d/storage/bareos-sd.conf.in Diff File
mod - systemtests/tests/gfapi-fd/etc/bareos/bareos-sd.d/storage/bareos-sd.conf.in Diff File
mod - systemtests/tests/glusterfs-backend/etc/bareos/bareos-sd.d/storage/bareos-sd.conf.in Diff File
mod - systemtests/tests/heartbeat-interval/etc/bareos/bareos-sd.d/storage/bareos-sd.conf.in Diff File
mod - systemtests/tests/list-backups/etc/bareos/bareos-sd.d/storage/bareos-sd.conf.in Diff File
mod - systemtests/tests/multiplied-device/etc/bareos/bareos-sd.d/storage/bareos-sd.conf.in Diff File
mod - systemtests/tests/notls/etc/bareos/bareos-sd.d/storage/bareos-sd.conf.in Diff File
mod - systemtests/tests/passive/etc/bareos/bareos-sd.d/storage/bareos-sd.conf.in Diff File
mod - systemtests/tests/pruning/etc/bareos/bareos-sd.d/storage/bareos-sd.conf.in Diff File
mod - systemtests/tests/py3plug-fd-basic/etc/bareos/bareos-sd.d/storage/bareos-sd.conf.in Diff File
mod - systemtests/tests/py3plug-fd-contrib-bareos_tasks_mysql/etc/bareos/bareos-sd.d/storage/bareos-sd.conf.in Diff File
mod - systemtests/tests/py3plug-fd-contrib-mysql_dump/etc/bareos/bareos-sd.d/storage/bareos-sd.conf.in Diff File
mod - systemtests/tests/py3plug-fd-ldap/etc/bareos/bareos-sd.d/storage/bareos-sd.conf.in Diff File
mod - systemtests/tests/py3plug-fd-libcloud/etc/bareos/bareos-sd.d/storage/bareos-sd.conf.in Diff File
mod - systemtests/tests/py3plug-fd-local-fileset-basic/etc/bareos/bareos-sd.d/storage/bareos-sd.conf.in Diff File
mod - systemtests/tests/py3plug-fd-mariabackup/etc/bareos/bareos-sd.d/storage/bareos-sd.conf.in Diff File
mod - systemtests/tests/py3plug-fd-percona-xtrabackup/etc/bareos/bareos-sd.d/storage/bareos-sd.conf.in Diff File
mod - systemtests/tests/py3plug-fd-postgresql/etc/bareos/bareos-sd.d/storage/bareos-sd.conf.in Diff File
mod - systemtests/tests/py3plug-fd-vmware/etc/bareos/bareos-sd.d/storage/bareos-sd.conf.in Diff File
mod - systemtests/tests/python-bareos/etc/bareos/bareos-sd.d/storage/bareos-sd.conf.in Diff File
mod - systemtests/tests/quota-softquota/etc/bareos/bareos-sd.d/storage/bareos-sd.conf.in Diff File
mod - systemtests/tests/restapi/etc/bareos/bareos-sd.d/storage/bareos-sd.conf.in Diff File
mod - systemtests/tests/scheduler/etc/bareos/bareos-sd.d/storage/bareos-sd.conf.in Diff File
add - systemtests/tests/scsicrypto/CMakeLists.txt Diff File
add - systemtests/tests/scsicrypto/etc/bareos/bareos-dir.d/catalog/MyCatalog.conf.in Diff File
add - systemtests/tests/scsicrypto/etc/bareos/bareos-dir.d/client/bareos-fd.conf.in Diff File
add - systemtests/tests/scsicrypto/etc/bareos/bareos-dir.d/director/bareos-dir.conf.in Diff File
add - systemtests/tests/scsicrypto/etc/bareos/bareos-dir.d/fileset/Catalog.conf.in Diff File
add - systemtests/tests/scsicrypto/etc/bareos/bareos-dir.d/fileset/SelfTest.conf.in Diff File
add - systemtests/tests/scsicrypto/etc/bareos/bareos-dir.d/job/RestoreFiles.conf.in Diff File
add - systemtests/tests/scsicrypto/etc/bareos/bareos-dir.d/job/backup-bareos-fd.conf.in Diff File
add - systemtests/tests/scsicrypto/etc/bareos/bareos-dir.d/jobdefs/DefaultJob.conf.in Diff File
add - systemtests/tests/scsicrypto/etc/bareos/bareos-dir.d/messages/Daemon.conf.in Diff File
add - systemtests/tests/scsicrypto/etc/bareos/bareos-dir.d/messages/Standard.conf.in Diff File
add - systemtests/tests/scsicrypto/etc/bareos/bareos-dir.d/pool/Differential.conf Diff File
add - systemtests/tests/scsicrypto/etc/bareos/bareos-dir.d/pool/Full.conf Diff File
add - systemtests/tests/scsicrypto/etc/bareos/bareos-dir.d/pool/Incremental.conf Diff File
add - systemtests/tests/scsicrypto/etc/bareos/bareos-dir.d/pool/Scratch.conf Diff File
add - systemtests/tests/scsicrypto/etc/bareos/bareos-dir.d/profile/operator.conf Diff File
add - systemtests/tests/scsicrypto/etc/bareos/bareos-dir.d/storage/File.conf.in Diff File
add - systemtests/tests/scsicrypto/etc/bareos/bareos-dir.d/storage/Tape.conf.autogenerated_by_test Diff File
add - systemtests/tests/scsicrypto/etc/bareos/bareos-fd.d/client/myself.conf.in Diff File
add - systemtests/tests/scsicrypto/etc/bareos/bareos-fd.d/director/bareos-dir.conf.in Diff File
add - systemtests/tests/scsicrypto/etc/bareos/bareos-fd.d/messages/Standard.conf Diff File
add - systemtests/tests/scsicrypto/etc/bareos/bareos-sd.d/autochanger/autochanger.conf.autogenerated_by_test Diff File
add - systemtests/tests/scsicrypto/etc/bareos/bareos-sd.d/device/FileStorage.conf Diff File
add - systemtests/tests/scsicrypto/etc/bareos/bareos-sd.d/device/tape_devices.conf.autogenerated_by_test Diff File
add - systemtests/tests/scsicrypto/etc/bareos/bareos-sd.d/director/bareos-dir.conf.in Diff File
add - systemtests/tests/scsicrypto/etc/bareos/bareos-sd.d/messages/Standard.conf Diff File
add - systemtests/tests/scsicrypto/etc/bareos/bareos-sd.d/storage/bareos-sd.conf.in Diff File
add - systemtests/tests/scsicrypto/etc/bareos/bconsole.conf.in Diff File
add - systemtests/tests/scsicrypto/etc/sudoers.d/build.in Diff File
add - systemtests/tests/scsicrypto/test-config.in Diff File
add - systemtests/tests/scsicrypto/test-setup Diff File
add - systemtests/tests/scsicrypto/testrunner-backup-bscrypto Diff File
mod - systemtests/tests/sparse-file/etc/bareos/bareos-sd.d/storage/bareos-sd.conf.in Diff File
mod - systemtests/tests/spool/etc/bareos/bareos-sd.d/storage/bareos-sd.conf.in Diff File
mod - systemtests/tests/tlsrestricted/etc/bareos/bareos-sd.d/storage/bareos-sd.conf.in Diff File
mod - systemtests/tests/truncate-command/etc/bareos/bareos-sd.d/storage/bareos-sd.conf.in Diff File
mod - systemtests/tests/virtualfull-bscan/etc/bareos/bareos-sd.d/storage/bareos-sd.conf.in Diff File
mod - systemtests/tests/webui-common/etc/bareos/bareos-sd.d/storage/bareos-sd.conf.in Diff File
mod - systemtests/tests/xattr/etc/bareos/bareos-sd.d/storage/bareos-sd.conf.in Diff File

master 259055bd

2022-12-30 11:04

tuxmaster5000


Committer: arogge

Ported: N/A

Details Diff
ndmjob: Fix gcc erros on Fedora-37
mod - CHANGELOG.md Diff File
mod - core/src/ndmp/ndmjob_args.c Diff File
mod - core/src/ndmp/ndmjob_main_util.c Diff File
mod - core/src/ndmp/ndmjob_simulator.c Diff File
mod - core/src/ndmp/ndmjr_none.c Diff File

master 7f0a39df

2022-12-29 12:17

Alaa Eddine Elamri

Ported: N/A

Details Diff
refactor: ua_purge.cc

* remove bailout
* rename and reorder variables
mod - core/src/dird/ua_purge.cc Diff File

master 0c4ec4f2

2022-12-28 16:17

Alaa Eddine Elamri


Committer: Philipp Storz

Ported: N/A

Details Diff
refactor: inc_conf.cc: remove unused parameters
mod - core/src/dird/inc_conf.cc Diff File

master 6cb5b099

2022-12-27 13:02

Alaa Eddine Elamri

Ported: N/A

Details Diff
filed: removed `RunBeforeJob` and `RunAfterCmd` ...

... from filed/dir_cmd as they were developed to only be compatible
with old versions
mod - core/src/filed/dir_cmd.cc Diff File
 First  Prev  1 2 3 ... 60 ... 99 100 101 102 103 104 105 ... 120 ... 180 ... 240 ... 300 ... 360 ... 420 ... 480 ... 540 ... 600 ... 641 642 643  Next  Last