Changesets: bareos

master fbf49618

2024-01-10 10:41

Bareos Bot


Committer: GitHub

Ported: N/A

Details Diff
Merge pull request 0001538

Improve FreeBSD build
mod - CHANGELOG.md Diff File
mod - cmake/BareosExtractVersionInfo.cmake Diff File
rm - core/cmake/BareosTimeFunctions.cmake Diff File
mod - core/platforms/freebsd/bareos-freebsd/bareos.com-common/BareosCommonMakefile Diff File
mod - core/platforms/freebsd/bareos-freebsd/bareos.com-common/pkg-plist.database-postgresql Diff File
mod - core/platforms/freebsd/bareos-freebsd/bareos.com-common/pkg-plist.director-python-plugin Diff File
mod - core/platforms/freebsd/bareos-freebsd/bareos.com-common/pkg-plist.filedaemon-python3-plugin Diff File
mod - core/platforms/freebsd/bareos-freebsd/bareos.com-common/pkg-plist.storage-python-plugin Diff File
mod - core/platforms/freebsd/bareos-freebsd/bareos.com-filedaemon-python-plugins-common/Makefile Diff File
mod - core/platforms/freebsd/bareos-freebsd/bareos.com-filedaemon-python3-plugin/Makefile Diff File
mod - core/src/lib/jcr.cc Diff File
mod - systemtests/CMakeLists.txt Diff File

master 92c86ffa

2024-01-10 10:41

Bareos Bot

Ported: N/A

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

master afd7a87e

2024-01-10 06:38

Sebastian Sura

Ported: N/A

Details Diff
fvec: add additional constructors + rule-of-five
mod - core/src/stored/backends/dedup/fvec.h Diff File

master ea8c14f8

2024-01-09 14:50

bruno-at-bareos


Committer: Bareos Bot

Ported: N/A

Details Diff
core: sql_* add leading space to sql construct

- fix ERROR: trailing junk after numeric literal at or near "123A"
in sql_list.cc
- Add IF EXISTS in DROP TABLE statement
- unifomize the query in sql_upgrade.cc
- control all sql function for missing space

Signed-off-by: Bruno Friedmann <bruno.friedmann@bareos.com>
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 b5f2eb18

2024-01-09 14:12

bruno-at-bareos

Ported: N/A

Details Diff
plugins: postgresql fix missing pg_backup_stop() call

- pg_backup_stop() is called in all job level depending of the
`backup_running` status. This allow a better support of
incremental with no changes.
- add in testrunner-default checks of WARNING or ERROR in cluster
logs
- is_backup_running boolean true if pg_backup_start has been run
- is_backup_full boolean true if backup level is Full
- apply black formatting suggestion

Fixes 0001584: Incremental PostgreSQL backup will log an warning on
the database server

Signed-off-by: Bruno Friedmann <bruno.friedmann@bareos.com>
Affected Issues
0001584
mod - core/src/plugins/filed/python/postgresql/bareos-fd-postgresql.py Diff File
mod - systemtests/tests/py3plug-fd-postgresql/testrunner-default Diff File

master 8c2991fb

2024-01-09 14:03

Sebastian Sura

Ported: N/A

Details Diff
edit: add missing include

utime_t (defined in bc_types.h) is needed to use this header.
mod - core/src/lib/edit.h Diff File

master 6d88abc2

2024-01-08 15:08

Sebastian Sura

Ported: N/A

Details Diff
fvec: add read-only/read-write distinction
mod - core/src/stored/backends/dedup/fvec.h Diff File
mod - core/src/tests/fvec.cc Diff File

master 115b3ebc

2024-01-08 15:05

Bareos Bot


Committer: GitHub

Ported: N/A

Details Diff
Merge pull request #1646

python-bareos: use socket.create_connection() to allow AF_INET6
mod - CHANGELOG.md Diff File
mod - python-bareos/bareos/bsock/lowlevel.py Diff File

master 5ab0d6ce

2024-01-08 15:05

Bareos Bot

Ported: N/A

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

master bceb0a5a

2024-01-08 14:50

Sebastian Sura

Ported: N/A

Details Diff
fvec-test: use fixture instead of global variables
mod - core/src/tests/fvec.cc Diff File

master 3feab89f

2024-01-08 13:46

Bareos Bot


Committer: GitHub

Ported: N/A

Details Diff
Merge pull request #1636

core: add build patch for `sprintf` in macos builds
mod - .matrix.yml Diff File
mod - AUTHORS Diff File
mod - CHANGELOG.md Diff File
mod - core/src/tests/job_control_record.cc Diff File

master 90a29b50

2024-01-08 13:46

Bareos Bot

Ported: N/A

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

master 7e8c73f3

2024-01-08 13:26

Sebastian Sura


Committer: Bareos Bot

Ported: N/A

Details Diff
systemtests: remove duplicate entry
mod - systemtests/CMakeLists.txt Diff File

master 680a0756

2024-01-08 12:58

Sebastian Sura


Committer: Bareos Bot

Ported: N/A

Details Diff
scripts: fix check_for_zombie_jobs

Trying to connect to a dead deamon takes around 15 secs, so doing it
20 times takes around 15 * 20 = 300 secs. Which means the test will
time out, which is not very helpful. Now the test tries to wait for
only the amount of time it was given (+- one extra attempt).
mod - systemtests/scripts/functions Diff File

master 85fc344b

2024-01-08 11:40

Sebastian Sura


Committer: Bareos Bot

Ported: N/A

Details Diff
matrix.yml: remove end of life FreeBSD 12.4
mod - .matrix.yml Diff File

master cb0eb70c

2024-01-05 07:24

Sebastian Sura


Committer: Bareos Bot

Ported: N/A

Details Diff
authors: add rui chen to authors file
mod - AUTHORS Diff File

master a54b0759

2024-01-05 07:02

Sebastian Sura


Committer: Bareos Bot

Ported: N/A

Details Diff
bnet-server-tcp: fix close_socket for windows
mod - core/src/lib/bnet_server_tcp.cc Diff File

master 989b8736

2024-01-05 06:49

Sebastian Sura


Committer: Bareos Bot

Ported: N/A

Details Diff
thread-list: fix not properly deleting move constructor
mod - core/src/lib/thread_list.h Diff File

master 27333f57

2024-01-04 15:19

Sebastian Sura


Committer: Bareos Bot

Ported: N/A

Details Diff
ktls: remove use of "hardcoded" port value
mod - core/src/tests/ktls.cc Diff File

master 4a327e62

2024-01-04 15:11

Sebastian Sura


Committer: Bareos Bot

Ported: N/A

Details Diff
bnet-server-tcp: split up creating+binding and listening

Instead of bnetservertcp doing open() + bind() + listen() all on its
own, we instead split it up so that you can give the tcp server some
already prepared sockets.

This can be used for great effect in unit tests, where you can now
1) create the sockets inside the test with port set to 0
2) give those sockets to the tcp server to listen to
3) query the selected (free) port with getsockname
This way you do not have to hardcode any ports inside the unit tests.

This also another step in disentangling the socket code and the bareos
core since you now do not need to read the address/port from the
configuration. Hopefully we can in the future unit tests sockets
without needing full blown config parsers.
mod - core/src/dird/socket_server.cc Diff File
mod - core/src/dird/socket_server.h Diff File
mod - core/src/filed/socket_server.cc Diff File
mod - core/src/lib/bnet_server_tcp.cc Diff File
mod - core/src/lib/bnet_server_tcp.h Diff File
mod - core/src/stored/socket_server.cc Diff File

master d569a558

2024-01-03 08:55

Sebastian Sura


Committer: Bareos Bot

Ported: N/A

Details Diff
checkpoints-test: fix comparing bad numbers

The test was comparing the number of files that the fd send to the
sd (this is the number displayed in the backup summary) to the number
of files that get restored (which is equal to the number of files that
the sd sends to the director). This of course does not make sense and
can cause problems if the cancel does not happen fast enough. Since
in that case the fd might continue sending files to the sd with the sd
never having the chance to send those to the director.

The fix is simple: we need to check the backup log and add up all
checkpoint batch inserts instead. This should be equal to the number
of files that the sd send to the director.

For easier debugging I also added tracing to the test.
mod - systemtests/tests/checkpoints/testrunner-checkpoints-on-cancel Diff File

master 9ec4dcde

2024-01-02 15:25

Sebastian Sura


Committer: Bareos Bot

Ported: N/A

Details Diff
jobs: add version information to joblog

Sadly on the fd side there is no easy way to do it for each job
automatically. At the moment I added it manually to backup and
restore jobs. We will see if we want to add them somewhere else as
well.
mod - core/src/dird/job.cc Diff File
mod - core/src/filed/backup.cc Diff File
mod - core/src/filed/dir_cmd.cc Diff File
mod - core/src/filed/restore.cc Diff File
mod - core/src/stored/fd_cmds.cc Diff File

master 0ff4f67c

2024-01-02 12:52

Sebastian Sura


Committer: Bareos Bot

Ported: N/A

Details Diff
ktls-test: add tls module detection
mod - core/src/tests/ktls.cc Diff File

master 80f2f651

2024-01-02 10:00

Sebastian Sura


Committer: Bareos Bot

Ported: N/A

Details Diff
heartbeat: change api
mod - core/src/filed/backup.cc Diff File
mod - core/src/filed/dir_cmd.cc Diff File
mod - core/src/filed/filed_jcr_impl.h Diff File
mod - core/src/filed/heartbeat.cc Diff File
mod - core/src/filed/heartbeat.h Diff File

master e79d40ba

2023-12-27 17:58

gmueller2000privat


Committer: stephand

Ported: N/A

Details Diff
Make Prometheus Exporter work with pyhton3
mod - contrib/dir-plugins/prometheus/BareosDirPluginPrometheusExporter.py Diff File
 First  Prev  1 2 3 ... 12 13 14 15 16 17 18 ... 60 ... 120 ... 180 ... 240 ... 300 ... 360 ... 420 ... 480 ... 540 ... 600 ... 609 610 611  Next  Last