Changesets: bareos

master a41444d4

2014-04-14 17:11

mvwieringen

Ported: N/A

Details Diff
Fix some errors detected by coverity.
mod - src/dird/dir_plugins.c Diff File
mod - src/dird/dird_conf.c Diff File
mod - src/filed/accurate.h Diff File
mod - src/filed/fd_plugins.c Diff File
mod - src/lib/ini.c Diff File
mod - src/lib/res.c Diff File
mod - src/stored/sd_plugins.c Diff File

master 5a777f4a

2014-04-11 16:25

Marco van Wieringen

Ported: N/A

Details Diff
Fix packaging for new Python examples.

Also created for debian the missing install files.
add - debian/bareos-director-python-plugin.install Diff File
add - debian/bareos-filedaemon-python-plugin.install Diff File
add - debian/bareos-storage-python-plugin.install Diff File
mod - platforms/packaging/bareos.spec Diff File

playground 42b8c4c1

2014-04-11 14:25

Marco van Wieringen

Ported: N/A

Details Diff
Fix packaging for new Python examples.

Also created for debian the missing install files.
add - debian/bareos-director-python-plugin.install Diff File
add - debian/bareos-filedaemon-python-plugin.install Diff File
add - debian/bareos-storage-python-plugin.install Diff File
mod - platforms/packaging/bareos.spec Diff File

master df09528a

2014-04-11 14:24

Maik Aussendorf


Committer: Marco van Wieringen

Ported: N/A

Details Diff
FD python plugin baseclass and sample plugins

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
add - src/plugins/filed/BareosFdPluginBaseclass.py Diff File
add - src/plugins/filed/BareosFdPluginLocalFileset.py Diff File
add - src/plugins/filed/BareosFdWrapper.py Diff File
add - src/plugins/filed/bareos-fd-local-fileset.py Diff File
add - src/plugins/filed/bareos-fd-mock-test.py Diff File

master b6724852

2014-04-11 13:14

Marco van Wieringen

Ported: N/A

Details Diff
Add packaging of LMDB.
mod - debian/bareos-common.install Diff File
mod - debian/rules Diff File
mod - platforms/packaging/bareos.spec Diff File
mod - platforms/win32/winbareos-nsi.spec Diff File
mod - platforms/win32/winbareos.nsi Diff File
mod - platforms/win32/winbareos32.spec Diff File
mod - platforms/win32/winbareos64.spec Diff File

playground c96b8a9f

2014-04-11 12:24

Maik Aussendorf


Committer: Marco van Wieringen

Ported: N/A

Details Diff
FD python plugin baseclass and sample plugins

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
add - src/plugins/filed/BareosFdPluginBaseclass.py Diff File
add - src/plugins/filed/BareosFdPluginLocalFileset.py Diff File
add - src/plugins/filed/BareosFdWrapper.py Diff File
add - src/plugins/filed/bareos-fd-local-fileset.py Diff File
add - src/plugins/filed/bareos-fd-mock-test.py Diff File

playground 62e63709

2014-04-11 11:14

Marco van Wieringen

Ported: N/A

Details Diff
Add packaging of LMDB.
mod - debian/bareos-common.install Diff File
mod - debian/rules Diff File
mod - platforms/packaging/bareos.spec Diff File
mod - platforms/win32/winbareos-nsi.spec Diff File
mod - platforms/win32/winbareos.nsi Diff File
mod - platforms/win32/winbareos32.spec Diff File
mod - platforms/win32/winbareos64.spec Diff File

master 53b0e899

2014-04-10 13:04

Marco van Wieringen

Ported: N/A

Details Diff
Use Py_InitializeEx() instead of Py_Initialize().
mod - src/plugins/filed/python-fd.c Diff File

playground ee96b58a

2014-04-10 11:04

Marco van Wieringen

Ported: N/A

Details Diff
Use Py_InitializeEx() instead of Py_Initialize().
mod - src/plugins/filed/python-fd.c Diff File

bareos-13.2 fcb5da98

2014-04-10 11:04

mvwieringen

Ported: N/A

Details Diff
Use Py_InitializeEx() instead of Py_Initialize().
mod - src/plugins/filed/python-fd.c Diff File

master 4b418ab8

2014-04-09 17:54

Marco van Wieringen

Ported: N/A

Details Diff
Tweak docs.
mod - README.scsicrypto Diff File

playground e9e33c6f

2014-04-09 15:54

Marco van Wieringen

Ported: N/A

Details Diff
Tweak docs.
mod - README.scsicrypto Diff File

bareos-13.2 4338d7c6

2014-04-09 12:52

joergs


Committer: mvwieringen

Ported: N/A

Details Diff
Use config file settings to configure database

Let the database configuration scripts get the configuration parameter from the director config file.
Now, the scripts try to get there values in following order:
1. environment variable (db_name, db_user, db_password)
2. director config file
3. fallback value (from configure)

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
mod - scripts/bareos-config-lib.sh.in Diff File
mod - src/cats/create_bareos_database.in 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/grants/mysql-readonly.sql Diff File
mod - src/cats/ddl/grants/mysql.sql Diff File
mod - src/cats/ddl/updates/mysql.2001_2002.sql Diff File
mod - src/cats/drop_bareos_database.in Diff File
mod - src/cats/drop_bareos_tables.in Diff File
mod - src/cats/grant_bareos_privileges.in Diff File
mod - src/cats/make_bareos_tables.in Diff File
mod - src/cats/update_bareos_tables.in Diff File

master cfd0d453

2014-04-09 12:10

Marco van Wieringen

Ported: N/A

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

playground 2b8e629f

2014-04-09 10:10

Marco van Wieringen

Ported: N/A

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

master 64e8575e

2014-04-08 22:49

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>
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 20:49

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>
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 12:10

Marco van Wieringen

Ported: N/A

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

master ce2ad8f5

2014-04-05 12:10

Marco van Wieringen

Ported: N/A

Details Diff
Bump version number.
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 12:10

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.
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 12:10

Marco van Wieringen

Ported: N/A

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

master 2932f44b

2014-04-05 12:10

Marco van Wieringen

Ported: N/A

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

master 66fcc42b

2014-04-05 12:10

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.
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 12:10

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.
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 12:10

Marco van Wieringen

Ported: N/A

Details Diff
Import LMDB support code.
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
 First  Prev  1 2 3 ... 60 ... 120 ... 180 ... 240 ... 300 ... 360 ... 420 ... 480 ... 540 ... 589 590 591 592 593 594 595 ... 600 ... 641 642 643  Next  Last