Changesets: bareos

master 5ab20d6c

2016-01-21 21:44

mvwieringen

Ported: N/A

Details Diff
python: parse_plugin_definition consumes options.

From now on the parse_plugin_definition() function in all python plugins
will consume the options it needs for loading the plugin into the python
interpreter e.g. module_path and module_name and only pass all other
options to the python plugin definition parser.

For the python-fd this patch also adds the ability to push options to
the plugin without specifying module_path and module_name which is then
stored and prepended to the option string when we get an
bEventPluginCommand or bEventRestoreObject plugin event which
instantiates the plugin entry point.
mod - src/plugins/dird/python-dir.c Diff File
mod - src/plugins/filed/python-fd.c Diff File
mod - src/plugins/stored/python-sd.c Diff File

master 5e1db47b

2016-01-21 20:03

Joerg Steffens

Ported: N/A

Details Diff
build fix, required for HTML
mod - manuals/en/main/ndmp.tex Diff File

master 6b700194

2016-01-21 16:03

pstorz


Committer: mvwieringen

Ported: N/A

Details Diff
ndmp: Add safechecks to bndmp_write_data_to_block

When ndmp jobs are canceled, jcr->dcr is null.
We now check for that condition and do not dereference then.

Fixes 0000604: Cancel a NDMP Job causes the sd to crash
Affected Issues
0000604
mod - src/stored/ndmp_tape.c Diff File

bareos-14.2 59348b62

2016-01-21 16:03

pstorz


Committer: joergs

Ported: N/A

Details Diff
ndmp: Add safechecks to bndmp_write_data_to_block

When ndmp jobs are canceled, jcr->dcr is null.
We now check for that condition and do not dereference then.

Fixes 0000604: Cancel a NDMP Job causes the sd to crash
Affected Issues
0000604
mod - src/stored/ndmp_tape.c Diff File

master 6b9a3c5f

2016-01-21 14:54

mvwieringen

Ported: N/A

Details Diff
python: Don't set python_loaded to true to early.

We only should set p_ctx->python_loaded to true when we found the module
and loaded it into the interpreter. As after setting p_ctx->python_loaded
we asume that we have a dictionary pointer to the python methods which
we don't as that only gets initialized after we actual resolve the
module name. We will crash on deferencing the dictionary pointer in any
subsequent call.
mod - src/plugins/dird/python-dir.c Diff File
mod - src/plugins/filed/python-fd.c Diff File
mod - src/plugins/stored/python-sd.c Diff File

master 676b77ac

2016-01-20 20:01

Joerg Steffens

Ported: N/A

Details Diff
NDMP chapter
mod - manuals/en/main/bareos-manual-main-reference.tex Diff File
mod - manuals/en/main/director-resource-job-definitions.tex Diff File
add - manuals/en/main/ndmp.tex Diff File
mod - manuals/en/main/rescue.tex Diff File
mod - manuals/en/main/storedconf.tex Diff File
mod - manuals/images/Makefile Diff File

master 21876958

2016-01-20 18:16

mvwieringen

Ported: N/A

Details Diff
build: Rebuild configure.
mod - configure Diff File

master 223a1255

2016-01-20 18:12

mvwieringen

Ported: N/A

Details Diff
build: Only build plugins when libtool is enabled.
mod - autoconf/configure.in Diff File

master 403b01aa

2016-01-20 13:56

Joerg Steffens

Ported: N/A

Details Diff
cleanup Passive Clients chapter
mod - manuals/en/main/passiveclient.tex Diff File

master e8893264

2016-01-20 13:11

Frank Bergkemper

Ported: N/A

Details Diff
API 2: compact mode

In 15.2.2 the compact mode in API 2 was introduced on the director side
and as the webui makes use of this mode the minimum requirement is
a working director equal or greater than 15.2.2, otherwise webui won't
connect to the director.
mod - vendor/Bareos/library/Bareos/BSock/BareosBSock.php Diff File

master a166558f

2016-01-19 16:34

Frank Bergkemper

Ported: N/A

Details Diff
Bump version number
mod - module/Application/view/layout/layout.phtml Diff File

bareos-15.2 297f2d56

2016-01-18 22:31

mvwieringen

Ported: N/A

Details Diff
ndmp: Tweak warning reporting.

Fix warning reporting for clang compiler. Things now compile cleanly
again on FreeBSD where clang is used as default compiler.
mod - src/ndmp/ndmos.h Diff File
mod - src/ndmp/ndmp0.x Diff File
mod - src/ndmp/ndmp2.x Diff File
mod - src/ndmp/ndmp3.x Diff File
mod - src/ndmp/ndmp4.x Diff File
mod - src/ndmp/ndmp9.x Diff File

bareos-15.2 122902ed

2016-01-18 20:04

mvwieringen

Ported: N/A

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

master 8492cd87

2016-01-18 17:32

Jörg Steffens

Ported: N/A

Details Diff
Merge pull request 0000001 from aussendorf/master

disable debug-packages
mod - packaging/python-bareos.spec Diff File

master 258a1e55

2016-01-18 17:19

Maik Aussendorf

Ported: N/A

Details Diff
disable debug-packages

Needed for obs build
mod - packaging/python-bareos.spec Diff File

master 6a003a04

2016-01-18 16:50

pstorz


Committer: mvwieringen

Ported: N/A

Details Diff
Estimate call crashes on ndmp client

Fixes 0000601: estimate crashes director when called for ndmp client
Affected Issues
0000601
mod - src/dird/ua_cmds.c Diff File

master a9561840

2016-01-15 16:37

mvwieringen

Ported: N/A

Details Diff
Merge branch 'bareos-15.2'
mod - platforms/win32/fillup.sed Diff File
mod - src/dird/job.c Diff File
mod - src/dird/migrate.c Diff File
mod - src/filed/dir_cmd.c Diff File
mod - src/filed/filed.c Diff File
mod - src/filed/filed_conf.c Diff File
mod - src/filed/filed_conf.h Diff File
mod - src/filed/socket_server.c Diff File
mod - src/ndmp/ndma_tape.c Diff File
mod - src/stored/dir_cmd.c Diff File
mod - src/stored/ndmp_tape.c Diff File
mod - src/stored/socket_server.c Diff File
mod - src/stored/stored.c Diff File
mod - src/stored/stored_conf.c Diff File
mod - src/stored/stored_conf.h Diff File

bareos-15.2 8ec9550e

2016-01-13 19:28

joergs

Ported: N/A

Details Diff
configure
mod - configure Diff File

master 9f5171c2

2016-01-13 18:49

Philipp Storz

Ported: N/A

Details Diff
ndmp pictures
add - manuals/images/ndmp-backup.svg Diff File
add - manuals/images/ndmp-cfg.svg Diff File

master b3437eee

2016-01-11 22:37

Marco van Wieringen

Ported: N/A

Details Diff
socket: Introduce MaximumConnections for filed and stored.

When refactoring the socket_server code for the director we added a new
config option named MaximumConnections which is used to size the listen
backlog. This patch introduces something similar for the filed and
stored so we always size the backlog in a proper way according to the
wanted concurrency. We now check in accepting a connection in the filed
or stored if we already reached the wanted concurrency and then just
disconnect the session.

Fixes 0000593: Problem with a job on a passive client and limited Maximum
Concurrent Jobs
Affected Issues
0000593
mod - src/filed/dir_cmd.c Diff File
mod - src/filed/filed.c Diff File
mod - src/filed/filed_conf.c Diff File
mod - src/filed/filed_conf.h Diff File
mod - src/filed/socket_server.c Diff File
mod - src/stored/dir_cmd.c Diff File
mod - src/stored/ndmp_tape.c Diff File
mod - src/stored/socket_server.c Diff File
mod - src/stored/stored.c Diff File
mod - src/stored/stored_conf.c Diff File
mod - src/stored/stored_conf.h Diff File

master 01b7ae3e

2016-01-11 18:43

Marco van Wieringen

Ported: N/A

Details Diff
Merge branch 'bareos-15.2'
mod - module/Client/config/module.config.php Diff File

master 75332f9e

2016-01-11 18:39

Robert Smit


Committer: Marco van Wieringen

Ported: N/A

Details Diff
Fix routing for clients.

Allow also dots in client names for the Client routing.

Fixes 0000595: Clients view in Webui doesn't work when there are dots in
the client names

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
mod - module/Client/config/module.config.php Diff File

bareos-15.2 b39e4f81

2016-01-11 16:36

mvwieringen

Ported: N/A

Details Diff
ndmp: Fix calculation of ta->mover_state.record_num

Amanda has changed this calculation as they seem to have run into some
problem with tape writing. So lets import this change. We currently
probably don't run into this problem as we only emulate one big tape but
if we add support for real NDMP storage we might also be bitten by it.
mod - src/ndmp/ndma_tape.c Diff File

bareos-15.2 f0c3783a

2016-01-11 16:36

mvwieringen

Ported: N/A

Details Diff
ndmp: Fix DiskToDiskToTape support for NDMP.

We need to map the paired read storage of a NDMP backup to point to the
actual real storage before we start the migration or copy as otherwise
the Job tries to use the original storage of the NDMP Job and that is a
storage of the NDMP type which will trigger the assert in the code that
checks if the storage has the right password encoding.

We now check in the routines the actual JobType e.g. backup means write
storage anything else means read storage (e.g. restore, migration, copy)
We always try setting up paired read storage when we encounter NDMP
storage its not a backup Job. The has_paired_storage() function can now
also be used to determine if a Job has all NDMP paired storage so we
know in the copy/migrate code we need to setup paired storage. We can
call free_paired_storage() always as it checks if any paired storage was
setup using set_paired_storage().
mod - src/dird/job.c Diff File
mod - src/dird/migrate.c Diff File

bareos-15.2 94cd79d4

2016-01-11 16:36

pstorz


Committer: mvwieringen

Ported: N/A

Details Diff
ndmp: When migrating/copying, also migrate/copy the file metadata

For NDMP Jobs part of the metadata is stored by the Director
so when we copy that Job using the normal way the Storage Daemon
will only see the actual NDMP datastream and not the additional
metadata that is normally exchanged via the FHDB interface of NDMP.

So for a migrate we need to update that additional metadata to
belong to the new Job and for a copy we need to duplicate that data.

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
mod - src/dird/migrate.c Diff File
 First  Prev  1 2 3 ... 60 ... 120 ... 180 ... 240 ... 300 ... 360 ... 420 ... 479 480 481 482 483 484 485 ... 540 ... 600 ... 622 623 624  Next  Last