Changesets: bareos

master 4816ac15

2024-01-17 13:11

Sebastian Sura


Committer: Bareos Bot

Ported: N/A

Details Diff
bareos-systemtest-functions: fix bad regex replace

Depending on where your source code is located, the regex replace may
remove more than just the path prefix that we want to
replace (e.g. source is located at /bareos -> bad replace for
etc/bareos/...).

Now ALL_FILES contains paths relative to CMAKE_SOURCE_DIR (that way we
do not need to remove it anymore). To restore the previous behaviour
we now just need to prepend the source directory again to get the
CURRENT_FILE.
mod - systemtests/cmake/BareosSystemtestFunctions.cmake Diff File

master bf5f42c8

2024-01-17 12:00

joergs


Committer: Bareos Bot

Ported: N/A

Details Diff
cmake: marking some options as advanced

Some option are ON by default.
This change marks them as advanced
and removes them from the build descriptions.
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/platforms/packaging/bareos.spec Diff File
mod - debian/rules Diff File

master ea3256a3

2024-01-17 09:27

Sebastian Sura

Ported: N/A

Details Diff
fvec: fix posix_fallocate for unsupported filesystems

we use ftruncate if posix_fallocate does not work
mod - core/src/stored/backends/dedup/fvec.h Diff File

master 4806ac83

2024-01-17 09:25

Sebastian Sura

Ported: N/A

Details Diff
fvec: add more information to error messages
mod - core/src/stored/backends/dedup/fvec.h Diff File

master bda0943c

2024-01-17 08:05

Sebastian Sura

Ported: N/A

Details Diff
fvec-test: fix test for parallel execution

The test did not support each subtest getting called on its own (since
they shared state). To fix this each test now gets its own file, as
well as each test setting up the file how they need it to be.
mod - core/src/tests/fvec.cc Diff File

master c2f84eea

2024-01-17 08:03

Sebastian Sura

Ported: N/A

Details Diff
fvec: fix compiler errors if mremap not supported

This also fixes an issue that occurs if mmap/mremap fails. In that
case buffer should be reset to nullptr, so that the destructor does
not try to unmap it a second time.
mod - core/src/stored/backends/dedup/fvec.h Diff File

master dcf35bed

2024-01-16 18:43

joergs


Committer: Bareos Bot

Ported: N/A

Details Diff
build: remove outdated reference to bat
mod - core/platforms/packaging/bareos.spec Diff File

master f230d710

2024-01-16 18:38

joergs


Committer: Bareos Bot

Ported: N/A

Details Diff
cmake: mark some options a advanced

Mark option, that are normally not manually set as advanced.
mod - cmake/BareosSetVariableDefaults.cmake Diff File

master 629268a7

2024-01-16 18:38

joergs


Committer: Bareos Bot

Ported: N/A

Details Diff
cmake: remove unused options
mod - core/CMakeLists.txt Diff File

master b02afe3a

2024-01-16 15:18

joergs


Committer: Bareos Bot

Ported: N/A

Details Diff
Update cmake/BareosSetVariableDefaults.cmake

Co-authored-by: Andreas Rogge <andreas.rogge@bareos.com>
mod - cmake/BareosSetVariableDefaults.cmake Diff File

master 78929b00

2024-01-16 14:45

Bareos Bot


Committer: GitHub

Ported: N/A

Details Diff
Merge pull request #1655

plugins: postgresql fix missing pg_backup_stop() call
mod - CHANGELOG.md Diff File
mod - core/src/plugins/filed/python/postgresql/bareos-fd-postgresql.py Diff File
mod - systemtests/tests/py3plug-fd-postgresql/testrunner-default Diff File

master 2cb3701c

2024-01-16 14:45

Bareos Bot

Ported: N/A

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

master 99cb49c2

2024-01-15 15:44

joergs


Committer: Bareos Bot

Ported: N/A

Details Diff
remove obsolete travis files

The travis service is no longer used,
therefore these files are no longer required.
rm - .travis.yml Diff File
rm - .travis/all Diff File
rm - .travis/travis_before_install.sh Diff File
rm - .travis/travis_before_script.sh Diff File

master 9b4023d6

2024-01-15 11:53

Sebastian Sura

Ported: N/A

Details Diff
append: fix possible deadlock

This construct enters into a deadlock if
1) the writer is waiting because the queue is full
2) the reader is waiting on the writer to quit

The reason is that this status is not communicated through the queue
but with a separate variable.

This commit makes it so the status is communicated only through the
queue itself. Special note has to be taken in the case of a timeout
in the reader (res == fd->Timeout) since normally this branch does not
look at the queue at all.

Because of this we needed to add a function the the channel that
actively checks whether the other side is still alive.
mod - core/src/lib/channel.h Diff File
mod - core/src/stored/append.cc Diff File

master 71c4b556

2024-01-15 07:53

Sebastian Sura

Ported: N/A

Details Diff
fvec: add min/max growth sizes

When handling files we do not want to grow too fast or too slow since
its a) wasteful or b) slow.
mod - core/src/stored/backends/dedup/fvec.h Diff File

master 38dfba25

2024-01-15 07:50

Sebastian Sura

Ported: N/A

Details Diff
fvec: add additional checks
mod - core/src/stored/backends/dedup/fvec.h Diff File

master 85203164

2024-01-12 13:01

arogge


Committer: Bareos Bot

Ported: N/A

Details Diff
freebsd: use openssl from base

as we already have openssl in base, it is probably easier to just use
that one instead of the one from ports.
mod - core/platforms/freebsd/bareos-freebsd/bareos.com-common/BareosCommonMakefile Diff File

master e3fd3d53

2024-01-12 07:29

Bareos Bot


Committer: GitHub

Ported: N/A

Details Diff
Merge pull request #1659

Fix bareos_tasks plugin for pgsql
mod - AUTHORS Diff File
mod - CHANGELOG.md Diff File
mod - contrib/fd-plugins/bareos_tasks/BareosFdTaskClass.py Diff File
mod - contrib/fd-plugins/bareos_tasks/pgsql/BareosFdPgSQLClass.py Diff File
mod - contrib/fd-plugins/bareos_tasks/pgsql/README.md Diff File
mod - contrib/fd-plugins/bareos_tasks/pgsql/__init__.py Diff File
add - systemtests/tests/py3plug-fd-postgresql/etc/bareos/bareos-dir.d/fileset/bareos_tasks_pgsql.conf.in Diff File
add - systemtests/tests/py3plug-fd-postgresql/etc/bareos/bareos-dir.d/job/backup-bareos-fd-tasks-pgsql.conf Diff File
add - systemtests/tests/py3plug-fd-postgresql/testrunner-tasks-pgsql Diff File

master 6c072926

2024-01-12 07:29

Bareos Bot

Ported: N/A

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

master c2628a89

2024-01-11 19:40

joergs


Committer: Bareos Bot

Ported: N/A

Details Diff
cmake: use execute_process instead of exec_program

exec_program is deprecated since cmake >= 3.0
mod - cmake/BareosCheckChflags.cmake Diff File
mod - cmake/BareosCheckXattr.cmake Diff File
mod - cmake/uninstall.cmake Diff File

master c2874a41

2024-01-11 15:03

joergs

Ported: N/A

Details Diff
python-bareos: use configargparse

instead of argparse.
mod - contrib/misc/bareos_pam_integration/pam_exec_add_bareos_user.py Diff File
mod - contrib/misc/triggerjob/bareos-triggerjob.py Diff File
mod - python-bareos/bareos/bsock/directorconsole.py Diff File
mod - python-bareos/bareos/bsock/lowlevel.py Diff File
mod - python-bareos/bareos/util/__init__.py Diff File
add - python-bareos/bareos/util/argparse.py Diff File
mod - python-bareos/bin/bareos-fd-connect.py Diff File
mod - python-bareos/bin/bareos-jsonrpc-server.py Diff File
mod - python-bareos/bin/bconsole-json.py Diff File
mod - python-bareos/bin/bconsole.py Diff File
mod - python-bareos/debian/control Diff File
mod - python-bareos/packaging/python-bareos.spec Diff File
mod - python-bareos/setup.py Diff File

master 0abd660d

2024-01-11 12:53

Sebastian Sura

Ported: N/A

Details Diff
restore-test: fix full-restore testrunner

The restore result was not checked before
mod - systemtests/tests/restore/testrunner-full-restore Diff File

master a15e7c4e

2024-01-11 12:10

Bareos Bot


Committer: GitHub

Ported: N/A

Details Diff
Merge pull request #1656

core: sql_* add leading space to sql construct
mod - CHANGELOG.md Diff File
mod - core/src/cats/bvfs.cc Diff File
mod - core/src/cats/sql_create.cc Diff File
mod - core/src/cats/sql_get.cc Diff File
mod - core/src/cats/sql_list.cc Diff File
mod - core/src/cats/sql_update.cc Diff File

master 36a330dd

2024-01-11 12:10

Bareos Bot

Ported: N/A

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

master b3cb5e2b

2024-01-11 10:48

Sebastian Sura

Ported: N/A

Details Diff
fvec: add flush support
mod - core/src/stored/backends/dedup/fvec.h Diff File
 First  Prev  1 2 3 4 5 6 7 8 ... 60 ... 120 ... 180 ... 240 ... 300 ... 360 ... 420 ... 480 ... 540 ... 600 601 602  Next  Last