Changesets: bareos

master fe81345d

2021-10-14 17:53

bruno-at-bareos


Committer: stephand

Ported: N/A

Details Diff
database: Add index on jobmedia mediaid,jobid

This extra index boost performance on large table (400x)
Close CR#4908, Fix TT4200733

- Catalog version is now 2210

Signed-off-by: Bruno Friedmann <bruno.friedmann@bareos.com>
mod - core/src/cats/ddl/creates/postgresql.sql Diff File
add - core/src/cats/ddl/updates/postgresql.2192_2210.sql Diff File
mod - core/src/cats/ddl/versions.map.in Diff File

master 653fb000

2021-10-13 22:52

roos


Committer: stephand

Ported: N/A

Details Diff
Log LDAP info error (e.g. expired SSL cert error)
mod - core/src/plugins/filed/python/ldap/BareosFdPluginLDAP.py Diff File

master c86ebd6c

2021-10-13 19:12

pstorz


Committer: GitHub

Ported: N/A

Details Diff
Merge pull request 0000955 from bruno-at-bareos/dev/bruno/doc-fix-glusterfs-administration-guide-uri

docs: fix glusterfs administration guide uri
mod - docs/manuals/source/TasksAndConcepts/StorageBackends.rst Diff File

master 984175ab

2021-10-13 19:11

pstorz


Committer: GitHub

Ported: N/A

Details Diff
Merge pull request 0000954 from bruno-at-bareos/dev/bruno-at-bareos/doc_improve-clarity_mail-comma-separated-list-without-space

doc: improve clarity by adding "without any space"
mod - docs/manuals/source/manually_added_config_directive_descriptions/dir-messages-Mail.rst.inc Diff File
mod - docs/manuals/source/manually_added_config_directive_descriptions/dir-messages-MailOnError.rst.inc Diff File
mod - docs/manuals/source/manually_added_config_directive_descriptions/dir-messages-MailOnSuccess.rst.inc Diff File
mod - docs/manuals/source/manually_added_config_directive_descriptions/dir-messages-Operator.rst.inc Diff File

master 0257c3a3

2021-10-13 17:48

bruno-at-bareos


Committer: arogge

Ported: N/A

Details Diff
cats: Set catalog version to 2210

- Version 2210 include new subscription views
- Add postgresql update 2192 to 2210 sql
- Run create_queryfiles.sh
- Rename dml sql script to normalized name

Signed-off-by: Bruno Friedmann <bruno.friedmann@bareos.com>
mod - core/src/cats/bdb_query_enum_class.h Diff File
mod - core/src/cats/bdb_query_names.inc Diff File
mod - core/src/cats/ddl/updates/postgresql.2192_2210.sql Diff File
mod - core/src/cats/mysql_queries.inc Diff File
mod - core/src/cats/postgresql_queries.inc Diff File
mod - core/src/cats/sqlite_queries.inc Diff File

master 32147c4e

2021-10-13 17:19

bruno-at-bareos

Ported: N/A

Details Diff
doc: fix glusterfs AdministratorGuide uri

glusterfs administrator guide for Bareos is now located at
https://docs.gluster.org/en/latest/Administrator-Guide/Bareos/

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

master 8e248544

2021-10-13 17:11

pstorz


Committer: arogge

Ported: N/A

Details Diff
build: avoid clang warnings about gcc compile/link options
mod - core/src/lmdb/CMakeLists.txt Diff File

master 487dfe4e

2021-10-13 16:33

bruno-at-bareos


Committer: arogge

Ported: N/A

Details Diff
Add status subscription queries

Add the queries to catalog dml

Signed-off-by: Bruno Friedmann <bruno.friedmann@bareos.com>
add - core/src/cats/dml/0080_subscription_sel_backup_unit_overview.sql Diff File
add - core/src/cats/dml/0081_subscription_sel_backup_unit_total.sql Diff File
add - core/src/cats/dml/0082_subscription_sel_unclassified_amount_data.sql Diff File
add - core/src/cats/dml/0082_subscription_sel_unclassified_client_fileset.sql Diff File

master fe53bdbd

2021-10-13 16:18

bruno-at-bareos


Committer: arogge

Ported: N/A

Details Diff
Create subscription view in catalog

Signed-off-by: Bruno Friedmann <bruno.friedmann@bareos.com>
mod - core/src/cats/ddl/creates/postgresql.sql Diff File

master 27e7664e

2021-10-13 13:30

pstorz


Committer: arogge

Ported: N/A

Details Diff
lmdb: skip target_link_options -Wno-stringop-overflow on bsd and darwin
mod - core/src/lmdb/CMakeLists.txt Diff File

master 1357fd69

2021-10-13 12:42

pstorz


Committer: arogge

Ported: N/A

Details Diff
build: make all warnings errors
mod - core/CMakeLists.txt Diff File

master 2ce4aefa

2021-10-13 11:26

pstorz


Committer: arogge

Ported: N/A

Details Diff
quality gates: fail on 1 warning

As we currently have no warning left, we reduce the quality gates to be
strict.
mod - .quality-gates.yml Diff File

master 86ea945e

2021-10-13 11:26

pstorz


Committer: arogge

Ported: N/A

Details Diff
quality gates: fail on 1 warning

As we currently have no warning left, we reduce the quality gates to be
strict.
mod - .quality-gates.yml Diff File

master 693d5279

2021-10-13 01:46

arogge

Ported: N/A

Details Diff
lmdb: improve hack for windows FormatMessageA()
mod - core/src/lmdb/CMakeLists.txt Diff File
mod - core/src/lmdb/mdb.c Diff File

master 29324a22

2021-10-13 00:27

arogge

Ported: N/A

Details Diff
python: remove macro MS_WIN32

Python should autodetect 32-bit and 64-bit Windows, but this is broken
when building with GCC[1].
The previous workaround we had in place defined MS_WIN32 or MS_WIN64
depending on what we're building. As MS_WIN32 is always defined, we
should only define MS_WIN64 in case we're building 64-bit Windows.

[1] https://bugs.python.org/issue4709
mod - core/src/plugins/dird/CMakeLists.txt Diff File
mod - core/src/plugins/filed/CMakeLists.txt Diff File
mod - core/src/plugins/stored/CMakeLists.txt Diff File

master f107ddc0

2021-10-12 18:35

arogge

Ported: N/A

Details Diff
lib: remove undocumented BAREOS_CFGDIR

The configuration parser had set the undocumented and unused environment
variable BAREOS_CFGDIR, which could potentially have been used in
scripts and programs generating configuration snippets. However, as this
was never documented and is not used by Bareos itself, we remove it and
with it the need for setenv() and/or putenv().
mod - core/cmake/BareosCheckFunctions.cmake Diff File
mod - core/src/include/config.h.in Diff File
mod - core/src/lib/parse_conf.cc Diff File
mod - core/src/win32/compat/include/mingwconfig.h Diff File

master 0bc60ca2

2021-10-12 18:27

arogge

Ported: N/A

Details Diff
cmake: rename PLATFORM -> BAREOS_PLATFORM

The macro PLATFORM is already used in pyconfig.h on Windows builds, so
we rename our macro to BAREOS_PLATFORM to avoid clashing.
mod - CMakeLists.txt Diff File
mod - core/CMakeLists.txt Diff File
mod - core/cmake/BareosGenerateDebianInfo.cmake Diff File
mod - core/cmake/BareosGetDistInfo.cmake Diff File
mod - core/platforms/CMakeLists.txt Diff File
mod - core/src/dird/ua_cmds.cc Diff File
mod - core/src/filed/dir_cmd.cc Diff File
mod - core/src/include/config.h.in Diff File

master dbc2ab2e

2021-10-12 17:46

arogge

Ported: N/A

Details Diff
tests: avoid ODR violation in sd_reservation

Previously LINK_LIBRARIES for sd_reservation was overspecified which
lead to an issue with ODR (symbols from SD and Dir could have been
used).
mod - core/src/tests/CMakeLists.txt Diff File

master 3dac83e8

2021-10-12 17:33

bruno-at-bareos

Ported: N/A

Details Diff
doc: improve clarity by adding "without any space"

In Message configuration, a list of comma separated email can be configured.
To work correctly that list has to not contain any space.

Fix bug#1391

Signed-off-by: Bruno Friedmann <bruno.friedmann@bareos.com>
mod - docs/manuals/source/manually_added_config_directive_descriptions/dir-messages-Mail.rst.inc Diff File
mod - docs/manuals/source/manually_added_config_directive_descriptions/dir-messages-MailOnError.rst.inc Diff File
mod - docs/manuals/source/manually_added_config_directive_descriptions/dir-messages-MailOnSuccess.rst.inc Diff File
mod - docs/manuals/source/manually_added_config_directive_descriptions/dir-messages-Operator.rst.inc Diff File

master abced003

2021-10-12 17:10

arogge

Ported: N/A

Details Diff
tests: work around potential strncpy() problem
mod - core/src/tests/lib_tests.cc Diff File

master a8c15237

2021-10-12 17:04

arogge

Ported: N/A

Details Diff
droplet: build only on 64-bit
mod - core/CMakeLists.txt Diff File

master 905f05bb

2021-10-11 22:05

arogge

Ported: N/A

Details Diff
lmdb: use 'z' instead of 'I' to format size_t

Previously for win32 'I' was used, but this is not required anymore and
will produce a warning on mingw32.
mod - core/src/lmdb/lmdb.h Diff File

master a30d4e5f

2021-10-11 21:53

arogge

Ported: N/A

Details Diff
findlib: use placement new in binit()

When initializing BareosWinFilePacket* we now use placement new so the
struct values are nicely initialized by our constructor instead of
forced zero initialization like before.
mod - core/src/findlib/bfile.cc Diff File

master 7225e354

2021-10-11 21:45

arogge

Ported: N/A

Details Diff
dbcopy: use less fancy time format

This patch replaces "%F %T" with the equivalent (and more portable) long
variant "%Y-%m-%d %H:%M:%S", so that Windows build will show progress,
too.
mod - core/src/dird/dbcopy/progress.cc Diff File

master 31a5e6f3

2021-10-11 21:43

arogge

Ported: N/A

Details Diff
cats: refactor backend loading
mod - core/src/cats/cats_backends.cc Diff File
 First  Prev  1 2 3 ... 60 ... 120 ... 137 138 139 140 141 142 143 ... 180 ... 240 ... 300 ... 360 ... 420 ... 480 ... 540 ... 600 ... 607 608 609  Next  Last