Changesets: bareos
master 4a4a5a24 2016-05-24 18:34 Frank Bergkemper Ported: N/A Details Diff |
README.md update | ||
mod - README.md | Diff File | ||
master a7584d70 2016-05-21 13:38 Ported: N/A Details Diff |
stored: Use new slot_number_t and drive_number_t | ||
mod - src/lib/protos.h | Diff File | ||
mod - src/stored/autochanger.c | Diff File | ||
mod - src/stored/btape.c | Diff File | ||
mod - src/stored/dev.c | Diff File | ||
mod - src/stored/dev.h | Diff File | ||
mod - src/stored/dir_cmd.c | Diff File | ||
mod - src/stored/protos.h | Diff File | ||
mod - src/stored/status.c | Diff File | ||
mod - src/stored/stored_conf.h | Diff File | ||
mod - src/stored/vol_mgr.c | Diff File | ||
mod - src/stored/vol_mgr.h | Diff File | ||
master 87b270ad 2016-05-21 13:38 Ported: N/A Details Diff |
dird: Add support for caching vol_lists. This patch adds support for caching the returned vol_list from get_vol_list_from_storage(). We allocate a so called runtime_storage_status_t (rss) in the STORERES which has all runtime values. The vol_list is now also returned as a new type called changer_vol_list_t which has the old dlist, a timestamp with the unix time this data was retrieved and a reference count. The cached vol_list is valid for CacheStatusInterval seconds (30) defined in the config of the storage. The runtime_storage_status_t also contains a mutex that is used for exclusive access to the autochanger so we never try to perform multiple operations at the same time but always serialize those. As there are full and partial volume_lists we keep the type also in the changer_vol_list_t so we only return the right type depending on the listall flag of get_vol_list_from_storage(). Now that we cache the vol_lists we should also not remove entries from it anymore as the list is no longer a trow away list. This patch also introduces a new set of types e.g. drive_number_t for drives, slot_number_t for slots. |
||
mod - src/dird/dird.h | Diff File | ||
mod - src/dird/dird_conf.c | Diff File | ||
mod - src/dird/dird_conf.h | Diff File | ||
mod - src/dird/jobq.c | Diff File | ||
mod - src/dird/protos.h | Diff File | ||
mod - src/dird/sd_cmds.c | Diff File | ||
mod - src/dird/storage.c | Diff File | ||
mod - src/dird/ua_cmds.c | Diff File | ||
mod - src/dird/ua_impexp.c | Diff File | ||
mod - src/dird/ua_label.c | Diff File | ||
mod - src/dird/ua_purge.c | Diff File | ||
mod - src/dird/ua_select.c | Diff File | ||
mod - src/dird/ua_status.c | Diff File | ||
mod - src/dird/ua_update.c | Diff File | ||
mod - src/include/baconfig.h | Diff File | ||
master f412c015 2016-05-21 13:38 Ported: N/A Details Diff |
lib: Add support for 16 bits config vars We need support for the int16_t and uint16_t types in the config parser. This patch also adds a union in the s_lex_context which holds the values instead of having a set of separate values. (only union u for single values and u and u2 for ranges. As only one type is used per scan this makes the structure a bit smaller in memory) This also adds support to sscanf for int16_t and uint16_t. e.g. it adds the %hu and %hd formats to the sscanf implementation. The print functions already did understand these formats. |
||
mod - src/dird/run_conf.c | Diff File | ||
mod - src/lib/ini.c | Diff File | ||
mod - src/lib/lex.c | Diff File | ||
mod - src/lib/lex.h | Diff File | ||
mod - src/lib/parse_bsr.c | Diff File | ||
mod - src/lib/parse_conf.h | Diff File | ||
mod - src/lib/res.c | Diff File | ||
mod - src/lib/scan.c | Diff File | ||
mod - src/stored/stored_conf.c | Diff File | ||
mod - src/stored/stored_conf.h | Diff File | ||
master 43452558 2016-05-21 13:37 Ported: N/A Details Diff |
gfapi: Add support for using glusterfind. Add support to gfapi-fd to use the external glusterfind tool to generate full and incremental/differential backups based on the gluster changelogs instead of crawling the filesystem ourself. |
||
add - README.glusterfs | Diff File | ||
mod - autoconf/configure.in | Diff File | ||
mod - platforms/packaging/bareos.spec | Diff File | ||
mod - scripts/Makefile.in | Diff File | ||
add - scripts/bareos-glusterfind-wrapper.in | Diff File | ||
mod - src/filed/fileset.c | Diff File | ||
mod - src/lib/util.c | Diff File | ||
mod - src/plugins/filed/gfapi-fd.c | Diff File | ||
master 90ab8f49 2016-05-21 13:37 Ported: N/A Details Diff |
build: Rebuild configure. | ||
mod - configure | Diff File | ||
master f63b818d 2016-05-21 13:37 Committer: joergs Ported: N/A Details Diff |
Add some more example configs. - Tweak default diskonly director config. - Add example for d2d2t using disk-changer script. - Add example for d2d2t using the builtin autochanger. |
||
add - src/defaultconfigs/d2d2t-builtin-changer/bareos-dir.conf.in | Diff File | ||
add - src/defaultconfigs/d2d2t-builtin-changer/bareos-sd.conf.in | Diff File | ||
add - src/defaultconfigs/d2d2t-disk-changer/barcodes | Diff File | ||
add - src/defaultconfigs/d2d2t-disk-changer/bareos-dir.conf.in | Diff File | ||
add - src/defaultconfigs/d2d2t-disk-changer/bareos-sd.conf.in | Diff File | ||
add - src/defaultconfigs/d2d2t-disk-changer/disk-changer.conf | Diff File | ||
mod - src/defaultconfigs/diskonly/bareos-dir.conf.in | Diff File | ||
master 3d820e2e 2016-05-21 11:49 Ported: N/A Details Diff |
Merge branch 'bareos-15.2' | ||
mod - src/tests/bbatch.c | Diff File | ||
mod - src/tests/bvfs_test.c | Diff File | ||
master b69b5722 2016-05-21 11:04 Ported: N/A Details Diff |
tests: Fix test programs for the new world. Fix arguments to new version of db_init_database() in the test programs used when running regression tests. |
||
mod - src/tests/bbatch.c | Diff File | ||
mod - src/tests/bvfs_test.c | Diff File | ||
master 4b64dbdf 2016-05-20 21:35 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 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 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 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 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 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 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 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 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 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 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 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 |