Changesets: bareos

bareos-16.2-droplet 74d8d1da

2017-10-13 20:55

joergs


Committer: mvwieringen

Ported: N/A

Details Diff
bareos-storage-objectstorage: enable packaging

packaging is done for RHEL7 and SLES12.

(cherry picked from commit fd8597503a540d524bfce1b4c28da3f18931de65)
mod - platforms/packaging/bareos.spec Diff File

bareos-17.2 8610c0d2

2017-10-13 20:04

joergs

Ported: N/A

Details Diff
fixed change done by merge
mod - src/include/version.h Diff File
mod - src/lib/edit.c Diff File

bareos-17.2 7d646dd9

2017-10-13 18:08

joergs

Ported: N/A

Details Diff
dbcheck: cleanup

some code cleanup, also beautified output.
mod - src/dird/dbcheck.c Diff File

bareos-17.2 2d8c2bfc

2017-10-13 16:51

pstorz

Ported: N/A

Details Diff
fix merge typo
mod - src/include/version.h Diff File

bareos-17.2 3fb6fd73

2017-10-12 20:09

joergs

Ported: N/A

Details Diff
dbcheck: removed obsolet eliminate_orphaned_filename_records function

Fixes 0000856: bareos-dbcheck failed
Affected Issues
0000856
mod - AUTHORS Diff File
mod - src/dird/dbcheck.c Diff File

bareos-17.2 4721dab1

2017-10-12 14:52

pstorz

Ported: N/A

Details Diff
Merge branch 'pullrequest-61-mvwieringen' into bareos-17.2
mod - .travis.yml Diff File
mod - autoconf/config.h.in Diff File
mod - autoconf/configure.in Diff File
mod - configure Diff File
mod - platforms/packaging/bareos.spec Diff File
mod - platforms/win32/winbareos.nsi Diff File
mod - src/cats/sql_create.c Diff File
mod - src/filed/accurate.c Diff File
mod - src/filed/fd_plugins.c Diff File
mod - src/findlib/bfile.c Diff File
mod - src/findlib/create_file.c Diff File
mod - src/include/version.h Diff File
mod - src/lib/Makefile.in Diff File
mod - src/lib/btimers.c Diff File
mod - src/lib/cbuf.c Diff File
mod - src/lib/cbuf.h Diff File
mod - src/lib/edit.c Diff File
mod - src/lib/jcr.c Diff File
mod - src/lib/lockmgr.c Diff File
add - src/lib/ordered_cbuf.c Diff File
add - src/lib/ordered_cbuf.h Diff File
mod - src/lib/protos.h Diff File
mod - src/lib/res.c Diff File
mod - src/plugins/filed/cephfs-fd.c Diff File
mod - src/plugins/filed/gfapi-fd.c Diff File
mod - src/plugins/filed/python-fd.c Diff File
mod - src/stored/Makefile.in Diff File
mod - src/stored/backends/Makefile.in Diff File
add - src/stored/backends/chunked_device.c Diff File
add - src/stored/backends/chunked_device.h Diff File
mod - src/stored/backends/object_store_device.c Diff File
add - src/stored/backends/object_store_device.d/bareos-dir.d/storage/Object.conf.example Diff File
add - src/stored/backends/object_store_device.d/bareos-sd.d/device/ObjectStorage.conf.example Diff File
mod - src/stored/backends/object_store_device.h Diff File
mod - src/stored/backends/unix_tape_device.c Diff File
mod - src/stored/dev.c Diff File
mod - src/stored/dev.h Diff File
mod - src/stored/lock.c Diff File
mod - src/stored/mount.c Diff File
mod - src/stored/sd_plugins.h Diff File
mod - src/stored/status.c Diff File
mod - src/win32/stored/backends/win32_tape_device.c Diff File
add - test/travis_before_install.sh Diff File
add - test/travis_before_script.sh Diff File

bareos-17.2 cba1c1f8

2017-10-12 13:57

joergs

Ported: N/A

Details Diff
update_bareos_tables: don't ask for confirmation, when already using DBVERSION=2170
mod - src/cats/update_bareos_tables.in Diff File

bareos-16.2-droplet a8040e0a

2017-10-11 11:49

mvwieringen

Ported: N/A

Details Diff
stored: Fix chunked_device writing.

We missed a corner case where the write exactly aligns with the
chunksize. Also added a guarding MIN() in the overflow writing part so
we never write more then count bytes and crash in memcpy() on to many
bytes to copy for the buffer being passed in.

The code now has more defensive coding and some things might never be
triggered but better make sure things always work. You can now also have
a blocksize that is bigger then your chunksize (wrong config but
possible to configure) and then still things should work.
mod - src/stored/backends/chunked_device.c Diff File

bareos-17.2 e4e21fde

2017-10-10 14:02

pstorz

Ported: N/A

Details Diff
HP-UX: build on current HP-UX 11.31

This patch contains the changes needed to build bareos
on HP-UX 11.31

- changes in bareos.h
- removed undef _INCLUDE_POSIX1C_SOURCE
- added #undef HAVE_LCHMOD

- gigaslam.c:
- added _LARGEFILE_SOURCE 1 to enable fseeko()

- configure:
- define -D_INCLUDE_XOPEN_SOURCE_EXTENDED=1
mod - autoconf/configure.in Diff File
mod - src/include/bareos.h Diff File
mod - src/tests/gigaslam.c Diff File

bareos-16.2 3f3d04e1

2017-10-10 14:02

pstorz

Ported: N/A

Details Diff
HP-UX: build on current HP-UX 11.31

This patch contains the changes needed to build bareos
on HP-UX 11.31

- changes in bareos.h
- removed undef _INCLUDE_POSIX1C_SOURCE
- added #undef HAVE_LCHMOD

- gigaslam.c:
- added _LARGEFILE_SOURCE 1 to enable fseeko()

- configure:
- define -D_INCLUDE_XOPEN_SOURCE_EXTENDED=1
mod - autoconf/configure.in Diff File
mod - src/include/bareos.h Diff File
mod - src/tests/gigaslam.c Diff File

bareos-16.2 7cb6a6d2

2017-10-09 17:03

joergs

Ported: N/A

Details Diff
travis: adapt test for dist=trusty

Ubuntu 14.04 (Trusty) is now the default Linux distribution for Travis
testing. Changing the default distribution has caused or Travis test to
fail.
In essance, only creating the local package repository with Packages
instead of Packages.gz have been required.
Anyhow, used this it cleanup the travis configuration.
Also fixed the distribution to trusty.
mod - .travis.yml Diff File
add - test/travis_before_install.sh Diff File
add - test/travis_before_script.sh Diff File

bareos-16.2 dab76b78

2017-10-09 13:54

joergs

Ported: N/A

Details Diff
Build: Bump version number.
mod - configure Diff File
mod - src/include/version.h Diff File

bareos-17.2 a8d25738

2017-10-09 13:43

joergs

Ported: N/A

Details Diff
tweak

Remove unused bconsole script from packages.
Package bareos-storage now recommends (requires) the installation of bareos-tools.
So in case of a real disaster, relevant tools are already installed on
the bareos-storage daemon.
mod - debian/bareos-bconsole.install.in Diff File
mod - debian/control Diff File
mod - debian/control.in Diff File
mod - platforms/packaging/bareos.spec Diff File

master 28fb8c04

2017-10-09 11:18

readonly

Ported: N/A

Details Diff
fixed mycnf parameter
mod - fd-plugins/bareos_percona/BareosFdPercona.py Diff File

bareos-17.2 e4a0f780

2017-10-08 18:25

joergs

Ported: N/A

Details Diff
Fixes compilation for Solaris

Instead of using a C macro SQL_QUERY(...) to represent a SQL query,
use normal (combined) strings.
This is required as some compilers interpret the macro strings as C code
and forbid certain substring ('', MAX, ...).

Fixes 0000859: Compile fails on Solaris 11 (using Solaris Studio)
Affected Issues
0000859
mod - src/cats/bdb_query_names.inc Diff File
mod - src/cats/cats.h Diff File
mod - src/cats/dml/create_queryfiles.sh Diff File
mod - src/cats/mysql_queries.inc Diff File
mod - src/cats/postgresql_queries.inc Diff File
mod - src/cats/sqlite_queries.inc Diff File

bareos-17.2 6d84767d

2017-10-06 18:33

frank


Committer: joergs

Ported: N/A

Details Diff
query_range fix
mod - src/cats/sql_list.c Diff File
mod - src/dird/ua_output.c Diff File

bareos-16.2 22206874

2017-10-05 23:31

joergs


Committer: stephand

Ported: N/A

Details Diff
Windows installer: bug fix, allows to silently upgrade Bareos again.

Without this change, trying to upgrade Bareos by
winbareos-*.exe /S /SILENTKEEPCONFIG
failed silently.

This change also shortens and rearranges the help string,
as NSIS supports only strings up to 1024 characters and important
information have been missing. The help string is still truncated,
however, it it truncates less important information.

When the /WRITELOGS parameter is used, a log file will be generated.
This change starts logging as soon as possible and much earlier than
before. It also adds some log messages.
mod - platforms/win32/winbareos.nsi Diff File

master bc3a3593

2017-10-04 19:48

readonly

Ported: N/A

Details Diff
using jsonDirector, added 'query lost', which displays lost files in current directory
mod - misc/bsmc/bin/bsmc Diff File

bareos-17.2 43e1d05a

2017-10-03 17:07

mvwieringen


Committer: pstorz

Ported: N/A

Details Diff
gfapi-fd: Fix parsing of missing basedir argument.
mod - src/plugins/filed/gfapi-fd.c Diff File

bareos-16.2 600fe779

2017-10-03 17:07

mvwieringen

Ported: N/A

Details Diff
gfapi-fd: Fix parsing of missing basedir argument.
mod - src/plugins/filed/gfapi-fd.c Diff File

master 92813b66

2017-10-02 19:13

joergs

Ported: N/A

Details Diff
Build: Bump version number to 17.4.1
mod - configure Diff File
mod - src/include/version.h Diff File

bareos-17.2 4c557f83

2017-10-02 19:09

joergs

Ported: N/A

Details Diff
tweak

Added missing command parameter to help string.
Don't install bconsole script, as it is not used.
mod - scripts/Makefile.in Diff File
mod - src/dird/ua_cmds.c Diff File

bareos-17.2 9aba5bf6

2017-10-02 19:04

joergs

Ported: N/A

Details Diff
Build: Bump version number to 17.2.4
mod - configure Diff File
mod - src/include/version.h Diff File

bareos-16.2 fbebd276

2017-09-29 17:28

stephand

Ported: N/A

Details Diff
Improve .bvfs_lsdirs performance

In a previous fix, the the SQL query used by .bvfs_lsdirs was changed to
not show empty dirs from accurate jobs. This introduced performance
problems when .bvfs_lsdirs was used with larger amounts (hundreds) of
folders. This commit changes the SQL query to perform better when using
MySQL. Note that it is also necesary to create the following index when
using MySQL:
CREATE INDEX PathId_JobId_FileNameId_FileIndex ON File(PathId,JobId,FilenameId,FileIndex);
When using PostgreSQL create the following partial index:
CREATE INDEX file_jpfnidpart_idx ON File(PathId,JobId,FilenameId) WHERE FileIndex = 0;

Previously, the SQL Scripts for creating the tables added a single-key index
for JobId on the File table. Such an index is not necesary if another multi-key
index exists with JobId as the first key. As the number of indexes has a
performance impact on INSERT and UPATE, it is a good idea to drop the single-key
JobId index when adding the above index.

Fixes 0000837: performance issues with .bvfs_lsdirs while having a large number of directories
Affected Issues
0000837
mod - src/cats/bvfs.c Diff File
mod - src/cats/ddl/creates/mysql.sql Diff File
mod - src/cats/ddl/creates/postgresql.sql Diff File

bareos-16.2 6cccbd46

2017-09-29 11:06

pstorz

Ported: N/A

Details Diff
Attribute batch inserting: create job log entries.

We now create job log entries when the batch attribute table
gets inserted into the database.

We write a log entry when it starts and a job entry when its done.
mod - src/cats/sql_create.c Diff File
 First  Prev  1 2 3 ... 70 ... 140 ... 210 ... 280 ... 350 ... 420 ... 479 480 481 482 483 484 485 ... 490 ... 560 ... 630 ... 665 666 667  Next  Last