Changesets: bareos

master 4b64dbdf

2016-05-20 21:35

mvwieringen

Ported: N/A

Details Diff
Merge branch 'bareos-15.2'
mod - src/cats/bdb_dbi.h Diff File
mod - src/cats/bdb_ingres.h Diff File
mod - src/cats/bdb_mysql.h Diff File
mod - src/cats/bdb_postgresql.h Diff File
mod - src/cats/bdb_sqlite.h Diff File
mod - src/cats/cats_backends.c Diff File
mod - src/cats/cats_backends.h Diff File
mod - src/cats/dbi.c Diff File
mod - src/cats/ingres.c Diff File
mod - src/cats/mysql.c Diff File
mod - src/cats/postgresql.c Diff File
mod - src/cats/sql_glue.h Diff File
mod - src/cats/sqlite.c Diff File
mod - src/dird/dbcheck.c Diff File
mod - src/stored/bscan.c Diff File

master f0da0e8c

2016-05-20 21:08

mvwieringen

Ported: N/A

Details Diff
catalog: Fix argument mixup.

Seems the last fix to the catalog functions was not fully right as we
didn't fix all functions to have the same argument order which leads to
the wrong value being passed on to some functions. This patch fixes that
as from now on need_private is the last argument for each function and
from now on the number of default arguments for db_init_database() is
just like the pooling functions only the need_private flag. We thank
Coverity for finding this nasty bug.
mod - src/cats/bdb_dbi.h Diff File
mod - src/cats/bdb_ingres.h Diff File
mod - src/cats/bdb_mysql.h Diff File
mod - src/cats/bdb_postgresql.h Diff File
mod - src/cats/bdb_sqlite.h Diff File
mod - src/cats/cats_backends.c Diff File
mod - src/cats/cats_backends.h Diff File
mod - src/cats/dbi.c Diff File
mod - src/cats/ingres.c Diff File
mod - src/cats/mysql.c Diff File
mod - src/cats/postgresql.c Diff File
mod - src/cats/sql_glue.h Diff File
mod - src/cats/sqlite.c Diff File
mod - src/dird/dbcheck.c Diff File
mod - src/stored/bscan.c Diff File

master e78d819e

2016-05-20 20:11

Frank Bergkemper

Ported: N/A

Details Diff
dird: non-interactive bconsole

This replaces the version tab in director module with a non-interactive bconsole.
mod - module/Director/src/Director/Controller/DirectorController.php Diff File
mod - module/Director/src/Director/Model/DirectorModel.php Diff File
add - module/Director/view/director/director/console.phtml Diff File
mod - module/Director/view/director/director/index.phtml Diff File
mod - module/Director/view/director/director/messages.phtml Diff File
mod - module/Director/view/director/director/schedule.phtml Diff File
mod - module/Director/view/director/director/schedulerstatus.phtml Diff File
rm - module/Director/view/director/director/version.phtml Diff File

master 9d6c3e6c

2016-05-19 19:29

joergs

Ported: N/A

Details Diff
filedaemon: cleanup after failed authentications
mod - src/filed/dir_cmd.c Diff File

master d313ee89

2016-05-19 19:13

joergs

Ported: N/A

Details Diff
Merge branch 'bareos-15.2'

Conflicts:
src/filed/authenticate.c
src/filed/dir_cmd.c
mod - src/filed/dir_cmd.c Diff File
mod - src/filed/status.c Diff File
mod - src/lmdb/mdb.c Diff File
mod - src/plugins/filed/rados-fd.c Diff File

master bcdd2b16

2016-05-19 19:07

joergs

Ported: N/A

Details Diff
filedaemon: cleanup after failed authentications
mod - src/filed/dir_cmd.c Diff File

bareos-14.2 9f8f5955

2016-05-19 19:07

joergs

Ported: N/A

Details Diff
filedaemon: cleanup after failed authentications
mod - src/filed/dir_cmd.c Diff File

master 79578d7b

2016-05-19 19:06

joergs

Ported: N/A

Details Diff
filedaemon: improve status information
mod - src/filed/authenticate.c Diff File
mod - src/filed/status.c Diff File

master 8aca88f6

2016-05-19 16:40

Frank Bergkemper

Ported: N/A

Details Diff
Removes free bytes column from datatables

Because of compression it does not really make sense to show
how many bytes are free on a volume.
mod - module/Media/view/media/media/details.phtml Diff File
mod - module/Media/view/media/media/index.phtml Diff File
mod - module/Pool/view/pool/pool/details.phtml Diff File

master a791f7ea

2016-05-19 16:12

Frank Bergkemper

Ported: N/A

Details Diff
dashboard: introduces partials to widgetize the view
mod - module/Dashboard/config/module.config.php Diff File
mod - module/Dashboard/view/dashboard/dashboard/index.phtml Diff File
add - module/Dashboard/view/partial/JobsLastStatus.phtml Diff File
add - module/Dashboard/view/partial/JobsPast24h.phtml Diff File
add - module/Dashboard/view/partial/LastDirectorMessages.phtml Diff File

master b1ae6ff1

2016-05-17 16:25

mvwieringen

Ported: N/A

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

bareos-14.2 351fc911

2016-05-16 12:42

mvwieringen

Ported: N/A

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

master 1e74300b

2016-05-16 12:29

Joerg Steffens


Committer: Marco van Wieringen

Ported: N/A

Details Diff
don't specify config file

as behavior to find the config file have changed, when config file is
relative and contains a "/".
Now, reletive config file are always treated relative to
the build time configured config directory.
mod - tests/bscan-tape Diff File

master fe7c609b

2016-05-15 12:34

mvwieringen

Ported: N/A

Details Diff
rados: Fix restore of objects.

We need to set the correct object_name in createFile() plugin method.
The plugin saves the different objects under a path that looks like
<pool_name>/<object_name> so on restore we only need the last part
of the filename which we store in p_ctx->object_name which is used
in the pluginIO() method to write the data to the correct object.
mod - src/plugins/filed/rados-fd.c Diff File

master c30a1775

2016-05-14 23:54

mvwieringen

Ported: N/A

Details Diff
Merge branch 'bareos-15.2'
mod - src/cats/bdb_priv.h Diff File
mod - src/cats/cats.c Diff File
mod - src/cats/cats.h Diff File
mod - src/cats/cats_backends.c Diff File
mod - src/cats/cats_backends.h Diff File
mod - src/cats/protos.h Diff File
mod - src/cats/sql_pooling.c Diff File
mod - src/dird/dbcheck.c Diff File
mod - src/dird/dird.c Diff File
mod - src/dird/job.c Diff File
mod - src/dird/stats.c Diff File
mod - src/dird/ua_db.c Diff File
mod - src/dird/ua_output.c Diff File

master cb3d0b37

2016-05-14 19:13

mvwieringen

Ported: N/A

Details Diff
catalog: Lets pass on try_reconnect and exit_on_fatal

When implementing the new try_reconnect and exit_on_fatal flags to
workaround the fact that we handle a database shutdown badly I seem to
have forgotten to pass the arguments in all needed calls. This patch
fixes that.

From now on also most of the flags to instantiate a new connection to
the database need an explicit setting so we catch these kind of problems
in the future much easier. There is only one default left as last
argument to the function to get a new pooled or unpooled connection
which says if it should return a private database connection or not.
mod - src/cats/bdb_priv.h Diff File
mod - src/cats/cats.c Diff File
mod - src/cats/cats.h Diff File
mod - src/cats/cats_backends.c Diff File
mod - src/cats/cats_backends.h Diff File
mod - src/cats/protos.h Diff File
mod - src/cats/sql_pooling.c Diff File
mod - src/dird/dbcheck.c Diff File
mod - src/dird/dird.c Diff File
mod - src/dird/job.c Diff File
mod - src/dird/stats.c Diff File
mod - src/dird/ua_cmds.c Diff File
mod - src/dird/ua_output.c Diff File

master 8dcaed24

2016-05-14 12:31

mvwieringen

Ported: N/A

Details Diff
lib: Fix wrong call to get_pool_memory() in ini.c

Seems we left a call to get_pool_memory() which clobbers the local
variable in the serialize() function.
mod - src/lib/ini.c Diff File

master a2fe95c3

2016-05-13 18:31

mvwieringen

Ported: N/A

Details Diff
Merge branch 'bareos-15.2'
mod - src/dird/scheduler.c Diff File
mod - src/dird/ua_output.c Diff File
mod - src/lib/util.c Diff File
mod - src/lmdb/mdb.c Diff File

master dbddf5b0

2016-05-13 12:51

pstorz


Committer: mvwieringen

Ported: N/A

Details Diff
Suppress already queued jobs for disabled schedules

When a job already was queued by a schedule for the next
hour, and then the schedule is disabled, the already queued
jobs is still executed.

Fixes 0000659: Suppress already queued jobs for disabled schedules
Affected Issues
0000659
mod - src/dird/scheduler.c Diff File

bareos-14.2 79feb550

2016-05-13 12:51

pstorz


Committer: mvwieringen

Ported: N/A

Details Diff
Suppress already queued jobs for disabled schedules

When a job already was queued by a schedule for the next
hour, and then the schedule is disabled, the already queued
jobs is still executed.

Fixes 0000659: Suppress already queued jobs for disabled schedules
Affected Issues
0000659
mod - src/dird/scheduler.c Diff File

master 9555e7cd

2016-05-12 20:42

joergs


Committer: mvwieringen

Ported: N/A

Details Diff
Improved config file handling.

The old implementation could not distinguish between a config file given
as command line parameter and the compiled default.

Older versions of bareos (15.2.x) did handle command line parameter
as follows:

If the parameter is a path (contains a "/"), it will be as expected (absolute path
or path relative to the current directory).

If the parameter is a filename (does not contain a "/"), it will be treated as relative
to the compiled config directory (e.g. /etc/bareos/).

This is inconsistent.

A prior patch changed this behavior. However, this patch extends the
search for the config file.

No config file paramter given:
* use default config file, fall back to default config include
directories.
Config file parameter is given and it is an existing file:
* this file will be used. It can be specified either an absolute or a
relative path (relative to the current directory).
Config file parameter is given and it is a directory:
* tries to find the default config filename in the configured
directory. If that fails, it tries to find the config include
directories under the configured directory.
Parameter is given but does not exists:
* For backward compability (for programs not adapted to the new
mechanism like bat and tray-monitor):
* try to find the given path relative to the default config directory.
mod - src/console/console.c Diff File
mod - src/console/console_conf.c Diff File
mod - src/console/console_conf.h Diff File
mod - src/dird/dird.c Diff File
mod - src/dird/dird_conf.c Diff File
mod - src/dird/dird_conf.h Diff File
mod - src/filed/filed.c Diff File
mod - src/filed/filed.h Diff File
mod - src/filed/filed_conf.c Diff File
mod - src/filed/filed_conf.h Diff File
mod - src/lib/bsys.c Diff File
mod - src/lib/parse_conf.c Diff File
mod - src/lib/parse_conf.h Diff File
mod - src/stored/bcopy.c Diff File
mod - src/stored/bextract.c Diff File
mod - src/stored/bls.c Diff File
mod - src/stored/bscan.c Diff File
mod - src/stored/btape.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 3d43771b

2016-05-12 20:42

Frank Bergkemper

Ported: N/A

Details Diff
Adds missing hyperlink to fileset
mod - module/Client/view/client/client/details.phtml Diff File

master 6af83db6

2016-05-12 20:25

stephand

Ported: N/A

Details Diff
Denormalized Filename Table

- For increased DB performance, the File and Filename tables were
denormalized, that means the Name column of the Filename table is now
in the File table. Thus when inserting from the batch table, joins
with the Filename table are no longer necesary. Also no more exclusive
locking of the Filename table which allow parallization.
- The changes were made for PostgreSQL, MySQL and SQLite, but most
testing has been done with PostgreSQL. However, regressions should
work for all DBs.
- TODO:
- The DB version string is still 2004, it must be changed to
distinguish from current 16.2 with non-normalized DB structure.
- The DB update script must be adapted to do the denormalization.
mod - po/bareos.pot Diff File
mod - po/de.po Diff File
mod - po/es.po Diff File
mod - po/fr.po Diff File
mod - po/it.po Diff File
mod - po/nl.po Diff File
mod - po/pl.po Diff File
mod - po/sv.po Diff File
mod - po/uk.po Diff File
mod - src/cats/bvfs.c Diff File
mod - src/cats/bvfs.h Diff File
mod - src/cats/cats.h Diff File
mod - src/cats/ddl/creates/ingres.sql Diff File
mod - src/cats/ddl/creates/mysql.sql Diff File
mod - src/cats/ddl/creates/postgresql.sql Diff File
mod - src/cats/ddl/creates/sqlite3.sql Diff File
mod - src/cats/ddl/drops/postgresql.sql Diff File
mod - src/cats/ddl/grants/postgresql.sql Diff File
mod - src/cats/sql_cmds.c Diff File
mod - src/cats/sql_create.c Diff File
mod - src/cats/sql_get.c Diff File
mod - src/cats/sql_list.c Diff File
mod - src/dird/fd_cmds.c Diff File
mod - src/dird/migrate.c Diff File
mod - src/dird/query.sql Diff File
mod - src/dird/ua_cmds.c Diff File
mod - src/dird/ua_dotcmds.c Diff File
mod - src/dird/verify.c Diff File
mod - src/tests/bvfs_test.c Diff File

master 5fea60fc

2016-05-12 18:10

Frank Bergkemper

Ported: N/A

Details Diff
Displays the last n dird messages
mod - module/Dashboard/view/dashboard/dashboard/index.phtml Diff File
mod - module/Director/src/Director/Controller/DirectorController.php Diff File
mod - module/Director/src/Director/Model/DirectorModel.php Diff File
mod - module/Director/view/director/director/messages.phtml Diff File

master 5634af7c

2016-05-12 00:41

Joerg Steffens

Ported: N/A

Details Diff
don't specify config file

as behavior to find the config file have changed, when config file is
relative and contains a "/".
Now, reletive config file are always treated relative to the build time
configured config directory.
mod - tests/bextract-test Diff File
mod - tests/bscan-test Diff File
 First  Prev  1 2 3 ... 60 ... 120 ... 180 ... 240 ... 300 ... 360 ... 420 ... 480 ... 489 490 491 492 493 494 495 ... 540 ... 600 ... 641 642 643  Next  Last