Changesets: bareos

master dc93de9b

2015-04-30 17:21

pstorz


Committer: mvwieringen

Ported: N/A

Details Diff
Rerun overhaul

- Only allow rerun of Job types that make sense e.g.
- Backup
- Copy
- Migration

- Rerun now also works with virtual full backups.

We need to set the pool to the original sourcepool,
not to the pool that is saved in the job record
as that is the nextpool.

Therefore we get the pool from the job definition
so that the virtual full backup can be rerun

- Only set successful Jobs to L_FULL when running as L_VIRTUAL_FULL
This saves us from doing all kind of black magic along the way.
Set jr.JobLevel to L_FULL only for successful jobs.

Fixes 0000370: rerun since_jobid= runs Virtual Fulls as Fulls.
Affected Issues
0000370
mod - src/cats/sql_update.c Diff File
mod - src/dird/jobq.c Diff File
mod - src/dird/ua_run.c Diff File
mod - src/dird/vbackup.c Diff File
mod - src/include/jcr.h Diff File

bareos-14.2 34386863

2015-04-30 17:21

pstorz


Committer: mvwieringen

Ported: N/A

Details Diff
Rerun overhaul

- Only allow rerun of Job types that make sense e.g.
- Backup
- Copy
- Migration

- Rerun now also works with virtual full backups.

We need to set the pool to the original sourcepool,
not to the pool that is saved in the job record
as that is the nextpool.

Therefore we get the pool from the job definition
so that the virtual full backup can be rerun

- Only set successful Jobs to L_FULL when running as L_VIRTUAL_FULL
This saves us from doing all kind of black magic along the way.
Set jr.JobLevel to L_FULL only for successful jobs.

Fixes 0000370: rerun since_jobid= runs Virtual Fulls as Fulls.
Affected Issues
0000370
mod - src/cats/sql_update.c Diff File
mod - src/dird/jobq.c Diff File
mod - src/dird/ua_run.c Diff File
mod - src/dird/vbackup.c Diff File
mod - src/include/jcr.h Diff File

master 4da213b0

2015-04-30 12:23

mvwieringen

Ported: N/A

Details Diff
Use new_vol_item() in dup_vol_list()

For windows not initializing the mutex leads to a fatal error as the
cleanup of the phtread mutex will dereference a NULL pointer. The
small overhead of using new_vol_item() is probably not a real problem.
mod - src/stored/vol_mgr.c Diff File

bareos-14.2 38ebab22

2015-04-30 12:23

mvwieringen

Ported: N/A

Details Diff
Use new_vol_item() in dup_vol_list()

For windows not initializing the mutex leads to a fatal error as the
cleanup of the phtread mutex will dereference a NULL pointer. The
small overhead of using new_vol_item() is probably not a real problem.
mod - src/stored/vol_mgr.c Diff File

master 6f68043c

2015-04-29 14:49

pstorz


Committer: mvwieringen

Ported: N/A

Details Diff
Fix debug package to contain sourcecode again
mod - platforms/win32/winbareos-nsi.spec Diff File

bareos-14.2 32d30ad1

2015-04-29 14:49

pstorz


Committer: mvwieringen

Ported: N/A

Details Diff
Fix debug package to contain sourcecode again
mod - platforms/win32/winbareos-nsi.spec Diff File

master 0eb48963

2015-04-29 01:44

mvwieringen

Ported: N/A

Details Diff
Fix problems reported by Coverity.
mod - src/stored/btape.c Diff File
mod - src/stored/dev.c Diff File

master 04f0f56d

2015-04-28 14:17

pstorz


Committer: mvwieringen

Ported: N/A

Details Diff
Setdebug now also tells the tracefile filename
mod - src/dird/ua_cmds.c Diff File
mod - src/filed/dir_cmd.c Diff File
mod - src/lib/message.c Diff File
mod - src/lib/protos.h Diff File
mod - src/stored/dir_cmd.c Diff File

bareos-14.2 ff588a3d

2015-04-28 14:17

pstorz


Committer: mvwieringen

Ported: N/A

Details Diff
Setdebug now also tells the tracefile filename
mod - src/dird/ua_cmds.c Diff File
mod - src/filed/dir_cmd.c Diff File
mod - src/lib/message.c Diff File
mod - src/lib/protos.h Diff File
mod - src/stored/dir_cmd.c Diff File

master eb1fd1ce

2015-04-27 21:05

mvwieringen

Ported: N/A

Details Diff
Remove sled-release/sles-release/openSUSE-release testing.
mod - platforms/packaging/bareos.spec Diff File

bareos-14.2 55f426f9

2015-04-27 21:05

mvwieringen

Ported: N/A

Details Diff
Remove sled-release/sles-release/openSUSE-release testing.
mod - platforms/packaging/bareos.spec Diff File

bareos-13.2 c9d9531b

2015-04-27 21:05

mvwieringen

Ported: N/A

Details Diff
Remove sled-release/sles-release/openSUSE-release testing.
mod - platforms/packaging/bareos.spec Diff File

bareos-12.4 1e951ddf

2015-04-27 21:05

mvwieringen

Ported: N/A

Details Diff
Remove sled-release/sles-release/openSUSE-release testing.
mod - platforms/packaging/bareos.spec Diff File

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
 First  Prev  1 2 3 ... 60 ... 120 ... 180 ... 240 ... 300 ... 360 ... 420 ... 480 ... 494 495 496 497 498 499 500 ... 540 ... 600 ... 606 607 608  Next  Last