Changesets: bareos

master fdcab57a

2015-05-11 18:10

mvwieringen

Ported: N/A

Details Diff
Build all python plugins on windows.
mod - platforms/win32/winbareos-nsi.spec Diff File
mod - platforms/win32/winbareos.nsi Diff File
mod - platforms/win32/winbareos32.spec Diff File
mod - platforms/win32/winbareos64.spec Diff File
mod - src/plugins/filed/python-fd.c Diff File
mod - src/win32/plugins/Makefile Diff File
add - src/win32/plugins/dird/Makefile Diff File
mod - src/win32/plugins/filed/Makefile Diff File
mod - src/win32/plugins/stored/Makefile Diff File

master 92f1ddde

2015-05-08 12:33

pstorz


Committer: mvwieringen

Ported: N/A

Details Diff
build grow.exe to windows build
mod - platforms/win32/winbareos32.spec Diff File
mod - platforms/win32/winbareos64.spec Diff File
mod - src/win32/Makefile Diff File
add - src/win32/tests/Makefile Diff File

master c33a33c7

2015-05-08 11:37

pstorz


Committer: mvwieringen

Ported: N/A

Details Diff
Use better wording in error message

BScan uses the term "driver" for the different databases that
can be used, so it should say "unknown database driver" if no driver is
specified instead of "unknown database type"
mod - src/cats/cats_backends.c Diff File

master 63706583

2015-05-07 20:49

mvwieringen

Ported: N/A

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

master 91b7e928

2015-05-07 18:28

mvwieringen

Ported: N/A

Details Diff
Fix python-fd to process savepkt flags.

For a non-option plugin which is saving a non restore first object we
should copy the value of no_read and delta_seq from the python savepkt
to the native one.
mod - src/plugins/filed/python-fd.c Diff File

bareos-14.2 700d602b

2015-05-07 18:28

mvwieringen

Ported: N/A

Details Diff
Fix python-fd to process savepkt flags.

For a non-option plugin which is saving a non restore first object we
should copy the value of no_read and delta_seq from the python savepkt
to the native one.
mod - src/plugins/filed/python-fd.c Diff File

master 37b9113b

2015-05-07 13:35

pstorz


Committer: mvwieringen

Ported: N/A

Details Diff
Build and Package bscan also for windows
mod - platforms/win32/winbareos-nsi.spec Diff File
mod - platforms/win32/winbareos.nsi Diff File
mod - platforms/win32/winbareos32.spec Diff File
mod - platforms/win32/winbareos64.spec Diff File
mod - src/win32/Makefile Diff File
mod - src/win32/stored/Makefile Diff File
add - src/win32/stored/bscanres.rc.in Diff File

master 39e13e04

2015-05-06 16:18

pstorz


Committer: mvwieringen

Ported: N/A

Details Diff
Switch compatible to default='no' in wininstaller

Also change the comments in the bareos-fd.conf file template
mod - platforms/win32/clientdialog.ini Diff File
mod - platforms/win32/winbareos.nsi Diff File
mod - src/filed/bareos-fd.conf.in Diff File

master f780a233

2015-05-06 15:04

mvwieringen

Ported: N/A

Details Diff
Fix bareos logrotate errors

Fixes 0000417: bareos logrotate errors
Affected Issues
0000417
mod - scripts/logrotate.in Diff File

bareos-14.2 0f176bbd

2015-05-06 15:04

mvwieringen

Ported: N/A

Details Diff
Fix bareos logrotate errors

Fixes 0000417: bareos logrotate errors
Affected Issues
0000417
mod - scripts/logrotate.in Diff File

master ddebdc12

2015-05-06 11:55

pstorz


Committer: mvwieringen

Ported: N/A

Details Diff
Fix PostgreSQL 9.4 on windows db setup problems

Unfortunately since PostgreSQL 9.4 on windows the installer
fails to setup the database.

Obviously it is not enough anymore to set the PATH environment variable
and call psql.exe alone. So we now call the psql.exe with full path.
mod - platforms/win32/winbareos.nsi Diff File

bareos-14.2 892149a5

2015-05-06 11:55

pstorz


Committer: mvwieringen

Ported: N/A

Details Diff
Fix PostgreSQL 9.4 on windows db setup problems

Unfortunately since PostgreSQL 9.4 on windows the installer
fails to setup the database.

Obviously it is not enough anymore to set the PATH environment variable
and call psql.exe alone. So we now call the psql.exe with full path.
mod - platforms/win32/winbareos.nsi Diff File

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
 First  Prev  1 2 3 ... 60 ... 120 ... 180 ... 240 ... 300 ... 360 ... 420 ... 480 ... 528 529 530 531 532 533 534 ... 540 ... 600 ... 641 642 643  Next  Last