Changesets: bareos

master 97ca18f8

2014-07-21 22:46

Joerg Steffens


Committer: Marco van Wieringen

Ported: N/A

Details Diff
generate Debian copyright file from LICENSE

Debian requires a specific file format for copyright information.

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
mod - Makefile.in Diff File
add - debian/copyright.header Diff File
mod - platforms/debian/Makefile.in Diff File
mod - platforms/packaging/bareos.spec Diff File
mod - platforms/univention/Makefile.in Diff File
mod - platforms/unknown/Makefile.in Diff File

master 3a5a29ce

2014-07-21 22:46

Joerg Steffens


Committer: Marco van Wieringen

Ported: N/A

Details Diff
get rid of special SPEC file for RHEL4

use the normal bareos.spec also for RHEL4

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
rm - platforms/packaging/bareos-RHEL_4.spec Diff File
mod - platforms/packaging/bareos.spec Diff File

master 490e84fb

2014-07-21 22:46

Philipp Storz


Committer: Marco van Wieringen

Ported: N/A

Details Diff
Autoexclude NotForBackup entries on windows

On windows, the registry entry
"SYSTEM\\CurrentControlSet\\Control\\BackupRestore\\FilesNotToBackup"
is intended to have a list of dirs and files that should not be backed
up.

We automatically read that entries and configure the fileset to exclude
them.

Fixes 0000315: Support for NotToBackup Registry Key
mod - src/filed/fd_plugins.c Diff File
mod - src/filed/fileset.c Diff File
mod - src/filed/protos.h Diff File
mod - src/findlib/find.c Diff File
mod - src/findlib/protos.h Diff File
mod - src/win32/Makefile.inc Diff File
mod - src/win32/findlib/win32.c Diff File

master 12396529

2014-07-21 22:46

Joerg Steffens


Committer: Marco van Wieringen

Ported: N/A

Details Diff
Use a special backend dir to store both catalog and storage backends.

We want to store the catalog and storage backends in a special dir so
they are not in any lib directory as they are not really shared
libraries but shared object with some very specific entry points.

The code is now so that by default the configured backend dir set at
compile time is set as default and the user can specify additional
directories that should be searched for backend in the configfile of
both the director and the storage daemon. The code checks if the wanted
backend is located in one of the specified backend directories and it
loaded from the first directory it is found in.

The packaging is changed to do the following:
- Enable building packages with dynamic-storage-backends.
- Different backends are handled in separate libraries.
- The bareos-storage-tape package does now also contain the required libraries.
- The fifo backend is also handled by a separate package (bareos-storage-fifo).
mod - autoconf/Make.common.in Diff File
mod - autoconf/config.h.in Diff File
mod - autoconf/configure.in Diff File
mod - debian/bareos-common.install Diff File
mod - debian/bareos-database-common.install Diff File
mod - debian/bareos-database-mysql.install Diff File
mod - debian/bareos-database-postgresql.install Diff File
mod - debian/bareos-database-sqlite3.install Diff File
mod - debian/bareos-storage-tape.install Diff File
mod - debian/control Diff File
mod - debian/control.common Diff File
mod - debian/rules Diff File
mod - manpages/bareos-dbcheck.8 Diff File
mod - manpages/bconsole.1 Diff File
mod - manpages/bpluginfo.8 Diff File
mod - manpages/bscan.8 Diff File
mod - platforms/packaging/bareos-RHEL_4.spec Diff File
mod - platforms/packaging/bareos.dsc Diff File
mod - platforms/packaging/bareos.spec Diff File
mod - src/cats/Makefile.in Diff File
mod - src/cats/cats.h Diff File
mod - src/cats/cats_backends.c Diff File
mod - src/cats/protos.h Diff File
mod - src/defaultconfigs/diskonly/bareos-dir.conf.in Diff File
mod - src/dird/bareos-dir.conf.in 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/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/stored/backends/Makefile.in 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/protos.h Diff File
mod - src/stored/sd_backends.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
mod - src/tests/bbatch.c Diff File
mod - src/tests/bvfs_test.c Diff File
mod - src/tests/cats_test.c Diff File
mod - src/tests/ing_test.c Diff File

master 3e1bbfee

2014-07-21 22:46

Marco van Wieringen

Ported: N/A

Details Diff
Some preliminary work for allowing to have audit events.
mod - src/dird/Makefile.in Diff File
mod - src/dird/bareos-dir.conf.in Diff File
mod - src/dird/dird_conf.c Diff File
mod - src/dird/dird_conf.h Diff File
mod - src/dird/protos.h Diff File
mod - src/dird/ua_acl.c Diff File
add - src/dird/ua_audit.c Diff File
mod - src/dird/ua_cmds.c Diff File
mod - src/dird/ua_dotcmds.c Diff File
mod - src/dird/ua_restore.c Diff File
mod - src/dird/ua_run.c Diff File
mod - src/dird/ua_select.c Diff File
mod - src/dird/ua_server.c Diff File
mod - src/dird/ua_status.c Diff File
mod - src/dird/ua_update.c Diff File
mod - src/lib/generic_res.h Diff File
mod - src/lib/message.h Diff File
mod - src/lib/res.c Diff File
mod - src/win32/dird/Makefile Diff File

master 1c7dfd90

2014-07-21 22:46

Marco van Wieringen

Ported: N/A

Details Diff
Initial code commit for keeping statistics in the SD and transfer to DIR.
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/ingres.sql Diff File
mod - src/cats/ddl/drops/mysql.sql Diff File
mod - src/cats/ddl/drops/postgresql.sql Diff File
mod - src/cats/ddl/grants/ingres-readonly.sql Diff File
mod - src/cats/ddl/grants/ingres.sql Diff File
mod - src/cats/ddl/grants/postgresql-readonly.sql Diff File
mod - src/cats/ddl/grants/postgresql.sql Diff File
add - src/cats/ddl/updates/mysql.2002_2003.sql Diff File
add - src/cats/ddl/updates/postgresql.2002_2003.sql Diff File
add - src/cats/ddl/updates/sqlite3.2002_2003.sql Diff File
mod - src/cats/protos.h Diff File
mod - src/cats/sql_create.c Diff File
mod - src/dird/Makefile.in Diff File
mod - src/dird/admin.c Diff File
mod - src/dird/autoprune.c Diff File
mod - src/dird/backup.c Diff File
mod - src/dird/catreq.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
mod - src/dird/job.c Diff File
mod - src/dird/migrate.c Diff File
mod - src/dird/newvol.c Diff File
mod - src/dird/next_vol.c Diff File
mod - src/dird/protos.h Diff File
mod - src/dird/run_conf.c Diff File
add - src/dird/stats.c Diff File
mod - src/dird/ua_cmds.c Diff File
mod - src/dird/ua_dotcmds.c Diff File
mod - src/dird/ua_label.c Diff File
mod - src/dird/ua_output.c Diff File
mod - src/dird/ua_prune.c Diff File
mod - src/dird/ua_purge.c Diff File
mod - src/dird/ua_restore.c Diff File
mod - src/dird/ua_select.c Diff File
mod - src/dird/ua_server.c Diff File
mod - src/dird/ua_status.c Diff File
mod - src/dird/ua_update.c Diff File
mod - src/dird/verify.c Diff File
mod - src/lib/scsi_tapealert.c Diff File
mod - src/plugins/stored/scsitapealert-sd.c Diff File
mod - src/stored/Makefile.in Diff File
mod - src/stored/acquire.c Diff File
mod - src/stored/dir_cmd.c Diff File
add - src/stored/dummy.c Diff File
mod - src/stored/fd_cmds.c Diff File
mod - src/stored/job.c Diff File
mod - src/stored/mac.c Diff File
mod - src/stored/protos.h Diff File
mod - src/stored/sd_cmds.c Diff File
mod - src/stored/sd_plugins.c Diff File
mod - src/stored/sd_plugins.h Diff File
add - src/stored/sd_stats.c Diff File
mod - src/stored/spool.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
mod - src/win32/dird/Makefile Diff File
mod - src/win32/stored/Makefile Diff File

master da2f4aa5

2014-07-21 22:46

Marco van Wieringen

Ported: N/A

Details Diff
Initial commit for TapeAlert support.
mod - autoconf/configure.in Diff File
mod - src/lib/Makefile.in Diff File
mod - src/lib/protos.h Diff File
mod - src/lib/scsi_lli.h Diff File
add - src/lib/scsi_tapealert.c Diff File
add - src/lib/scsi_tapealert.h Diff File
mod - src/plugins/stored/Makefile.in Diff File
add - src/plugins/stored/scsitapealert-sd.c Diff File
mod - src/stored/acquire.c Diff File
mod - src/stored/mount.c Diff File
mod - src/stored/sd_plugins.h Diff File
mod - src/stored/stored_conf.c Diff File
mod - src/stored/stored_conf.h Diff File

master 47b6b5cc

2014-07-21 22:46

Marco van Wieringen

Ported: N/A

Details Diff
First prototype dynamic loading SD backends.

We now store all shared objects used in all SD programs
(stored, btape, bls ...) in a shared library named
libbareossd-<version>.so so the final binaries get much
smaller and share the same code. Next to that we started
the first work on making tape specific code abstracted in
the tape_device class and no longer in the generic device
code. Now we implement the different methods of the different
device classes using virtual methods some are pure virtual
which means that the derived class needs to implement this
method itself and some have a default implementation which the
class can override.

This also contains the first try at making it possible to
dynamically load the different SD backends. The file backend
will always be part of the libbareossd.so but the tape and
the different cloud storage backends are dynamically loadable
using the same technique as what is used for loading the
different catalog backends. This means that we can distribute
the different storage programs without the need to have all
kind of dependencies on the different cloud backend we support
now.

As part of this big refactoring we removed the vtape code which
doesn't serve a real purpose anymore in Bareos as there are much
better alternatives (MHVTL and QuadstorVTL) nowadays and we should
carry on unmaintained code. The alternatives also see steady
development while vtape hasn't been updates in ages. Also these
alternative VTL emulators implement a true autochanger, encryption
and much more like personality support for all major brands in
real tape hardware which also means we test our tape code much
more thoroughly.
mod - Makefile.in Diff File
mod - autoconf/configure.in Diff File
mod - src/cats/Makefile.in Diff File
mod - src/include/baconfig.h Diff File
mod - src/include/version.h Diff File
mod - src/lib/Makefile.in Diff File
mod - src/stored/Makefile.in Diff File
add - src/stored/backends/Makefile.in Diff File
mod - src/stored/backends/cephfs_device.c Diff File
mod - src/stored/backends/cephfs_device.h Diff File
add - src/stored/backends/generic_tape_device.c Diff File
add - src/stored/backends/generic_tape_device.h Diff File
mod - src/stored/backends/gfapi_device.c Diff File
mod - src/stored/backends/gfapi_device.h Diff File
mod - src/stored/backends/object_store_device.c Diff File
mod - src/stored/backends/object_store_device.h Diff File
mod - src/stored/backends/rados_device.c Diff File
mod - src/stored/backends/rados_device.h Diff File
add - src/stored/backends/unix_fifo_device.c Diff File
add - src/stored/backends/unix_fifo_device.h Diff File
mod - src/stored/backends/unix_file_device.c Diff File
mod - src/stored/backends/unix_file_device.h Diff File
mod - src/stored/backends/unix_tape_device.c Diff File
mod - src/stored/backends/unix_tape_device.h Diff File
rm - src/stored/backends/vtape.c Diff File
rm - src/stored/backends/vtape.h Diff File
mod - src/stored/block.c Diff File
mod - src/stored/btape.c Diff File
mod - src/stored/butil.c Diff File
mod - src/stored/dev.c Diff File
mod - src/stored/dev.h Diff File
mod - src/stored/protos.h Diff File
add - src/stored/sd_backends.c Diff File
add - src/stored/sd_backends.h Diff File
mod - src/stored/stored_conf.c Diff File
mod - src/win32/stored/Makefile Diff File
mod - src/win32/stored/backends/win32_file_device.c Diff File
mod - src/win32/stored/backends/win32_file_device.h Diff File
mod - src/win32/stored/backends/win32_tape_device.c Diff File
mod - src/win32/stored/backends/win32_tape_device.h Diff File

master 5ca0ce9a

2014-07-21 22:46

Marco van Wieringen

Ported: N/A

Details Diff
Add first attempt for support libcephfs stored backend.
mod - autoconf/configure.in Diff File
mod - src/stored/Makefile.in Diff File
add - src/stored/backends/cephfs_device.c Diff File
add - src/stored/backends/cephfs_device.h Diff File
mod - src/stored/dev.c Diff File
mod - src/stored/dev.h Diff File
mod - src/stored/stored_conf.c Diff File

master 73dfa980

2014-07-21 22:46

Marco van Wieringen

Ported: N/A

Details Diff
Fix TODO from November 2008.
mod - src/stored/stored.c Diff File
mod - src/tests/testls.c Diff File

master 09262f24

2014-07-21 22:46

Marco van Wieringen

Ported: N/A

Details Diff
Drop last instances of generate_daemon_event()

This is an reminiscent of the old python code. As we replaced it with a
proper plugin interface now everywhere we can drop this old dummy
functions and definitions.
mod - src/tests/testls.c Diff File
mod - src/tools/bsmtp.c Diff File
mod - src/tools/drivetype.c Diff File
mod - src/tools/fstype.c Diff File

master fb6aa950

2014-07-21 22:46

Marco van Wieringen

Ported: N/A

Details Diff
Cleanup lockmgr.h

Some platforms don't like spaces in #define and other preprocessor
commands so lets cleanup this mess.
mod - src/lib/lockmgr.h Diff File

master 33a40c14

2014-07-21 22:46

Marco van Wieringen

Ported: N/A

Details Diff
Flush console queued job messages
mod - src/dird/ua_output.c Diff File

master ccea6d8a

2014-07-21 22:46

Marco van Wieringen

Ported: N/A

Details Diff
Reschedule on error caused EndTime to be incorrect
mod - src/cats/sql_update.c Diff File
mod - src/dird/jobq.c Diff File

master 01ce2f2e

2014-07-21 22:46

Marco van Wieringen

Ported: N/A

Details Diff
Allow to read from file type devices multiple times.

Up until now the volume reservation logic only allows you to have one
Job access the same read volume. For file type devices multiple readers
should be no problem and most filesystems are even optimized for this
nowadays by allowing multi parallel sequential read streams which are
handled very efficiently.
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/butil.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/reserve.c Diff File
mod - src/stored/spool.c Diff File
mod - src/stored/stored.c Diff File
mod - src/stored/vol_mgr.c Diff File

master 29adff04

2014-07-21 22:46

Marco van Wieringen

Ported: N/A

Details Diff
Don't check client concurrency for Migrate/Copy Jobs.

Now that we set the actual client for which a migrate/copy is done we
should no longer check the client concurrency as that makes no sense for
a migrate/copy job as the client is not consultated at all so we can run
with as many concurrency as allowed by the storage concurrency.
mod - src/dird/jobq.c Diff File

master 73363e30

2014-07-21 22:46

Marco van Wieringen

Ported: N/A

Details Diff
Make storage status somewhat more informative.
mod - src/stored/status.c Diff File

playground f85c721a

2014-07-21 20:56

mvwieringen

Ported: N/A

Details Diff
Bump version date.
mod - src/include/version.h Diff File

playground 18d03d46

2014-07-21 20:46

mvwieringen

Ported: N/A

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

playground d86c2eed

2014-07-21 20:46

Evgeni Golov


Committer: mvwieringen

Ported: N/A

Details Diff
rewrap description lines and extend description

Signed-off-by: Joerg Steffens <joerg.steffens@bareos.com>
mod - debian/control Diff File
mod - debian/control.common Diff File

playground 8770e5a2

2014-07-21 20:46

joergs


Committer: mvwieringen

Ported: N/A

Details Diff
generate Debian copyright file from LICENSE

Debian requires a specific file format for copyright information.

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
mod - Makefile.in Diff File
add - debian/copyright.header Diff File
mod - platforms/debian/Makefile.in Diff File
mod - platforms/packaging/bareos.spec Diff File
mod - platforms/univention/Makefile.in Diff File
mod - platforms/unknown/Makefile.in Diff File

playground 7aebf4ca

2014-07-21 20:46

joergs


Committer: mvwieringen

Ported: N/A

Details Diff
store Bareos libraries in subdirectory bareos

Debian does not accept "libtool -release" libraries in /usr/lib/.
It will only accept "libtool -version" libraries
and only if the package is named accordingly to the library
(eg. libbareos).
Therefore Bareos libraries on Linux are now stored in
/usr/lib/bareos/ (or /usr/lib64/bareos/).

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
mod - Makefile.in Diff File
mod - autoconf/configure.in Diff File
rm - debian/bareos-common.install Diff File
add - debian/bareos-common.install.in Diff File
rm - debian/bareos-database-common.install Diff File
add - debian/bareos-database-common.install.in Diff File
rm - debian/bareos-director-python-plugin.install Diff File
add - debian/bareos-director-python-plugin.install.in Diff File
rm - debian/bareos-director.install Diff File
add - debian/bareos-director.install.in Diff File
rm - debian/bareos-filedaemon-python-plugin.install Diff File
add - debian/bareos-filedaemon-python-plugin.install.in Diff File
add - debian/bareos-storage-fifo.install.in Diff File
rm - debian/bareos-storage-python-plugin.install Diff File
add - debian/bareos-storage-python-plugin.install.in Diff File
rm - debian/bareos-storage-tape.install Diff File
add - debian/bareos-storage-tape.install.in Diff File
mod - debian/rules Diff File
mod - platforms/packaging/bareos.spec Diff File

playground c85584ad

2014-07-21 20:46

joergs


Committer: mvwieringen

Ported: N/A

Details Diff
Use a special backend dir to store both catalog and storage backends.

We want to store the catalog and storage backends in a special dir so
they are not in any lib directory as they are not really shared
libraries but shared object with some very specific entry points.

The code is now so that by default the configured backend dir set at
compile time is set as default and the user can specify additional
directories that should be searched for backend in the configfile of
both the director and the storage daemon. The code checks if the wanted
backend is located in one of the specified backend directories and it
loaded from the first directory it is found in.

The packaging is changed to do the following:
- Enable building packages with dynamic-storage-backends.
- Different backends are handled in separate libraries.
- The bareos-storage-tape package does now also contain the required libraries.
- The fifo backend is also handled by a separate package (bareos-storage-fifo).
mod - autoconf/Make.common.in Diff File
mod - autoconf/config.h.in Diff File
mod - autoconf/configure.in Diff File
mod - debian/bareos-common.install Diff File
mod - debian/bareos-database-common.install Diff File
mod - debian/bareos-database-mysql.install Diff File
mod - debian/bareos-database-postgresql.install Diff File
mod - debian/bareos-database-sqlite3.install Diff File
mod - debian/bareos-storage-tape.install Diff File
mod - debian/control Diff File
mod - debian/control.common Diff File
mod - debian/rules Diff File
mod - manpages/bareos-dbcheck.8 Diff File
mod - manpages/bconsole.1 Diff File
mod - manpages/bpluginfo.8 Diff File
mod - manpages/bscan.8 Diff File
mod - platforms/packaging/bareos-RHEL_4.spec Diff File
mod - platforms/packaging/bareos.dsc Diff File
mod - platforms/packaging/bareos.spec Diff File
mod - src/cats/Makefile.in Diff File
mod - src/cats/cats.h Diff File
mod - src/cats/cats_backends.c Diff File
mod - src/cats/protos.h Diff File
mod - src/defaultconfigs/diskonly/bareos-dir.conf.in Diff File
mod - src/dird/bareos-dir.conf.in 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/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/stored/backends/Makefile.in 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/protos.h Diff File
mod - src/stored/sd_backends.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
mod - src/tests/bbatch.c Diff File
mod - src/tests/bvfs_test.c Diff File
mod - src/tests/cats_test.c Diff File
mod - src/tests/ing_test.c Diff File

playground 0336c15a

2014-07-21 20:46

pstorz


Committer: mvwieringen

Ported: N/A

Details Diff
Autoexclude NotForBackup entries on windows

On windows, the registry entry
"SYSTEM\\CurrentControlSet\\Control\\BackupRestore\\FilesNotToBackup"
is intended to have a list of dirs and files that should not be backed
up.

We automatically read that entries and configure the fileset to exclude
them.

Fixes 0000315: Support for NotToBackup Registry Key
Affected Issues
0000315
mod - src/filed/fd_plugins.c Diff File
mod - src/filed/fileset.c Diff File
mod - src/filed/protos.h Diff File
mod - src/findlib/find.c Diff File
mod - src/findlib/protos.h Diff File
mod - src/win32/Makefile.inc Diff File
mod - src/win32/findlib/win32.c Diff File

playground b1c0749f

2014-07-21 20:46

joergs


Committer: mvwieringen

Ported: N/A

Details Diff
get rid of special SPEC file for RHEL4

use the normal bareos.spec also for RHEL4

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
rm - platforms/packaging/bareos-RHEL_4.spec Diff File
mod - platforms/packaging/bareos.spec Diff File
 First  Prev  1 2 3 ... 60 ... 120 ... 180 ... 240 ... 300 ... 360 ... 420 ... 480 ... 540 ... 568 569 570 571 572 573 574 ... 600 ... 637 638 639  Next  Last