Changesets: bareos

master 9f7ff08c

2015-05-05 18:23

mvwieringen

Ported: N/A

Details Diff
Add win32_restore_file_attributes() to compat.c

Anticipating on more file attributes that need restoring in the future
and giving these things are pretty close to the lowlevel Windows API we
better use some abstraction function that restores the different file
attributes. This removes some low level calls from the more generic
findlib.
mod - src/findlib/attribs.c Diff File
mod - src/findlib/bfile.c Diff File
mod - src/win32/compat/compat.c Diff File
mod - src/win32/compat/include/compat.h Diff File

bareos-14.2 636e69fc

2015-05-05 18:23

mvwieringen

Ported: N/A

Details Diff
Add win32_restore_file_attributes() to compat.c

Anticipating on more file attributes that need restoring in the future
and giving these things are pretty close to the lowlevel Windows API we
better use some abstraction function that restores the different file
attributes. This removes some low level calls from the more generic
findlib.
mod - src/findlib/attribs.c Diff File
mod - src/findlib/bfile.c Diff File
mod - src/win32/compat/compat.c Diff File
mod - src/win32/compat/include/compat.h Diff File

master 49f2f397

2015-05-05 16:53

pstorz


Committer: mvwieringen

Ported: N/A

Details Diff
Fix restore of compressed files

The compressed file restoration failed before on Windows 2008.

We now use the variable types from the microsoft documentation,
also now have a bytesreturned variable which is mandatory
if lpOverlapped is NULL according to the documentation.

See documentation of FSCTL_SET_COMPRESSION control code at Microsoft:
https://msdn.microsoft.com/en-us/library/windows/desktop/aa364592%28v=vs.85%29.aspx

Fixes 0000463: Crash when restore compressed files
Affected Issues
0000463
mod - src/findlib/attribs.c Diff File

bareos-14.2 4866847d

2015-05-05 16:53

pstorz


Committer: mvwieringen

Ported: N/A

Details Diff
Fix restore of compressed files

The compressed file restoration failed before on Windows 2008.

We now use the variable types from the microsoft documentation,
also now have a bytesreturned variable which is mandatory
if lpOverlapped is NULL according to the documentation.

See documentation of FSCTL_SET_COMPRESSION control code at Microsoft:
https://msdn.microsoft.com/en-us/library/windows/desktop/aa364592%28v=vs.85%29.aspx

Fixes 0000463: Crash when restore compressed files
Affected Issues
0000463
mod - src/findlib/attribs.c Diff File

master f10d3724

2015-05-03 23:37

mvwieringen

Ported: N/A

Details Diff
For a command plugin always use the no_read field of savepkt

A command plugin can set the no_read flag in the savepkt returned by the
startBackupFile() method in the plugin events. Up until now setting this
no_read flag to true would not make a lot of difference as the code only
checks for 'ff_pkt->cmd_plugin && !ff_pkt->no_read' to enable the
do_read variable but if the do_read was already set to true and the
plugin has set no_read to true then do_read will never be set to false
again.

These changes make the no_read flag from the plugin leading and always
use that setting (which is false by default) as the setting to determine
the do_read flag. Only for a non cmd-plugin we will determine the actual
reading of the file or not by looking at the specific file type.
mod - src/filed/backup.c Diff File

bareos-14.2 d045372b

2015-05-03 23:37

mvwieringen

Ported: N/A

Details Diff
For a command plugin always use the no_read field of savepkt

A command plugin can set the no_read flag in the savepkt returned by the
startBackupFile() method in the plugin events. Up until now setting this
no_read flag to true would not make a lot of difference as the code only
checks for 'ff_pkt->cmd_plugin && !ff_pkt->no_read' to enable the
do_read variable but if the do_read was already set to true and the
plugin has set no_read to true then do_read will never be set to false
again.

These changes make the no_read flag from the plugin leading and always
use that setting (which is false by default) as the setting to determine
the do_read flag. Only for a non cmd-plugin we will determine the actual
reading of the file or not by looking at the specific file type.
mod - src/filed/backup.c Diff File

master c02e5731

2015-05-01 12:58

mvwieringen

Ported: N/A

Details Diff
Move TRACEFILEDIRECTORY define to baconfig.h

Prototype files shouldn't contain generic defines.
mod - src/include/baconfig.h Diff File
mod - src/lib/protos.h Diff File

bareos-14.2 3071524e

2015-05-01 12:58

mvwieringen

Ported: N/A

Details Diff
Move TRACEFILEDIRECTORY define to baconfig.h

Prototype files shouldn't contain generic defines.
mod - src/include/baconfig.h Diff File
mod - src/lib/protos.h Diff File

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
 First  Prev  1 2 3 ... 70 ... 140 ... 210 ... 280 ... 350 ... 420 ... 490 ... 549 550 551 552 553 554 555 ... 560 ... 630 ... 662 663 664  Next  Last