Changesets: bareos

master 78b41049

2024-01-19 08:09

Sebastian Sura


Committer: Bareos Bot

Ported: N/A

Details Diff
backup: fix printing bad jobid

jobids are 32bit, but are printed as 64bit -> bad things happens on
windows.
mod - core/src/dird/backup.cc Diff File

master caa43e3d

2024-01-19 08:05

Sebastian Sura


Committer: Bareos Bot

Ported: N/A

Details Diff
filed: fix not setting up thread specific jcr

When using client initiated connection we do not call the normal
procedure but instead directly call process_director_commands. This
caused us to not correctly initialise the threadspecific jcr, which is
used in 1) debug messages and 2) for vss name lookup

This caused us to print bad jobids in debug messages as well as not
using the vss system at all.
mod - core/src/filed/dir_cmd.cc Diff File

master eb8cafad

2024-01-19 07:23

Sebastian Sura


Committer: Bareos Bot

Ported: N/A

Details Diff
vss-generic: find additional files to exclude/include
mod - core/src/win32/filed/vss_generic.cc Diff File

master e23b9220

2024-01-17 16:44

arogge


Committer: Bareos Bot

Ported: N/A

Details Diff
remove explicit dependency on pgsql

USES+=pgsql will pin us to a specific version of PostgreSQL, which is
probably not a great idea, so we remove it.
This will retain the (automatic) requirement to libpq, so a compatible
postgresql client will be required by the binary package.
mod - core/platforms/freebsd/bareos-freebsd/bareos.com-database-postgresql/Makefile Diff File

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 27cda324

2024-01-17 11:50

Sebastian Sura


Committer: Bareos Bot

Ported: N/A

Details Diff
packaging: add dedup backend to packaging
mod - core/platforms/packaging/bareos.spec Diff File
mod - core/src/stored/CMakeLists.txt Diff File
add - core/src/stored/backends/dedup_device.d/bareos-dir.d/storage/dedup.conf.example Diff File
add - core/src/stored/backends/dedup_device.d/bareos-sd.d/device/dedup.conf.example Diff File
add - debian/bareos-storage-dedup.install.in Diff File
mod - debian/control Diff File
mod - debian/control.bareos-storage Diff File
mod - docs/pkglists/Debian_11.x86_64 Diff File
mod - docs/pkglists/Debian_12.x86_64 Diff File
mod - docs/pkglists/EL_8.x86_64 Diff File
mod - docs/pkglists/EL_9.aarch64 Diff File
mod - docs/pkglists/EL_9.x86_64 Diff File
mod - docs/pkglists/Fedora_38.x86_64 Diff File
mod - docs/pkglists/Fedora_39.x86_64 Diff File
mod - docs/pkglists/Fedora_40.x86_64 Diff File
mod - docs/pkglists/FreeBSD_12.1.amd64 Diff File
mod - docs/pkglists/SUSE_15.x86_64 Diff File
mod - docs/pkglists/xUbuntu_20.04.x86_64 Diff File
mod - docs/pkglists/xUbuntu_22.04.x86_64 Diff File
mod - docs/pkglists/xUbuntu_24.04.x86_64 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 e855a3e8

2024-01-15 14:57

Sebastian Sura


Committer: Bareos Bot

Ported: N/A

Details Diff
systemtests: add dedup tests
mod - systemtests/tests/CMakeLists.txt Diff File
add - systemtests/tests/dedup/CMakeLists.txt Diff File
add - systemtests/tests/dedup/etc/bareos/bareos-dir.d/catalog/MyCatalog.conf.in Diff File
add - systemtests/tests/dedup/etc/bareos/bareos-dir.d/client/bareos-fd.conf.in Diff File
add - systemtests/tests/dedup/etc/bareos/bareos-dir.d/director/bareos-dir.conf.in Diff File
add - systemtests/tests/dedup/etc/bareos/bareos-dir.d/fileset/Catalog.conf.in Diff File
add - systemtests/tests/dedup/etc/bareos/bareos-dir.d/fileset/SelfTest.conf.in Diff File
add - systemtests/tests/dedup/etc/bareos/bareos-dir.d/job/BackupCatalog.conf.in Diff File
add - systemtests/tests/dedup/etc/bareos/bareos-dir.d/job/RestoreFiles.conf.in Diff File
add - systemtests/tests/dedup/etc/bareos/bareos-dir.d/job/backup-bareos-fd.conf Diff File
add - systemtests/tests/dedup/etc/bareos/bareos-dir.d/jobdefs/DefaultJob.conf.in Diff File
add - systemtests/tests/dedup/etc/bareos/bareos-dir.d/messages/Daemon.conf.in Diff File
add - systemtests/tests/dedup/etc/bareos/bareos-dir.d/messages/Standard.conf.in Diff File
add - systemtests/tests/dedup/etc/bareos/bareos-dir.d/pool/Differential.conf Diff File
add - systemtests/tests/dedup/etc/bareos/bareos-dir.d/pool/Full.conf Diff File
add - systemtests/tests/dedup/etc/bareos/bareos-dir.d/pool/Incremental.conf Diff File
add - systemtests/tests/dedup/etc/bareos/bareos-dir.d/storage/File.conf.in Diff File
add - systemtests/tests/dedup/etc/bareos/bareos-fd.d/client/myself.conf.in Diff File
add - systemtests/tests/dedup/etc/bareos/bareos-fd.d/director/bareos-dir.conf.in Diff File
add - systemtests/tests/dedup/etc/bareos/bareos-fd.d/messages/Standard.conf Diff File
add - systemtests/tests/dedup/etc/bareos/bareos-sd.d/device/DedupStorage.conf Diff File
add - systemtests/tests/dedup/etc/bareos/bareos-sd.d/director/bareos-dir.conf.in Diff File
add - systemtests/tests/dedup/etc/bareos/bareos-sd.d/messages/Standard.conf Diff File
add - systemtests/tests/dedup/etc/bareos/bareos-sd.d/storage/bareos-sd.conf.in Diff File
add - systemtests/tests/dedup/etc/bareos/bconsole.conf.in Diff File
add - systemtests/tests/dedup/functions Diff File
add - systemtests/tests/dedup/test-setup Diff File
add - systemtests/tests/dedup/testrunner-create-backup Diff File
add - systemtests/tests/dedup/testrunner-full-restore Diff File
add - systemtests/tests/dedup/testrunner-purge-truncate Diff File
add - systemtests/tests/dedup/testrunner-restore-dir Diff File
add - systemtests/tests/dedup/testrunner-restore-file Diff File

master 407a0c0e

2024-01-15 14:00

Sebastian Sura


Committer: Bareos Bot

Ported: N/A

Details Diff
dedup-volume: add simple config to test open/close
mod - core/src/stored/backends/dedup/volume.cc Diff File
mod - core/src/stored/backends/dedup/volume.h Diff File
mod - core/src/stored/backends/dedup_device.cc Diff File

master 37040af4

2024-01-15 11:53

Sebastian Sura


Committer: Bareos Bot

Ported: N/A

Details Diff
dedup-device: fix handling split records
mod - core/src/stored/backends/dedup_device.cc 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 1c3f4c2b

2024-01-15 11:52

Sebastian Sura


Committer: Bareos Bot

Ported: N/A

Details Diff
dedup-device: correctly set eot when end is reached
mod - core/src/stored/backends/dedup_device.cc Diff File

master fb3d1fa6

2024-01-15 09:31

Sebastian Sura


Committer: Bareos Bot

Ported: N/A

Details Diff
dedup-device: implement d_truncate
mod - core/src/stored/backends/dedup/volume.cc Diff File
mod - core/src/stored/backends/dedup/volume.h Diff File
mod - core/src/stored/backends/dedup_device.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
 First  Prev  1 2 3 ... 41 42 43 44 45 46 47 ... 60 ... 120 ... 180 ... 240 ... 300 ... 360 ... 420 ... 480 ... 540 ... 600 ... 641 642 643  Next  Last