Changesets: bareos

master ffc2e2ee

2015-04-27 15:06

mvwieringen

Ported: N/A

Details Diff
Sync lmdb.
mod - src/lmdb/lmdb.h Diff File
mod - src/lmdb/mdb.c Diff File

master f4fcead9

2015-04-25 19:06

mvwieringen

Ported: N/A

Details Diff
Bump version number.
mod - configure Diff File
mod - platforms/packaging/bareos-Univention_3.1.dsc Diff File
mod - platforms/packaging/bareos-Univention_3.2.dsc Diff File
mod - platforms/packaging/bareos-Univention_4.0.dsc Diff File
mod - platforms/packaging/bareos.changes Diff File
mod - platforms/packaging/bareos.dsc Diff File
mod - platforms/packaging/bareos.spec Diff File
mod - platforms/win32/mingw-debugsrc-devel.spec Diff File
mod - platforms/win32/winbareos-nsi.spec Diff File
mod - platforms/win32/winbareos32.spec Diff File
mod - platforms/win32/winbareos64.spec Diff File
mod - src/include/version.h Diff File

bareos-14.2 8dc8375d

2015-04-25 17:47

mvwieringen

Ported: N/A

Details Diff
Overhaul of the vol_mgr.

Remove some new code that seems to give some race conditions.
This essentially restores the volume manager to the way it worked in 13.2.

Additionally we changed the following:
- Cleanup comments
- Make free_volume_list() a generic function.
Instead of some trickery with using some temp vars give
free_volume_list() two args e.g. a comment what about what its freeing
and a dlist with the actual volume list it needs to free. Then we can
reuse this in 3 places to delete any volume list. We also don't
have to lock the vol_list when freeing the temp_vol_list as it
now no longer "misuses" the global dlist pointer.

Issues 0000414: Bareos storage daemon crashes during backups
Affected Issues
0000414
mod - src/stored/reserve.c Diff File
mod - src/stored/vol_mgr.c Diff File

master ae0fdba1

2015-04-23 17:21

Oleg Livshyts


Committer: mvwieringen

Ported: N/A

Details Diff
Always use new block for autoexclude

Fixes 0000415: For Windows clients not working include, only exlude works
Affected Issues
0000415
mod - src/win32/findlib/win32.c Diff File

bareos-14.2 e3c2841a

2015-04-23 17:21

Oleg Livshyts


Committer: mvwieringen

Ported: N/A

Details Diff
Always use new block for autoexclude

Fixes 0000415: For Windows clients not working include, only exlude works
Affected Issues
0000415
mod - src/win32/findlib/win32.c Diff File

master 1ed27cba

2015-04-22 22:42

mvwieringen

Ported: N/A

Details Diff
Fix coding error.
mod - src/dird/ndmp_dma.c Diff File

bareos-14.2 2761f075

2015-04-22 22:42

mvwieringen

Ported: N/A

Details Diff
Fix coding error.
mod - src/dird/ndmp_dma.c Diff File

master 4b2b7d73

2015-04-17 21:08

mvwieringen

Ported: N/A

Details Diff
Fileset encryption overhaul.

This patch adds the following changes:
- Add new fileset option that forces encryption.
This new fileset option will fail a backup when encryption is not
enabled at the client side for a backup.
- Implement the encryption=<cipher> fileset option which was as it
seems available but never implemented in the fileset exchange protocol
between the director and the filed.

In the new setup things work like this:
- When in compat mode we always fall back to CRYPTO_CIPHER_AES_128_CBC
- When the fileset has a crypto cipher set we use that one.
Only one cipher can be set for a backup so multiple ciphers in one
fileset will give a fatal error.
- When the fileset has no encryption cipher override the global configured
encryption cipher is used.
- When the encryption cipher is determined the force encryption fileset flag
is checked to see if encryption is enabled for the backup.
mod - src/dird/inc_conf.c Diff File
mod - src/dird/inc_conf.h Diff File
mod - src/filed/backup.c Diff File
mod - src/filed/crypto.c Diff File
mod - src/filed/dir_cmd.c Diff File
mod - src/filed/filed_conf.c Diff File
mod - src/filed/fileset.c Diff File
mod - src/filed/protos.h Diff File
mod - src/findlib/find.h Diff File
mod - src/findlib/match.c Diff File
mod - src/include/fileopts.h Diff File
mod - src/lib/crypto.h Diff File
mod - src/lib/crypto_openssl.c Diff File

master ed0bfb45

2015-04-17 01:02

mvwieringen

Ported: N/A

Details Diff
Fix accurate mode when using strip path.

Fixes 0000366: Accurate Mode and strippath
Affected Issues
0000366
mod - src/filed/accurate.c Diff File

bareos-14.2 f0d33f86

2015-04-17 01:02

mvwieringen

Ported: N/A

Details Diff
Fix accurate mode when using strip path.

Fixes 0000366: Accurate Mode and strippath
Affected Issues
0000366
mod - src/filed/accurate.c Diff File

master 4c5c6d4e

2015-04-16 23:50

mvwieringen

Ported: N/A

Details Diff
Fix some problems in unsupported database pooling code.

Although the pooling code is unsupported it currently crashes if you run
reload twice. We should not use foreach_dlist() in a loop when we remove
and free members of that list in the loop. Now we use first() and lookup
the next element using get_next() and store things in a temp variable
which we use in the loop to switch to the next element.
mod - src/cats/sql_pooling.c Diff File

bareos-14.2 f38771b5

2015-04-16 23:50

mvwieringen

Ported: N/A

Details Diff
Fix some problems in unsupported database pooling code.

Although the pooling code is unsupported it currently crashes if you run
reload twice. We should not use foreach_dlist() in a loop when we remove
and free members of that list in the loop. Now we use first() and lookup
the next element using get_next() and store things in a temp variable
which we use in the loop to switch to the next element.
mod - src/cats/sql_pooling.c Diff File

bareos-13.2 55fbc8c1

2015-04-16 23:50

mvwieringen

Ported: N/A

Details Diff
Fix some problems in unsupported database pooling code.

Although the pooling code is unsupported it currently crashes if you run
reload twice. We should not use foreach_dlist() in a loop when we remove
and free members of that list in the loop. Now we use first() and lookup
the next element using get_next() and store things in a temp variable
which we use in the loop to switch to the next element.
mod - src/cats/sql_pooling.c Diff File

bareos-12.4 807efe62

2015-04-16 23:50

mvwieringen

Ported: N/A

Details Diff
Fix some problems in unsupported database pooling code.

Although the pooling code is unsupported it currently crashes if you run
reload twice. We should not use foreach_dlist() in a loop when we remove
and free members of that list in the loop. Now we use first() and lookup
the next element using get_next() and store things in a temp variable
which we use in the loop to switch to the next element.
mod - src/cats/sql_pooling.c Diff File

master 69aaf4d4

2015-04-12 19:13

mvwieringen

Ported: N/A

Details Diff
Tweak layout.
mod - src/lib/jcr.c Diff File

bareos-14.2 619c8ff5

2015-04-12 19:13

mvwieringen

Ported: N/A

Details Diff
Tweak layout.
mod - src/lib/jcr.c Diff File

master 6682949a

2015-04-12 00:03

mvwieringen

Ported: N/A

Details Diff
Make minimum/maximum blocksize writing a capability.

Instead of only allowing minumum/maximum blocksize writing a tape
specific operation make it generic by using a capability setting which
is enable by default on tape devices but also on elasto devices.
mod - src/stored/backends/elasto_device.c Diff File
mod - src/stored/backends/unix_tape_device.c Diff File
mod - src/stored/block.c Diff File
mod - src/stored/dev.h Diff File
mod - src/win32/stored/backends/win32_tape_device.c Diff File

master 2237247c

2015-04-11 00:23

mvwieringen

Ported: N/A

Details Diff
Updates needed for new libdroplet API.

This driver still doesn't work but at least it should compile again.
mod - src/stored/backends/object_store_device.c Diff File

master 974fdaac

2015-04-10 18:50

pstorz


Committer: mvwieringen

Ported: N/A

Details Diff
Windows installer is code-signed

We now use osslsigncode to sign the windows binaries.

The Windows Installer as well as the dlls and exes are
being signed.

For now only with a dummy certificate.

Also refactored the specfile a bit
mod - platforms/win32/winbareos-nsi.spec Diff File
mod - platforms/win32/winbareos32.spec Diff File
mod - platforms/win32/winbareos64.spec Diff File

bareos-14.2 3af0d895

2015-04-10 18:50

pstorz


Committer: mvwieringen

Ported: N/A

Details Diff
Windows installer is code-signed

We now use osslsigncode to sign the windows binaries.

The Windows Installer as well as the dlls and exes are
being signed.

For now only with a dummy certificate.

Also refactored the specfile a bit
mod - platforms/win32/winbareos-nsi.spec Diff File
mod - platforms/win32/winbareos32.spec Diff File
mod - platforms/win32/winbareos64.spec Diff File

master 4cdd92e8

2015-04-10 15:05

joergs

Ported: N/A

Details Diff
remove quotes to generate valid json output
mod - src/dird/dird_conf.c Diff File

master 894d61a1

2015-04-07 22:20

mvwieringen

Ported: N/A

Details Diff
First attempt at more robust database connectivity.

- Allow reconnect of database connection when no transaction is pending.
- Allow setting of database connection failure to be fatal e.g. end
program.
Affected Issues
0000426
mod - src/cats/bdb_dbi.h Diff File
mod - src/cats/bdb_ingres.h Diff File
mod - src/cats/bdb_mysql.h Diff File
mod - src/cats/bdb_postgresql.h Diff File
mod - src/cats/bdb_priv.h Diff File
mod - src/cats/bdb_sqlite.h Diff File
mod - src/cats/cats_backends.c Diff File
mod - src/cats/cats_backends.h Diff File
mod - src/cats/dbi.c Diff File
mod - src/cats/ingres.c Diff File
mod - src/cats/mysql.c Diff File
mod - src/cats/postgresql.c Diff File
mod - src/cats/protos.h Diff File
mod - src/cats/sql_glue.h Diff File
mod - src/cats/sql_pooling.c Diff File
mod - src/cats/sqlite.c Diff File
mod - src/dird/dird.c Diff File
mod - src/dird/dird_conf.c Diff File
mod - src/dird/dird_conf.h Diff File

master 9081d869

2015-04-07 14:59

pstorz

Ported: N/A

Details Diff
Also replace @bindir@ in windows config files
mod - platforms/win32/fillup.sed Diff File

bareos-14.2 eac795dd

2015-04-07 14:59

pstorz


Committer: mvwieringen

Ported: N/A

Details Diff
Also replace @bindir@ in windows config files
mod - platforms/win32/fillup.sed Diff File

master be8a917f

2015-04-03 17:38

mvwieringen

Ported: N/A

Details Diff
Statistics thread should lock resources.

As the statistics thread runs as a JT_SYSTEM thread it needs to lock the
resource tree while traversing it as it could be reloaded. So we now
keep track of the current store we are processing and lock things as
short as possible. On determining the next store to use we have now the
name of the previous one we processed in the current_store variable.
When current_store is set we lookup that name and determine the next
store, if for whatever reason that gets removed (by the reload) we just
start from the beginning again collecting stats from each storage
daemon. We also cache the storageid after connecting to the daemon and
use that info in the actual statistics retrieval. Connecting to the SD
is also limited to 2 retries and 1 second wait time. We want to quickly
probe the SDs and when they are not available they will get polled in a
next run for their statistics.
mod - src/dird/stats.c Diff File
 First  Prev  1 2 3 ... 60 ... 120 ... 180 ... 240 ... 300 ... 360 ... 420 ... 480 ... 495 496 497 498 499 500 501 ... 540 ... 600 ... 607 608 609  Next  Last