Changesets: bareos

bareos-17.2 82576dd3

2017-08-01 15:01

joergs

Ported: N/A

Details Diff
configure
mod - configure Diff File

bareos-17.2 e1c434b2

2017-08-01 14:59

joergs

Ported: N/A

Details Diff
add bareos-regress-config package

This package contains required file for running Bareos regression tests
for the bareos-regress package.
mod - GNUmakefile.in Diff File
mod - Makefile.in Diff File
mod - autoconf/configure.in Diff File
add - debian/bareos-regress-config.install.in Diff File
add - debian/bareos-regress-config.preinst.in Diff File
mod - debian/control Diff File
mod - debian/control.in Diff File
mod - platforms/packaging/bareos.spec Diff File
mod - scripts/Makefile.in Diff File
mod - scripts/bareos-ctl-dir.in Diff File
mod - scripts/bareos-ctl-fd.in Diff File
mod - scripts/bareos-ctl-funcs Diff File
mod - scripts/bareos-ctl-sd.in Diff File
add - scripts/bareos-regress.conf.in Diff File
mod - scripts/bareos.in Diff File
mod - src/stored/Makefile.in Diff File
mod - src/tests/Makefile.in Diff File
mod - src/tests/cats_test.c Diff File
mod - src/tests/ing_test.c Diff File
mod - src/tools/Makefile.in Diff File

master 621c2f84

2017-07-27 15:00

joergs

Ported: N/A

Details Diff
bls: show SHA signatures
mod - src/stored/record.c Diff File

bareos-16.2 38d0aec7

2017-07-26 23:57

joergs

Ported: N/A

Details Diff
bugfix: prevents file corruptions by SHA1

Fixes a bug when using SHA1 file signatures in Bareos version compiled
without openssl.

Fixes 0000838: File corruption with SHA1 signature
Affected Issues
0000838
mod - src/lib/sha1.c Diff File

master 452a8a4e

2017-07-21 19:15

stephand

Ported: N/A

Details Diff
Fix .bvfs_lsdirs: Don't show empty dirs from accurate jobs

The SQL Query used by .bvfs_lsdirs did not consider the FileIndex
column, which is 0 for deleted directories in accurate backup jobs,
so that empty directories were returned by .bvfs_lsdirs.

This commit also contains an optimized index for the above SQL query,
without such an index .bvfs_lsdirs could be very slow on large
databases.

Also all variable length columns of the File table have been moved
to the end, this may allow the database to optimize the physical
layout.
mod - src/cats/bdb_query_enum_class.h Diff File
mod - src/cats/bdb_query_names.inc Diff File
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
mod - src/cats/ddl/updates/mysql.2004_2170.sql Diff File
mod - src/cats/ddl/updates/postgresql.2004_2170.sql 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

master 96266afb

2017-07-07 13:06

joergs

Ported: N/A

Details Diff
Merge remote-tracking branch 'origin/bareos-16.2'
mod - .travis.yml Diff File
mod - configure Diff File
mod - debian/control Diff File
mod - debian/control.in Diff File
add - platforms/packaging/bareos-Univention_4.2.dsc Diff File
mod - platforms/packaging/bareos.dsc Diff File
mod - platforms/packaging/bareos.spec Diff File
mod - platforms/systemd/bareos-sd.service.in Diff File
mod - scripts/git-info.sh Diff File
mod - src/cats/sql_find.c Diff File
mod - src/dird/dird_conf.c Diff File
mod - src/dird/sd_cmds.c Diff File
mod - src/dird/ua_label.c Diff File
mod - src/dird/ua_purge.c Diff File
mod - src/dird/ua_status.c Diff File
mod - src/include/version.h Diff File
mod - src/qt-tray-monitor/bareos-tray-monitor.xpm Diff File
mod - src/stored/spool.c Diff File

master 49b543f7

2017-07-06 19:35

joergs

Ported: N/A

Details Diff
show console command: fix help string
mod - src/dird/ua_cmds.c Diff File

master 841ca8f7

2017-07-06 13:44

Torsten Ueberschar


Committer: pstorz

Ported: N/A

Details Diff
Add support for OpenSSL 1.1

OpenSSL 1.1 has quite some changes in the API, and this patch
enables to use the new API and still supports the old API as well.
mod - src/lib/crypto_openssl.c Diff File
mod - src/lib/tls_openssl.c Diff File

master 70587830

2017-07-06 00:12

joergs

Ported: N/A

Details Diff
purge console command: add confirmation
mod - src/dird/ua_input.c Diff File
mod - src/dird/ua_purge.c Diff File

bareos-17.2 dfc67f17

2017-07-02 01:22

mvwieringen


Committer: pstorz

Ported: N/A

Details Diff
lib: Add edit_pthread() function to print pthread_t ids.

There is no real clean way to print the pthread_t type returned by
various pthreads functions. Until now things were printed as pointer
addresses. The edit_pthread() method is analog to other edit functions
and tries to print things in an uniform way and should be used to print
the content of the pthread_t opaque structure. The benefit of this is
that the representation is in one central place and we can implement
specific representations for different platforms.

As part of the implementation of this new function the edit.c source
file was also refactored and reindented to be better readable. Further
more now all modifiers are stored as static const char pointers which
used to be done for some functions but also not in others.
mod - src/lib/btimers.c Diff File
mod - src/lib/edit.c Diff File
mod - src/lib/jcr.c Diff File
mod - src/lib/lockmgr.c Diff File
mod - src/lib/protos.h Diff File
mod - src/lib/res.c Diff File
mod - src/stored/lock.c Diff File

bareos-17.2 ba2cafbe

2017-07-02 01:22

mvwieringen


Committer: pstorz

Ported: N/A

Details Diff
stored: Use SEEK_CUR not SEEK_END to check positioning.

When we want to determine if the position is set right in
DCR::is_eod_valid() we need to perform a lseek(fd, 0, SEEK_CUR)
and not a lseek(fd, 0, SEEK_END) as that is already done in
DEVICE::eod(). We only want to determine if the lseek was done
right in DCR::is_eod_valid() and by doing a SEEK_END we do the
same seek twice which leads to the same result but is not correct.
mod - src/stored/mount.c Diff File

bareos-17.2 80dc3bee

2017-07-02 01:22

mvwieringen


Committer: pstorz

Ported: N/A

Details Diff
stored: Add device specific status trigger.

This adds code that allows you to trigger a device to return specific
device status information analog to the way which was already available
to plugins using the bsdEventDriveStatus and bsdEventVolumeStatus
events.

In essence this is equivalent to the bsdEventDriveStatus which allows a
plugin (for example the scsicrypto-sd plugin to return the crypto status
of an LTO4+ drive.) but then for any device without the need to have a
plugin loaded for the specific device.
mod - src/stored/dev.h Diff File
mod - src/stored/sd_plugins.h Diff File
mod - src/stored/status.c Diff File

bareos-17.2 f7d97b88

2017-07-02 01:22

mvwieringen


Committer: pstorz

Ported: N/A

Details Diff
stored: Implement object device chunked volumes.

As some of the REST protocols only allow you to write blobs in
total we now offer a chunked object store device type in which
the volumes are chunked into pieces and these pieces are flushed
to the backing store either on close or when we reach the maximum
size of the chunk and need a new one. We also implemented the
reading of such chunked devices.

This runs on top of Scality's libdroplet with some local fixes and
changes.
mod - autoconf/configure.in Diff File
mod - src/lib/Makefile.in Diff File
mod - src/lib/cbuf.c Diff File
mod - src/lib/cbuf.h Diff File
add - src/lib/ordered_cbuf.c Diff File
add - src/lib/ordered_cbuf.h 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
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/win32/stored/backends/win32_tape_device.c Diff File

bareos-17.2 0ab6d804

2017-07-02 01:22

mvwieringen


Committer: pstorz

Ported: N/A

Details Diff
build: Rebuild configure and config.h.in
mod - autoconf/config.h.in Diff File
mod - configure Diff File

bareos-16.2 2ef36e5f

2017-07-02 01:22

mvwieringen

Ported: N/A

Details Diff
stored: Use SEEK_CUR not SEEK_END to check positioning.

When we want to determine if the position is set right in
DCR::is_eod_valid() we need to perform a lseek(fd, 0, SEEK_CUR)
and not a lseek(fd, 0, SEEK_END) as that is already done in
DEVICE::eod(). We only want to determine if the lseek was done
right in DCR::is_eod_valid() and by doing a SEEK_END we do the
same seek twice which leads to the same result but is not correct.
mod - src/stored/mount.c Diff File

bareos-16.2-droplet 9c13a428

2017-07-02 01:22

mvwieringen

Ported: N/A

Details Diff
lib: Add edit_pthread() function to print pthread_t ids.

There is no real clean way to print the pthread_t type returned by
various pthreads functions. Until now things were printed as pointer
addresses. The edit_pthread() method is analog to other edit functions
and tries to print things in an uniform way and should be used to print
the content of the pthread_t opaque structure. The benefit of this is
that the representation is in one central place and we can implement
specific representations for different platforms.

As part of the implementation of this new function the edit.c source
file was also refactored and reindented to be better readable. Further
more now all modifiers are stored as static const char pointers which
used to be done for some functions but also not in others.
mod - src/lib/btimers.c Diff File
mod - src/lib/edit.c Diff File
mod - src/lib/jcr.c Diff File
mod - src/lib/lockmgr.c Diff File
mod - src/lib/protos.h Diff File
mod - src/lib/res.c Diff File
mod - src/stored/lock.c Diff File

bareos-16.2-droplet 44bddc87

2017-07-02 01:22

mvwieringen

Ported: N/A

Details Diff
stored: Add device specific status trigger.

This adds code that allows you to trigger a device to return specific
device status information analog to the way which was already available
to plugins using the bsdEventDriveStatus and bsdEventVolumeStatus
events.

In essence this is equivalent to the bsdEventDriveStatus which allows a
plugin (for example the scsicrypto-sd plugin to return the crypto status
of an LTO4+ drive.) but then for any device without the need to have a
plugin loaded for the specific device.
mod - src/stored/dev.h Diff File
mod - src/stored/sd_plugins.h Diff File
mod - src/stored/status.c Diff File

bareos-16.2-droplet 45651202

2017-07-02 01:22

mvwieringen

Ported: N/A

Details Diff
stored: Implement object device chunked volumes.

As some of the REST protocols only allow you to write blobs in
total we now offer a chunked object store device type in which
the volumes are chunked into pieces and these pieces are flushed
to the backing store either on close or when we reach the maximum
size of the chunk and need a new one. We also implemented the
reading of such chunked devices.

This runs on top of Scality's libdroplet with some local fixes and
changes.
mod - autoconf/configure.in Diff File
mod - src/lib/Makefile.in Diff File
mod - src/lib/cbuf.c Diff File
mod - src/lib/cbuf.h Diff File
add - src/lib/ordered_cbuf.c Diff File
add - src/lib/ordered_cbuf.h 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
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/win32/stored/backends/win32_tape_device.c Diff File

bareos-16.2-droplet 2c893f00

2017-07-02 01:22

mvwieringen

Ported: N/A

Details Diff
build: Rebuild configure and config.h.in
mod - autoconf/config.h.in Diff File
mod - configure Diff File

master 42d7e719

2017-06-30 20:18

joergs

Ported: N/A

Details Diff
bsock: allow sending long messages

While API modes 0 and 1 normally send data as small chunks (often line
based), API mode 2 (JSON) collects the result of a bcommand, forms a
JSON object and sends it. This can result in large messages.

The maximum valid size of the result of a bcommand used to be 4 MB.
The size of "llist jobs limit=1" is already close to 1 KB.
So before this patch, "llist jobs" silently fails if the Bareos
Director returns more than 5000 jobs.

With this patch, the maximum length of a bcommand result is int32 (2GB).

This is a modified version of commit 84ba7730bb4799f0793b2c0ee8572c5c75970ffe,
which had to be reverted because of problems.

Fixes 0000719: ERROR in output_formatter.c:822 Failed to send result as json.
Affected Issues
0000719
mod - src/lib/bsock_tcp.c Diff File

master 5f688789

2017-06-30 17:37

joergs

Ported: N/A

Details Diff
tweak

help string of the update command
some other tweaks
mod - src/cats/update_bareos_tables.in Diff File
mod - src/defaultconfigs/bareos-dir.d/catalog/MyCatalog.conf.in Diff File
mod - src/dird/ua_cmds.c Diff File
mod - src/dird/ua_update.c Diff File

bareos-17.2 d287bee6

2017-06-28 19:41

mvwieringen


Committer: pstorz

Ported: N/A

Details Diff
build: Update copyright.

Claim copyright for all changes done over the years.
Copyright statements are already in most source files but
not in the generic version header and the command output.
So essentially this doesn't change anything already not
in effect already just makes it more prominent.

Also added the BAREOS copyright which was missing in the
comment section of version.h
mod - src/include/version.h Diff File

bareos-16.2 56fe5d9c

2017-06-28 19:41

mvwieringen

Ported: N/A

Details Diff
build: Update copyright.

Claim copyright for all changes done over the years.
Copyright statements are already in most source files but
not in the generic version header and the command output.
So essentially this doesn't change anything already not
in effect already just makes it more prominent.

Also added the BAREOS copyright which was missing in the
comment section of version.h
mod - src/include/version.h Diff File

bareos-17.2 4fe52fcd

2017-06-28 19:41

mvwieringen


Committer: pstorz

Ported: N/A

Details Diff
cephfs: Don't reinitialize the connection to CEPH.

The plugin event bEventRestoreCommand is fired for each file we are
supposed to restore, currently we don't check if we already have setup
the connection to CEPH using the function connect_to_cephfs() and as
such we leak a set of socket connections for each file restored. This is
bad so lets properly check if things are already setup correctly.

For a backup we do the same e.g. check if p_ctx->cmount is not already
initialized.
mod - src/plugins/filed/cephfs-fd.c Diff File

bareos-16.2 ec32843f

2017-06-28 19:41

mvwieringen

Ported: N/A

Details Diff
cephfs: Don't reinitialize the connection to CEPH.

The plugin event bEventRestoreCommand is fired for each file we are
supposed to restore, currently we don't check if we already have setup
the connection to CEPH using the function connect_to_cephfs() and as
such we leak a set of socket connections for each file restored. This is
bad so lets properly check if things are already setup correctly.

For a backup we do the same e.g. check if p_ctx->cmount is not already
initialized.
mod - src/plugins/filed/cephfs-fd.c Diff File
 First  Prev  1 2 3 ... 60 ... 120 ... 180 ... 240 ... 300 ... 360 ... 420 ... 424 425 426 427 428 429 430 ... 480 ... 540 ... 600 ... 608 609 610  Next  Last