Changesets: bareos

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

master 94e6b71e

2014-07-14 19:17

Marco van Wieringen

Ported: N/A

Details Diff
Refactor message printing.

- Drop fixed size arrays of 5000 bytes (arbitrary length)
- Code all message printing using POOL_MEM where it makes sense.
- Reindented wrongly indented functions.
- Don't use the new stuff using POOL_MEM from:
- src/lib/mem_pool.c
- src/lib/smartalloc.c
- src/lib/lockmgr.c
mod - src/include/baconfig.h Diff File
mod - src/lib/lockmgr.c Diff File
mod - src/lib/mem_pool.c Diff File
mod - src/lib/message.c Diff File
mod - src/lib/message.h Diff File
mod - src/lib/smartall.c Diff File

bareos-14.2 9784a1be

2014-07-14 19:17

mvwieringen

Ported: N/A

Details Diff
Refactor message printing.

- Drop fixed size arrays of 5000 bytes (arbitrary length)
- Code all message printing using POOL_MEM where it makes sense.
- Reindented wrongly indented functions.
- Don't use the new stuff using POOL_MEM from:
- src/lib/mem_pool.c
- src/lib/smartalloc.c
- src/lib/lockmgr.c
mod - src/include/baconfig.h Diff File
mod - src/lib/lockmgr.c Diff File
mod - src/lib/mem_pool.c Diff File
mod - src/lib/message.c Diff File
mod - src/lib/message.h Diff File
mod - src/lib/smartall.c Diff File

master 078f3959

2014-07-14 17:17

mvwieringen

Ported: N/A

Details Diff
Refactor message printing.

- Drop fixed size arrays of 5000 bytes (arbitrary length)
- Code all message printing using POOL_MEM where it makes sense.
- Reindented wrongly indented functions.
- Don't use the new stuff using POOL_MEM from:
- src/lib/mem_pool.c
- src/lib/smartalloc.c
- src/lib/lockmgr.c
mod - src/include/baconfig.h Diff File
mod - src/lib/lockmgr.c Diff File
mod - src/lib/mem_pool.c Diff File
mod - src/lib/message.c Diff File
mod - src/lib/message.h Diff File
mod - src/lib/smartall.c Diff File

master 8c8b5b04

2014-07-13 15:56

Marco van Wieringen

Ported: N/A

Details Diff
Added support for Max VirtualFull Interval and Virtual Full Pool override.

Implement a Max Virtual Full Interval analog to the existing Max Full
Interval and a Virtual Full Backup Pool analog to the existing Full
Backup Pool.

Fixes 0000239: Max VirtualFull Interval like Max Full Interval
mod - src/dird/dird_conf.c Diff File
mod - src/dird/dird_conf.h Diff File
mod - src/dird/job.c Diff File
mod - src/dird/run_conf.c Diff File
mod - src/dird/scheduler.c Diff File
mod - src/include/jcr.h Diff File
 First  Prev  1 2 3 ... 60 ... 120 ... 180 ... 240 ... 300 ... 360 ... 420 ... 480 ... 539 540 541 542 543 544 545 ... 600 ... 607 608 609  Next  Last