Changesets: bareos

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

playground ec2ba1c8

2014-07-21 20:46

mvwieringen

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

playground 89bfe093

2014-07-21 20:46

mvwieringen

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

playground b7276e3b

2014-07-21 20:46

mvwieringen

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

playground f62b9349

2014-07-21 20:46

mvwieringen

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

playground 5a860fc9

2014-07-21 20:46

mvwieringen

Ported: N/A

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

playground 1984b4d4

2014-07-21 20:46

mvwieringen

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

playground 431c81e5

2014-07-21 20:46

mvwieringen

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

playground 392292db

2014-07-21 20:46

mvwieringen

Ported: N/A

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

playground 36af2b16

2014-07-21 20:46

mvwieringen

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

playground 4f190bf1

2014-07-21 20:46

mvwieringen

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

playground 466e2420

2014-07-21 20:46

mvwieringen

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

playground 015ebff0

2014-07-21 20:46

mvwieringen

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

playground cf60fd4b

2014-07-21 20:46

mvwieringen

Ported: N/A

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

master 83ab3f06

2014-07-21 18:04

Philipp Storz


Committer: Marco van Wieringen

Ported: N/A

Details Diff
Fix 64Bit install dir problems

On 64Bits, there were problems when a different install location was
chosen.

Now we only set PROGRAMFILES to PROGRAMFILES64, if the INSTDIR was not
altered.

On uninstall, we do not set the INSTDIR anymore as it is set correctly by
the uninstaller.

Fixes 0000324: Windows installer (64 bits) overwrites user install dir
settings.
mod - platforms/win32/winbareos.nsi Diff File

master 0cabdfff

2014-07-21 16:20

pstorz

Ported: N/A

Details Diff
Merge branch 'master' of git://github.com/bareos/bareos

master 23ae295d

2014-07-21 16:04

pstorz

Ported: N/A

Details Diff
Fix 64Bit install dir problems

On 64Bits, there were problems when a different install location was
chosen.

Now we only set PROGRAMFILES to PROGRAMFILES64, if the INSTDIR was not
altered.

On uninstall, we do not set the INSTDIR anymore as it is set correctly by
the uninstaller.

Fixes 324: Windows installer (64 bits) overwrites user install dir
settings.
mod - platforms/win32/winbareos.nsi Diff File

master cdbce220

2014-07-21 16:04

pstorz

Ported: N/A

Details Diff
Fix 64Bit install dir problems

On 64Bits, there were problems when a different install location was
chosen.

Now we only set PROGRAMFILES to PROGRAMFILES64, if the INSTDIR was not
altered.

On uninstall, we do not set the INSTDIR anymore as it is set correctly by
the uninstaller.

Fixes 0000324: Windows installer (64 bits) overwrites user install dir
settings.
Affected Issues
0000324
mod - platforms/win32/winbareos.nsi Diff File

master 546d54ee

2014-07-14 21:20

Marco van Wieringen

Ported: N/A

Details Diff
Move special flags for mig_jcr.

We need to set the duplicate checking and maxtime check flags on
a mig_jcr to disables as soon as we instantiated the mig_jcr as
setup_job() already evaluates if the Job is a duplicate.

Fixes 0000318: copy jobs & cancel duplicates
mod - src/dird/migrate.c Diff File

bareos-13.2 53cc7d8d

2014-07-14 21:20

Marco van Wieringen

Ported: N/A

Details Diff
Move special flags for mig_jcr.

We need to set the duplicate checking and maxtime check flags on
a mig_jcr to disables as soon as we instantiated the mig_jcr as
setup_job() already evaluates if the Job is a duplicate.

Fixes 0000318: copy jobs & cancel duplicates
mod - src/dird/migrate.c Diff File

bareos-13.2 fc46f30c

2014-07-14 19:20

mvwieringen

Ported: N/A

Details Diff
Move special flags for mig_jcr.

We need to set the duplicate checking and maxtime check flags on
a mig_jcr to disables as soon as we instantiated the mig_jcr as
setup_job() already evaluates if the Job is a duplicate.

Fixes 0000309: copy jobs & cancel duplicates
mod - src/dird/migrate.c Diff File

bareos-13.2 b5231938

2014-07-14 19:20

mvwieringen

Ported: N/A

Details Diff
Move special flags for mig_jcr.

We need to set the duplicate checking and maxtime check flags on
a mig_jcr to disables as soon as we instantiated the mig_jcr as
setup_job() already evaluates if the Job is a duplicate.

Fixes 0000318: copy jobs & cancel duplicates
Affected Issues
0000318
mod - src/dird/migrate.c Diff File

master b0500079

2014-07-14 19:20

mvwieringen

Ported: N/A

Details Diff
Move special flags for mig_jcr.

We need to set the duplicate checking and maxtime check flags on
a mig_jcr to disables as soon as we instantiated the mig_jcr as
setup_job() already evaluates if the Job is a duplicate.

Fixes 0000318: copy jobs & cancel duplicates
Affected Issues
0000318
mod - src/dird/migrate.c Diff File

bareos-12.4 6b0148c0

2014-07-14 19:20

mvwieringen

Ported: N/A

Details Diff
Move special flags for mig_jcr.

We need to set the duplicate checking and maxtime check flags on
a mig_jcr to disables as soon as we instantiated the mig_jcr as
setup_job() already evaluates if the Job is a duplicate.

Fixes 0000318: copy jobs & cancel duplicates
Affected Issues
0000318
mod - src/dird/migrate.c Diff File
 First  Prev  1 2 3 ... 60 ... 120 ... 180 ... 240 ... 300 ... 360 ... 420 ... 480 ... 540 ... 573 574 575 576 577 578 579 ... 600 ... 641 642 643  Next  Last