Changesets: bareos

master cfd0d453

2014-04-09 10:10:31

Marco van Wieringen

Ported: N/A

Details Diff
Rebuild configure and config.h
Attach Issues:
mod - autoconf/config.h.in Diff File
mod - configure Diff File

playground 2b8e629f

2014-04-09 08:10:31

Marco van Wieringen

Ported: N/A

Details Diff
Rebuild configure and config.h
Attach Issues:
mod - autoconf/config.h.in Diff File
mod - configure Diff File

master 64e8575e

2014-04-08 20:49:32

Joerg Steffens


Committer: Marco van Wieringen

Ported: N/A

Details Diff
remove mysql user bareos@%

and tries to avoid problems with make_bareos_tables when called multiple times

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
Attach Issues:
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/updates/mysql.2001_2002.sql Diff File

master c752fd8d

2014-04-08 18:49:32

joergs


Committer: mvwieringen

Ported: N/A

Details Diff
remove mysql user bareos@%

and tries to avoid problems with make_bareos_tables when called multiple times

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
Attach Issues:
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/updates/mysql.2001_2002.sql Diff File

master b72aff3d

2014-04-05 10:10:30

Marco van Wieringen

Ported: N/A

Details Diff
Remove old versions of libraries.
Attach Issues:
mod - src/lmdb/Makefile.in Diff File
mod - src/ndmp/Makefile.in Diff File

master ce2ad8f5

2014-04-05 10:10:30

Marco van Wieringen

Ported: N/A

Details Diff
Bump version number.
Attach Issues:
mod - configure Diff File
mod - platforms/packaging/bareos-Debian_6.0.dsc Diff File
mod - platforms/packaging/bareos-Debian_7.0.dsc Diff File
mod - platforms/packaging/bareos-Univention_3.1.dsc Diff File
mod - platforms/packaging/bareos-Univention_3.2.dsc Diff File
mod - platforms/packaging/bareos-xUbuntu_10.04.dsc Diff File
mod - platforms/packaging/bareos-xUbuntu_12.04.dsc Diff File
mod - platforms/packaging/bareos.changes Diff File
mod - platforms/packaging/bareos.dsc Diff File
mod - platforms/packaging/bareos.spec Diff File
mod - platforms/win32/mingw-debugsrc-devel.spec Diff File
mod - platforms/win32/winbareos-nsi.spec Diff File
mod - platforms/win32/winbareos32.spec Diff File
mod - platforms/win32/winbareos64.spec Diff File
mod - po/POTFILES.in 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/include/version.h Diff File

master a636cdfb

2014-04-05 10:10:28

Marco van Wieringen

Ported: N/A

Details Diff
Implement some missing functionality in python-fd plugin.

- Implement bEventHandleBackupFile event.

Implemented the missing code for handling the bEventHandleBackupFile event
by calling a new entry point (handle_backup_file) in the python module and
passing it in a savepacket structure with the file being processed. The
return codes are also fixed along the way things work now like this:

- bRC_OK: Options plugin will do backup e.g. call IOmethod in plugin.
- bRC_Skip: Options plugin want to skip the backup of this file.
- bRC_Core: Options plugin want the Bareos core to do the backup of the file.
- bRC_*: Error abort backing up.

- Implement check_file() method.

Implemented the missing code for handling the check_file() method by calling
a new entry point (check_file) in the python module and passing it the filename
of the file currently being processed.

- Implement create_file() method.

Allow a python script to do everything a normal C-plugin can also do
in the create_file() plugin method. For this we needed to implement the
RestorePacket structure in Python and create a dummy create_file method
in python that returns CF_EXTRACT in the create_status field of the
restore_packet structure.

- Implement event filtering for certain events.

Some events get generated via a different code path and were up until
now not filtered using the is_event_enabled() function. Added support
to the following functions:

- plugin_option_handle_file()
- plugin_save()
- plugin_estimate()
- plugin_name_stream()

Also refactored the code along the way.
Attach Issues:
mod - src/filed/backup.c Diff File
mod - src/filed/fd_plugins.c Diff File
mod - src/plugins/filed/bareos-fd.py Diff File
mod - src/plugins/filed/python-fd.c Diff File
mod - src/plugins/filed/python-fd.h Diff File

master 5aedc16c

2014-04-05 10:10:28

Marco van Wieringen

Ported: N/A

Details Diff
Drop config engine README which makes no sense anymore.
Attach Issues:
rm - src/dird/README-config Diff File

master 2932f44b

2014-04-05 10:10:27

Marco van Wieringen

Ported: N/A

Details Diff
Include the LMDB copyright information in our LICENSE file.
Attach Issues:
mod - LICENSE Diff File

master 66fcc42b

2014-04-05 10:10:27

Marco van Wieringen

Ported: N/A

Details Diff
Refactored crypto chksum calculation.

Merged the duplicate code from accurate.c and verify.c into one set of
functions. Fixes a TODO from long long ago.
Attach Issues:
mod - src/filed/accurate.c Diff File
mod - src/filed/protos.h Diff File
mod - src/filed/verify.c Diff File

master 45c54090

2014-04-05 10:10:27

Marco van Wieringen

Ported: N/A

Details Diff
Abstract the accurate payload storage from the datatype used.

Up until now the accurate payload was always stored in a htable
(memory hash table) but that will not scale. We want to support multiple
storage classes for the accurate payload (e.g. the actual accurate data
accessed via the filename as key.) Things like Symas LMDB is a good
candidate as a key/value store. This patch implements the accurate data
using a class based abstraction that allows multiple implementations of
the storage. Currently it supports the old HTABLE and LMDB. The
prototype has some code that is not needed at this point as accurate
data is written only ones and after that never updated so we don't
strictly need an update method which is implemented for LMDB and is
unneeded for HTABLE as there you get internal memory you can manipulate.
The seen logic is moved into a simple bitmap that is part of the higher
level B_ACCURATE class so we don't need to update the actual accurate
payload when we only want to register that the item has been vistited.
Otherwise for things like LMDB we keep on updating the data in the LMDB
which is just to much overhead which we can easily work around with this
bitmap.
Attach Issues:
mod - src/filed/Makefile.in Diff File
mod - src/filed/accurate.c Diff File
add - src/filed/accurate.h Diff File
add - src/filed/accurate_htable.c Diff File
add - src/filed/accurate_lmdb.c Diff File
mod - src/filed/filed_conf.c Diff File
mod - src/filed/filed_conf.h Diff File
mod - src/include/jcr.h Diff File
mod - src/win32/Makefile Diff File
mod - src/win32/Makefile.inc Diff File
mod - src/win32/compat/include/mingwconfig.h Diff File
mod - src/win32/filed/Makefile Diff File
add - src/win32/lmdb/Makefile Diff File
add - src/win32/lmdb/make_def Diff File

master 080d3750

2014-04-05 10:10:26

Marco van Wieringen

Ported: N/A

Details Diff
Import LMDB support code.
Attach Issues:
mod - Makefile.in Diff File
mod - autoconf/configure.in Diff File
mod - src/include/version.h Diff File
add - src/lmdb/COPYRIGHT Diff File
add - src/lmdb/LICENSE Diff File
add - src/lmdb/Makefile.in Diff File
add - src/lmdb/lmdb.h Diff File
add - src/lmdb/mdb.c Diff File
add - src/lmdb/midl.c Diff File
add - src/lmdb/midl.h Diff File

master b8cb5b2f

2014-04-05 10:10:26

Marco van Wieringen

Ported: N/A

Details Diff
Fix typo.
Attach Issues:
mod - src/lib/cram-md5.c Diff File

master a7943c09

2014-04-05 10:10:25

Marco van Wieringen

Ported: N/A

Details Diff
Optimize checking of required and default values.

When printing the configuration we now first check if we need to print
the value by checking if its a required value or matches the default
setting in the config table. By moving it before the big switch we can
eliminate quite some duplicate code and always use the right type of
value in the union with result types.
Attach Issues:
mod - src/dird/dird_conf.c Diff File
mod - src/lib/res.c Diff File

master 10df2e9f

2014-04-05 10:10:25

Marco van Wieringen

Ported: N/A

Details Diff
Don't print config keyword aliases.

Some config keywords are an alias for an other when dumping the config
we should not print these entries as otherwise we get the same config
keyword set multiple times.
Attach Issues:
mod - src/dird/dird_conf.c Diff File
mod - src/lib/parse_conf.h Diff File
mod - src/lib/res.c Diff File

master 1544cfff

2014-04-05 10:10:25

Marco van Wieringen

Ported: N/A

Details Diff
Suppress printing of non existing resource types.

Only print a resource type if one ore more exist when using show all.
Attach Issues:
mod - src/dird/ua_output.c Diff File

master 3e354fd9

2014-04-05 10:10:25

Marco van Wieringen

Ported: N/A

Details Diff
Bump copyright on changed files.
Attach Issues:
mod - src/console/console_conf.c Diff File
mod - src/dird/dird_conf.c Diff File
mod - src/filed/filed_conf.c Diff File
mod - src/lib/parse_conf.c Diff File
mod - src/lib/parse_conf.h Diff File
mod - src/lib/res.c Diff File
mod - src/qt-console/bat_conf.cpp Diff File
mod - src/qt-tray-monitor/tray_conf.cpp Diff File
mod - src/stored/stored_conf.c Diff File

master 3d09d782

2014-04-05 10:10:24

Marco van Wieringen

Ported: N/A

Details Diff
Bring config engine to 2014 and don't polute namespace.

Implement a TODO from June 2008 and get ride of a slack of global
variables used by the config engine. The code seems to be have been
refactored in 2008 to access most configfile parsing via the CONFIG
class and it already has most of the needed structures which also were
kept as global variables. From now on the config engine is accessed via
the CONFIG class and only res_all is left as global variable. As a side
effect the config CLASS is now available as my_config and is a global
variable.

Global variable introduced:

- CLASS CONFIG *my_config (Global configuration)

Global variables removed:

- res_all_size
- r_first
- r_last
- resources
- res_head

It should be possible also to get ride of res_all but that needs some
more testing. And is currently not very high on my urgency map.
Attach Issues:
mod - src/console/console_conf.c Diff File
mod - src/dird/dird.c Diff File
mod - src/dird/dird_conf.c Diff File
mod - src/dird/ua_output.c Diff File
mod - src/filed/filed_conf.c Diff File
mod - src/lib/parse_conf.c Diff File
mod - src/lib/parse_conf.h Diff File
mod - src/lib/res.c Diff File
mod - src/qt-console/bat_conf.cpp Diff File
mod - src/qt-tray-monitor/tray_conf.cpp Diff File
mod - src/stored/status.c Diff File
mod - src/stored/stored_conf.c Diff File

master 6d4e8c88

2014-04-05 10:10:24

Marco van Wieringen

Ported: N/A

Details Diff
Transplant some code from parse_conf.c to res.c
Attach Issues:
mod - src/dird/dird_conf.c Diff File
mod - src/dird/dird_conf.h Diff File
mod - src/lib/parse_conf.c Diff File
mod - src/lib/parse_conf.h Diff File
mod - src/lib/res.c Diff File

master e603344a

2014-04-05 10:10:24

Marco van Wieringen

Ported: N/A

Details Diff
Promote the BRSRES::print_config() method.

Lets make BRSRES::print_config() a generic method that is in the shared
library and can be used by each daemon for printing the generic types
support by libbareoscfg and allow specific printing via an additional
callback that is initialized on init of the CONFIG class.
Attach Issues:
mod - src/console/console.c Diff File
mod - src/console/console_conf.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_conf.c Diff File
mod - src/lib/parse_conf.c Diff File
mod - src/lib/parse_conf.h Diff File
mod - src/lib/res.c Diff File
mod - src/qt-console/bat_conf.cpp Diff File
mod - src/qt-console/main.cpp Diff File
mod - src/qt-tray-monitor/tray-monitor.cpp Diff File
mod - src/qt-tray-monitor/tray_conf.cpp 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 0519a4b0

2014-04-05 10:10:23

Marco van Wieringen

Ported: N/A

Details Diff
Don't use me global variable in debug mode.
Attach Issues:
mod - src/dird/dird.c Diff File
mod - src/dird/dird.h Diff File
mod - src/dird/dird_conf.c Diff File
mod - src/lib/parse_conf.h Diff File

master 18b7db2a

2014-04-05 10:10:23

Marco van Wieringen

Ported: N/A

Details Diff
Use an item formatter to do the right indention level.

From now on we use an indention function which we pass the wanted
indention level so we no longer have to embed the right number of spaces
in the output string. The options of a fileset should now be printed
with the right indention level.
Attach Issues:
mod - src/dird/dird_conf.c Diff File
mod - src/lib/address_conf.c Diff File

master fd8a9ff2

2014-04-05 10:10:23

Marco van Wieringen

Ported: N/A

Details Diff
Only print when some items have a non zero setting.
Attach Issues:
mod - src/dird/dird_conf.c Diff File

master 95fdab16

2014-04-05 10:10:22

Marco van Wieringen

Ported: N/A

Details Diff
Move jobdefs before jobs in parser.

That way we het a config that first has the JobDefs and then
the Jobs which makes it easier to read for us mortals.
Attach Issues:
mod - src/dird/dird_conf.c Diff File
mod - src/dird/dird_conf.h Diff File

master 961420fa

2014-04-05 10:10:22

Philipp Storz


Committer: Marco van Wieringen

Ported: N/A

Details Diff
Implemented print of configuration
Attach Issues:
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/authenticate.c Diff File
mod - src/dird/dbcheck.c 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/dird/inc_conf.c Diff File
add - src/dird/inc_conf.h Diff File
mod - src/dird/job.c Diff File
mod - src/dird/migrate.c Diff File
mod - src/dird/ndmp_dma.c Diff File
mod - src/dird/ua_cmds.c Diff File
mod - src/dird/ua_output.c Diff File
mod - src/dird/ua_run.c Diff File
mod - src/filed/authenticate.c Diff File
mod - src/filed/filed_conf.c Diff File
mod - src/filed/filed_conf.h Diff File
mod - src/lib/address_conf.c Diff File
mod - src/lib/address_conf.h Diff File
mod - src/lib/edit.c Diff File
add - src/lib/generic_res.h Diff File
mod - src/lib/parse_conf.c Diff File
mod - src/lib/parse_conf.h Diff File
mod - src/lib/protos.h Diff File
mod - src/lib/res.c Diff File
mod - src/lib/util.c Diff File
mod - src/qt-console/bat_conf.cpp Diff File
mod - src/qt-console/bat_conf.h Diff File
mod - src/qt-console/bcomm/dircomm.cpp Diff File
mod - src/qt-tray-monitor/authenticate.cpp Diff File
mod - src/qt-tray-monitor/tray_conf.cpp Diff File
mod - src/qt-tray-monitor/tray_conf.h Diff File
mod - src/stored/authenticate.c Diff File
mod - src/stored/ndmp_tape.c Diff File
mod - src/stored/stored_conf.c Diff File
mod - src/stored/stored_conf.h Diff File
 First  Prev  1 2 3 ... 40 ... 80 ... 120 ... 160 ... 200 ... 240 ... 280 ... 297 298 299 300 301 302 303 ... 320 ... 349 350 351  Next  Last