Changesets: bareos

master bf520eef

2014-01-17 17:04

mvwieringen

Ported: N/A

Details Diff
Copy job definition requires unnecessary settings

Due to implementing this feature we can no longer asume that there
always is a Client and Fileset in a Job definition. So we need to learn
the .defaults cmd that is needs to print *None* when we don't have a
Client or Fileset and not just dereference a NULL pointer.

Fixes 0000220: Copy job definition requires unnecessary settings
Affected Issues
0000220
mod - src/dird/ua_dotcmds.c Diff File

bareos-13.2 b8af50a7

2014-01-13 22:02

Marco van Wieringen

Ported: N/A

Details Diff
Fix typo.
mod - src/cats/bvfs.c Diff File

master e67202d2

2014-01-13 22:02

Marco van Wieringen

Ported: N/A

Details Diff
Fix typo.
mod - src/cats/bvfs.c Diff File

bareos-13.2 6a220231

2014-01-13 21:02

mvwieringen

Ported: N/A

Details Diff
Fix typo.
mod - src/cats/bvfs.c Diff File

bareos-12.4 41042933

2014-01-13 21:02

mvwieringen

Ported: N/A

Details Diff
Fix typo.
mod - src/cats/bvfs.c Diff File

master 068b7e4b

2014-01-13 21:02

mvwieringen

Ported: N/A

Details Diff
Fix typo.
mod - src/cats/bvfs.c Diff File

bareos-13.2 56c180ee

2014-01-12 22:37

Marco van Wieringen

Ported: N/A

Details Diff
BVFS reported a problem for <id> fix.

There was a mixup of the return value returned from the
bvfs_update_path_hierarchy_cache() function which returns a zero which
is interpretted as a false by the calling dot_bvfs_update() function.
Lets return a proper boolean value and only set that return value to
true when we leave the bvfs_update_path_hierarchy_cache() function due
to hitting either an empty jobid list or after processing the jobid list
successfully. Any other exit (due to joblist corruption or failing to
update the path hierarchy cache) leads to the function returning false.

Fixes 0000217: BVFS reported a problem for <id>
mod - src/cats/bvfs.c Diff File
mod - src/cats/bvfs.h Diff File
mod - src/dird/ua_dotcmds.c Diff File

master d00f6536

2014-01-12 22:30

Marco van Wieringen

Ported: N/A

Details Diff
BVFS reported a problem for <id> fix.

There was a mixup of the return value returned from the
bvfs_update_path_hierarchy_cache() function which returns a zero which
is interpretted as a false by the calling dot_bvfs_update() function.
Lets return a proper boolean value and only set that return value to
true when we leave the bvfs_update_path_hierarchy_cache() function due
to hitting either an empty jobid list or after processing the jobid list
successfully. Any other exit (due to joblist corruption or failing to
update the path hierarchy cache) leads to the function returning false.

Fixes 0000217: BVFS reported a problem for <id>
mod - src/cats/bvfs.c Diff File
mod - src/cats/bvfs.h Diff File
mod - src/dird/ua_dotcmds.c Diff File

bareos-13.2 ca8fff52

2014-01-12 21:37

mvwieringen

Ported: N/A

Details Diff
BVFS reported a problem for <id> fix.

There was a mixup of the return value returned from the
bvfs_update_path_hierarchy_cache() function which returns a zero which
is interpretted as a false by the calling dot_bvfs_update() function.
Lets return a proper boolean value and only set that return value to
true when we leave the bvfs_update_path_hierarchy_cache() function due
to hitting either an empty jobid list or after processing the jobid list
successfully. Any other exit (due to joblist corruption or failing to
update the path hierarchy cache) leads to the function returning false.

Fixes 0000217: BVFS reported a problem for <id>
Affected Issues
0000217
mod - src/cats/bvfs.c Diff File
mod - src/cats/bvfs.h Diff File
mod - src/dird/ua_dotcmds.c Diff File

bareos-12.4 af749d51

2014-01-12 21:37

mvwieringen

Ported: N/A

Details Diff
BVFS reported a problem for <id> fix.

There was a mixup of the return value returned from the
bvfs_update_path_hierarchy_cache() function which returns a zero which
is interpretted as a false by the calling dot_bvfs_update() function.
Lets return a proper boolean value and only set that return value to
true when we leave the bvfs_update_path_hierarchy_cache() function due
to hitting either an empty jobid list or after processing the jobid list
successfully. Any other exit (due to joblist corruption or failing to
update the path hierarchy cache) leads to the function returning false.

Fixes 0000217: BVFS reported a problem for <id>
Affected Issues
0000217
mod - src/cats/bvfs.c Diff File
mod - src/cats/bvfs.h Diff File
mod - src/dird/ua_dotcmds.c Diff File

master a09cbb8e

2014-01-12 21:30

mvwieringen

Ported: N/A

Details Diff
BVFS reported a problem for <id> fix.

There was a mixup of the return value returned from the
bvfs_update_path_hierarchy_cache() function which returns a zero which
is interpretted as a false by the calling dot_bvfs_update() function.
Lets return a proper boolean value and only set that return value to
true when we leave the bvfs_update_path_hierarchy_cache() function due
to hitting either an empty jobid list or after processing the jobid list
successfully. Any other exit (due to joblist corruption or failing to
update the path hierarchy cache) leads to the function returning false.

Fixes 0000217: BVFS reported a problem for <id>
Affected Issues
0000217
mod - src/cats/bvfs.c Diff File
mod - src/cats/bvfs.h Diff File
mod - src/dird/ua_dotcmds.c Diff File

master e8a3864f

2014-01-08 14:02

Marco van Wieringen

Ported: N/A

Details Diff
Add bEventNewPluginOptions event.

When pushing explicit plugin arguments use a new event
bEventNewPluginOptions instead of reusing the bEventPluginCommand
event which is also used when parsing the fileset when doing a backup.

Most plugins should now also allow multiple plugin lines within one
include block of the fileset which was broken when it used the new
config parser. In combination with forcing certain explicit restore
options by the director using the plugin options passing this may lead
to some surprises however so when using specific plugin options its wise
to only restore one file at a time to be sure the right restore options
are used.
mod - src/filed/dir_cmd.c Diff File
mod - src/filed/fd_plugins.h Diff File
mod - src/plugins/filed/bareos_fd_consts.py Diff File
mod - src/plugins/filed/bpipe-fd.c Diff File
mod - src/plugins/filed/python-fd.c Diff File
mod - src/win32/plugins/filed/mssqlvdi-fd.c Diff File

master 1bdf0ff2

2014-01-08 13:02

mvwieringen

Ported: N/A

Details Diff
Add bEventNewPluginOptions event.

When pushing explicit plugin arguments use a new event
bEventNewPluginOptions instead of reusing the bEventPluginCommand
event which is also used when parsing the fileset when doing a backup.

Most plugins should now also allow multiple plugin lines within one
include block of the fileset which was broken when it used the new
config parser. In combination with forcing certain explicit restore
options by the director using the plugin options passing this may lead
to some surprises however so when using specific plugin options its wise
to only restore one file at a time to be sure the right restore options
are used.
mod - src/filed/dir_cmd.c Diff File
mod - src/filed/fd_plugins.h Diff File
mod - src/plugins/filed/bareos_fd_consts.py Diff File
mod - src/plugins/filed/bpipe-fd.c Diff File
mod - src/plugins/filed/python-fd.c Diff File
mod - src/win32/plugins/filed/mssqlvdi-fd.c Diff File

master 7c905257

2014-01-07 18:13

Marco van Wieringen

Ported: N/A

Details Diff
Upgrade bpipe plugin to use new plugin config parser.

Now that we use a new config parser for the mssqlvdi and python plugin
it makes sense to also let the bpipe plugin use this code. For backwards
compatability it also still supports the old plugin definitions so you
can also still restore older backups with the new plugin. Extra support
is added so that plugin options passing now also works and allows you to
override the plugin parameters.
mod - src/plugins/filed/bpipe-fd.c Diff File

master de6381d9

2014-01-07 18:09

Marco van Wieringen

Ported: N/A

Details Diff
Make the error message a bit more explicit.

When the compat mode is enabled we report a Bacula compatible version id
for the filed protocol. But if you want things like passive mode or
plugin passing you need to disable the compat mode. Changed the error
message issued when using passive mode or plugin option passing when
talking to a Bareos filed in compat mode. This way the use a least knows
that it could also be a problem with the compat mode.
mod - src/dird/backup.c Diff File
mod - src/dird/restore.c Diff File
mod - src/dird/verify.c Diff File

master 3112000c

2014-01-07 17:13

mvwieringen

Ported: N/A

Details Diff
Upgrade bpipe plugin to use new plugin config parser.

Now that we use a new config parser for the mssqlvdi and python plugin
it makes sense to also let the bpipe plugin use this code. For backwards
compatability it also still supports the old plugin definitions so you
can also still restore older backups with the new plugin. Extra support
is added so that plugin options passing now also works and allows you to
override the plugin parameters.
mod - src/plugins/filed/bpipe-fd.c Diff File

master 31f78208

2014-01-07 17:09

mvwieringen

Ported: N/A

Details Diff
Make the error message a bit more explicit.

When the compat mode is enabled we report a Bacula compatible version id
for the filed protocol. But if you want things like passive mode or
plugin passing you need to disable the compat mode. Changed the error
message issued when using passive mode or plugin option passing when
talking to a Bareos filed in compat mode. This way the use a least knows
that it could also be a problem with the compat mode.
mod - src/dird/backup.c Diff File
mod - src/dird/restore.c Diff File
mod - src/dird/verify.c Diff File

master 05f66052

2014-01-07 14:48

Philipp Storz


Committer: Marco van Wieringen

Ported: N/A

Details Diff
Plugin Options ACL now works.

Fixes: 0000266: pluginoptions override not working during restore
mod - src/dird/ua_acl.c Diff File

master 89b31c1c

2014-01-07 13:48

pstorz

Ported: N/A

Details Diff
Plugin Options ACL now works.

Fixes: 0000266: pluginoptions override not working during restore
Affected Issues
0000266
mod - src/dird/ua_acl.c Diff File

master 722a1ef4

2014-01-06 12:43

Philipp Storz


Committer: Marco van Wieringen

Ported: N/A

Details Diff
check return values of spool functions

We now check the return values of

* begin_data_spool()
* begin_attribute_spool()

as otherwise the job hangs until eternety if there is a problem with the
spool file.

Fixes: 0000265: job hangs and cannot be terminated if spool file is not writable
mod - src/stored/append.c Diff File
mod - src/stored/mac.c Diff File
mod - src/stored/ndmp_tape.c Diff File

master 9204714a

2014-01-06 11:43

pstorz

Ported: N/A

Details Diff
check return values of spool functions

We now check the return values of

* begin_data_spool()
* begin_attribute_spool()

as otherwise the job hangs until eternety if there is a problem with the
spool file.

Fixes: 0000265: job hangs and cannot be terminated if spool file is not writable
Affected Issues
0000265
mod - src/stored/append.c Diff File
mod - src/stored/mac.c Diff File
mod - src/stored/ndmp_tape.c Diff File

bareos-13.2 88e4f457

2014-01-06 11:43

pstorz


Committer: mvwieringen

Ported: N/A

Details Diff
check return values of spool functions

We now check the return values of

* begin_data_spool()
* begin_attribute_spool()

as otherwise the job hangs until eternety if there is a problem with the
spool file.

Fixes: 0000265: job hangs and cannot be terminated if spool file is not writable
Affected Issues
0000265
mod - src/stored/append.c Diff File
mod - src/stored/mac.c Diff File
mod - src/stored/ndmp_tape.c Diff File

master 20a46676

2013-12-27 14:07

Marco van Wieringen

Ported: N/A

Details Diff
Change getJobType() == JT_XX into is_JobType(JT_XX)
mod - src/dird/backup.c Diff File
mod - src/dird/job.c Diff File
mod - src/dird/migrate.c Diff File
mod - src/dird/ua_run.c Diff File
mod - src/dird/ua_status.c Diff File
mod - src/filed/verify.c Diff File
mod - src/stored/askdir.c Diff File
mod - src/stored/block.c Diff File
mod - src/stored/mac.c Diff File

master 7202a401

2013-12-27 14:07

Marco van Wieringen

Ported: N/A

Details Diff
First attempt at proper support for JS_Warnings

Hopefully fixes a TODO from March 2009 when the first attempt was made
to introduce JS_Warnings but things never finished.

Fixes 0000255: Bad mail subject when an backup terminates with warnings
mod - src/cats/bvfs.c Diff File
mod - src/dird/backup.c Diff File
mod - src/dird/jobq.c Diff File
mod - src/dird/migrate.c Diff File
mod - src/dird/ndmp_dma.c Diff File
mod - src/dird/vbackup.c Diff File
mod - src/filed/dir_cmd.c Diff File
mod - src/include/jcr.h Diff File
mod - src/lib/runscript.c Diff File
mod - src/qt-console/util/comboutil.cpp Diff File
mod - src/stored/bscan.c Diff File
mod - src/stored/ndmp_tape.c Diff File

master 68bd762f

2013-12-27 13:07

mvwieringen

Ported: N/A

Details Diff
Change getJobType() == JT_XX into is_JobType(JT_XX)
mod - src/dird/backup.c Diff File
mod - src/dird/job.c Diff File
mod - src/dird/migrate.c Diff File
mod - src/dird/ua_run.c Diff File
mod - src/dird/ua_status.c Diff File
mod - src/filed/verify.c Diff File
mod - src/stored/askdir.c Diff File
mod - src/stored/block.c Diff File
mod - src/stored/mac.c Diff File
 First  Prev  1 2 3 ... 70 ... 140 ... 210 ... 280 ... 350 ... 420 ... 490 ... 560 ... 625 626 627 628 629 630 631 ... 665 666 667  Next  Last