Changesets: bareos

bareos-17.2 9eea8c56

2017-09-02 17:33

joergs

Ported: N/A

Details Diff
MacOS X: make bareos-client package working again

* cleanup the build process
* building is now done via a mac specific configure script:

platforms/osx/configure.sh
make -C platforms/osx/ pkg

* adapted pre- and postinstall scripts to current (>= MacOS 10.4) format
* reuse "bareos-config deploy_config" to deploy configuration files
* package configuration files are now stored at
/usr/local/lib/bareos/defaultconfigs/
and deployed to
/usr/local/etc/bareos/
if they do not already exists.
This prevents that they get overwritten on package updates.

Fixes 0000480: file daemon does not start due to missing /var/run/bareos/working
Affected Issues
0000480
mod - autoconf/Make.common.in Diff File
mod - autoconf/configure.in Diff File
rm - platforms/darwin/Makefile.in Diff File
mod - platforms/osx/Makefile.in Diff File
mod - platforms/osx/README Diff File
add - platforms/osx/configure.sh Diff File
mod - platforms/osx/files/org.bareos.bareos-fd.plist.in Diff File
mod - platforms/osx/resources/ReadMe.html.in Diff File
rm - platforms/osx/resources/postflight.in Diff File
add - platforms/osx/resources/postinstall.in Diff File
add - platforms/osx/resources/preinstall.in Diff File
rm - platforms/osx/resources/preupgrade.in Diff File
mod - scripts/bareos-config-lib.sh.in Diff File
mod - src/console/Makefile.in Diff File
mod - src/dird/Makefile.in Diff File
mod - src/filed/Makefile.in Diff File
mod - src/stored/Makefile.in Diff File

bareos-17.2 a6872e72

2017-09-02 17:29

joergs

Ported: N/A

Details Diff
fix compile settings for client-only

when enable-client-only is set,
set build_dird and build_stored to no.
mod - autoconf/configure.in Diff File

master 158c2892

2017-08-29 17:46

joergs

Ported: N/A

Details Diff
Build: Bump version number
mod - configure Diff File
mod - src/include/version.h Diff File

master f310a4cf

2017-08-29 17:44

joergs

Ported: N/A

Details Diff
NDMP_NATIVE: cleanup

Assign database schema version 2171 to Bareos >= 17.2.3.
Director Storage resource:
* Renamed the ChangerDevice directive to NdmpChangerDevice (for clarification)
* Removed the TapeDevice directive. Use Device instead.
Remove some unused code.
mod - src/cats/ddl/versions.map.in Diff File
mod - src/cats/postgresql.c Diff File
mod - src/cats/protos.h Diff File
mod - src/dird/dird_conf.c Diff File
mod - src/dird/dird_conf.h Diff File
mod - src/dird/ndmp_dma_backup_NDMP_BAREOS.c Diff File
mod - src/dird/ndmp_dma_backup_NDMP_NATIVE.c Diff File
mod - src/dird/ndmp_dma_backup_common.c Diff File
mod - src/dird/ndmp_dma_generic.c Diff File
mod - src/dird/ndmp_dma_restore_NDMP_BAREOS.c Diff File
mod - src/dird/ndmp_dma_restore_NDMP_NATIVE.c Diff File
mod - src/dird/ndmp_dma_restore_common.c Diff File
mod - src/dird/ndmp_dma_storage.c Diff File
mod - src/dird/ndmp_fhdb_common.c Diff File
mod - src/dird/ndmp_ndmmedia_db_helpers.c Diff File
mod - src/dird/protos.h Diff File
mod - src/dird/storage.c Diff File

bareos-17.2 751787aa

2017-08-24 18:24

frank


Committer: joergs

Ported: N/A

Details Diff
Reset JobStatus to previous JobStatus in status SD and FD loops

We need to reset the JobStatus value to its previous after each storage or client status call,
otherwise if we receive an JS_Error for one storage or client, all the following status calls
will fail as well.

This could happen for example if a client or storage is offline but more status calls to other
clients and storages will follow in the loop.
mod - src/dird/ua_status.c Diff File

bareos-17.2 cb5d872e

2017-08-24 18:24

frank


Committer: stephand

Ported: N/A

Details Diff
Reset JobStatus to previous JobStatus in status SD and FD loops

We need to reset the JobStatus value to its previous after each storage or client status call,
otherwise if we receive an JS_Error for one storage or client, all the following status calls
will fail as well.

This could happen for example if a client or storage is offline but more status calls to other
clients and storages will follow in the loop.

(cherry picked from commit 751787aa81c60b1003b3c75c1a0fc6d38eb967ee)
mod - src/dird/ua_status.c Diff File

bareos-16.2-droplet df757790

2017-08-24 18:24

frank


Committer: stephand

Ported: N/A

Details Diff
Reset JobStatus to previous JobStatus in status SD and FD loops

We need to reset the JobStatus value to its previous after each storage or client status call,
otherwise if we receive an JS_Error for one storage or client, all the following status calls
will fail as well.

This could happen for example if a client or storage is offline but more status calls to other
clients and storages will follow in the loop.

(cherry picked from commit 751787aa81c60b1003b3c75c1a0fc6d38eb967ee)
mod - src/dird/ua_status.c Diff File

master 4947a833

2017-08-19 11:31

pstorz

Ported: N/A

Details Diff
Merge branch 'bareos-16.2'
mod - src/lib/crypto_openssl.c Diff File

master 6d61cd27

2017-08-19 11:30

pstorz

Ported: N/A

Details Diff
Fix warning: 'Digest::jcr' will be initialized after [-Wreorder]
mod - src/lib/crypto_openssl.c Diff File

master 7d517efc

2017-08-18 16:37

pstorz

Ported: N/A

Details Diff
Merge branch 'bareos-16.2'
mod - AUTHORS Diff File
mod - src/dird/job.c Diff File
mod - src/lib/crypto_openssl.c Diff File
mod - src/lib/sha1.c Diff File
mod - src/lib/tls_openssl.c Diff File

master d31cd38e

2017-08-14 12:35

pstorz

Ported: N/A

Details Diff
NDMP: add support for 2-way NDMP with DAR and DDAR

The current implementation of NDMP in Bareos has some limitations
because of the way it was implemented.

- The backup is always sent over the network from the Data Agent to the
Tape Agent (3-way NDMP)
- DAR(Direct Access Recovery) and DDAR (Directory DAR) are not supported,
single file restores are VERY slow as the whole backup stream needs to
be scanned during restore.

This commit adds support for 2-way NDMP backups inside of the Director.
During 2-way NDMP Backups, the Director is the only bareos daemon involved,
the Storage Daemon does not do anything in this setup.

To be able to do 2-way NDMP backups and to support DAR and DDAR, the
director
- controls the NDMP changer via NDMP Protocol.
- does the bookkeeping for the NDMP media.
- stores the full NDMP file information being sent during backups (FhInfo and FhNode)
in the catalog database.
- sends back the full NDMP file information during restore to enable DAR
and DDAR.

The advantage of the 2-way NDMP backups are:
- Much higher backup speed as the data goes directly from the disks to
the tape without going over the network.
- Much higher restore speed for single files/directories with DAR and
DDAR, as only the required blocks are read during restore instead of
restoring the whole backup stream and only restoring the required
data.

The following NDMP Protocol keywords are now available:

* NDMP : which is an alias for NDMP_BAREOS for backward compatibility
* NDMP_BAREOS: which is NDMP backups with paired storage and NDMP Tape
Agent inside of the Bareos Storage Daemon
* NDMP_NATIVE: this is doing NDMP backups with only the DMA inside of
the Bareos Director without any connection to the SD

These keywords reflect the two ways of NDMP that are now supported in
Bareos, which is either the special way of NDMP backups implemented in
Bareos before, or the "NATIVE" way to do NDMP backups.

To be able to store the FileHandle information for DAR and DDAR, the
File table how has two additional columns for FhInfo and FhNode.
The JobMedia table how has the additional column JobBytes which is used
to store NDMP media Information.

This column is planned to hold the JobBytes that are stored in the
corresponding JobMedia record.

The ndmp_dma_backup and ndmp_dma_restore files were split up for the two
different ways of NDMP backups that we have now.
mod - src/cats/cats.h 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/updates/mysql.2004_2170.sql Diff File
add - src/cats/ddl/updates/mysql.2170_2171.sql Diff File
add - src/cats/ddl/updates/postgresql.2170_2171.sql Diff File
add - src/cats/ddl/updates/sqlite3.2170_2171.sql Diff File
mod - src/cats/dml/0034_select_recent_version_with_basejob Diff File
mod - src/cats/dml/0034_select_recent_version_with_basejob.postgresql Diff File
mod - src/cats/dml/0035_select_recent_version_with_basejob_and_delta Diff File
mod - src/cats/dml/0035_select_recent_version_with_basejob_and_delta.postgresql Diff File
mod - src/cats/dml/0036_select_recent_version Diff File
mod - src/cats/dml/0036_select_recent_version.postgresql Diff File
mod - src/cats/dml/0039_create_temp_new_basefile Diff File
mod - src/cats/dml/0039_create_temp_new_basefile.ingres Diff File
mod - src/cats/ingres.c Diff File
mod - src/cats/mysql.c Diff File
mod - src/cats/mysql_queries.inc Diff File
mod - src/cats/postgresql.c Diff File
mod - src/cats/postgresql_queries.inc Diff File
mod - src/cats/protos.h Diff File
mod - src/cats/sql_create.c Diff File
mod - src/cats/sql_get.c Diff File
mod - src/cats/sql_pooling.c Diff File
mod - src/cats/sqlite.c Diff File
mod - src/cats/sqlite_queries.inc Diff File
mod - src/dird/Makefile.in Diff File
mod - src/dird/backup.c Diff File
mod - src/dird/catreq.c Diff File
mod - src/dird/dird_conf.c Diff File
mod - src/dird/job.c Diff File
add - src/dird/ndmp_dma_backup_NDMP_NATIVE.c Diff File
add - src/dird/ndmp_dma_backup_common.c Diff File
mod - src/dird/ndmp_dma_generic.c Diff File
mod - src/dird/ndmp_dma_priv.h Diff File
add - src/dird/ndmp_dma_restore_NDMP_NATIVE.c Diff File
add - src/dird/ndmp_dma_restore_common.c Diff File
mod - src/dird/ndmp_dma_storage.c Diff File
mod - src/dird/ndmp_fhdb_common.c Diff File
mod - src/dird/ndmp_fhdb_helpers.c Diff File
mod - src/dird/ndmp_fhdb_lmdb.c Diff File
add - src/dird/ndmp_ndmmedia_db_helpers.c Diff File
mod - src/dird/protos.h Diff File
mod - src/dird/restore.c Diff File
mod - src/dird/storage.c Diff File
mod - src/dird/ua_restore.c Diff File
mod - src/dird/ua_tree.c Diff File
mod - src/include/jcr.h Diff File
mod - src/lib/tree.h Diff File
mod - src/ndmp/Makefile.in Diff File
mod - src/ndmp/ndma_comm_job.c Diff File
mod - src/ndmp/ndma_comm_session.c Diff File
mod - src/ndmp/ndma_control.c Diff File
mod - src/ndmp/ndma_cops_backreco.c Diff File
mod - src/ndmp/ndma_cops_robot.c Diff File
mod - src/ndmp/ndma_ctrl_media.c Diff File
mod - src/ndmp/ndma_ctrl_robot.c Diff File
mod - src/ndmp/ndma_data_fh.c Diff File
mod - src/ndmp/ndma_listmgmt.c Diff File
mod - src/ndmp/ndma_tape.c Diff File
mod - src/ndmp/ndmagents.h Diff File
mod - src/ndmp/ndmjob_args.c Diff File
mod - src/ndmp/ndmjob_main.c Diff File
mod - src/ndmp/ndmjob_simulator.c Diff File
mod - src/ndmp/ndml_chan.c Diff File
mod - src/ndmp/ndml_conn.c Diff File
mod - src/ndmp/ndmos.h Diff File
mod - src/ndmp/ndmp4_pp.c Diff File
mod - src/stored/bscan.c Diff File
mod - src/stored/bsr.c Diff File
mod - src/stored/dir_cmd.c Diff File
mod - src/stored/job.c Diff File
mod - src/win32/dird/Makefile Diff File

bareos-17.2 29733cc2

2017-08-08 14:53

mvwieringen


Committer: pstorz

Ported: N/A

Details Diff
build: Add support for object storage backend
mod - platforms/packaging/bareos.spec Diff File
mod - src/stored/backends/Makefile.in Diff File

bareos-16.2-droplet f6a23af2

2017-08-08 14:53

mvwieringen

Ported: N/A

Details Diff
build: Add support for object storage backend
mod - platforms/packaging/bareos.spec Diff File
mod - src/stored/backends/Makefile.in Diff File

bareos-17.2 4992a4d3

2017-08-08 13:32

mvwieringen


Committer: pstorz

Ported: N/A

Details Diff
stored: Add example configs for objectstorage device.
add - src/stored/backends/object_store_device.d/bareos-dir.d/storage/Object.conf.example Diff File
add - src/stored/backends/object_store_device.d/bareos-sd.d/device/ObjectStorage.conf.example Diff File

bareos-16.2-droplet 26b22dcd

2017-08-08 13:32

mvwieringen

Ported: N/A

Details Diff
stored: Add example configs for objectstorage device.
add - src/stored/backends/object_store_device.d/bareos-dir.d/storage/Object.conf.example Diff File
add - src/stored/backends/object_store_device.d/bareos-sd.d/device/ObjectStorage.conf.example Diff File

bareos-16.2 674a5296

2017-08-02 23:06

medicmomcilo


Committer: joergs

Ported: N/A

Details Diff
Fix crash when debugging output is enabled

Fixes 0000826: Enabling debugging output crashes Director
Affected Issues
0000826
mod - AUTHORS Diff File
mod - src/dird/job.c Diff File

bareos-17.2 35b2fc08

2017-08-01 19:38

Aron Schüler


Committer: joergs

Ported: N/A

Details Diff
Fixes Mac Os X build
mod - platforms/osx/Makefile.in Diff File
mod - platforms/osx/README Diff File
mod - platforms/osx/files/org.bareos.bareos-fd.plist.in Diff File
mod - platforms/osx/resources/ReadMe.html.in Diff File
mod - platforms/osx/resources/postflight.in Diff File
mod - scripts/bareos-config-lib.sh.in Diff File

bareos-17.2 82576dd3

2017-08-01 15:01

joergs

Ported: N/A

Details Diff
configure
mod - configure Diff File

bareos-17.2 e1c434b2

2017-08-01 14:59

joergs

Ported: N/A

Details Diff
add bareos-regress-config package

This package contains required file for running Bareos regression tests
for the bareos-regress package.
mod - GNUmakefile.in Diff File
mod - Makefile.in Diff File
mod - autoconf/configure.in Diff File
add - debian/bareos-regress-config.install.in Diff File
add - debian/bareos-regress-config.preinst.in Diff File
mod - debian/control Diff File
mod - debian/control.in Diff File
mod - platforms/packaging/bareos.spec Diff File
mod - scripts/Makefile.in Diff File
mod - scripts/bareos-ctl-dir.in Diff File
mod - scripts/bareos-ctl-fd.in Diff File
mod - scripts/bareos-ctl-funcs Diff File
mod - scripts/bareos-ctl-sd.in Diff File
add - scripts/bareos-regress.conf.in Diff File
mod - scripts/bareos.in Diff File
mod - src/stored/Makefile.in Diff File
mod - src/tests/Makefile.in Diff File
mod - src/tests/cats_test.c Diff File
mod - src/tests/ing_test.c Diff File
mod - src/tools/Makefile.in Diff File

master 621c2f84

2017-07-27 15:00

joergs

Ported: N/A

Details Diff
bls: show SHA signatures
mod - src/stored/record.c Diff File

bareos-16.2 38d0aec7

2017-07-26 23:57

joergs

Ported: N/A

Details Diff
bugfix: prevents file corruptions by SHA1

Fixes a bug when using SHA1 file signatures in Bareos version compiled
without openssl.

Fixes 0000838: File corruption with SHA1 signature
Affected Issues
0000838
mod - src/lib/sha1.c Diff File

master 452a8a4e

2017-07-21 19:15

stephand

Ported: N/A

Details Diff
Fix .bvfs_lsdirs: Don't show empty dirs from accurate jobs

The SQL Query used by .bvfs_lsdirs did not consider the FileIndex
column, which is 0 for deleted directories in accurate backup jobs,
so that empty directories were returned by .bvfs_lsdirs.

This commit also contains an optimized index for the above SQL query,
without such an index .bvfs_lsdirs could be very slow on large
databases.

Also all variable length columns of the File table have been moved
to the end, this may allow the database to optimize the physical
layout.
mod - src/cats/bdb_query_enum_class.h Diff File
mod - src/cats/bdb_query_names.inc Diff File
mod - src/cats/bvfs.c Diff File
mod - src/cats/ddl/creates/mysql.sql Diff File
mod - src/cats/ddl/creates/postgresql.sql Diff File
mod - src/cats/ddl/updates/mysql.2004_2170.sql Diff File
mod - src/cats/ddl/updates/postgresql.2004_2170.sql Diff File
mod - src/cats/mysql_queries.inc Diff File
mod - src/cats/postgresql_queries.inc Diff File
mod - src/cats/sqlite_queries.inc Diff File

master 96266afb

2017-07-07 13:06

joergs

Ported: N/A

Details Diff
Merge remote-tracking branch 'origin/bareos-16.2'
mod - .travis.yml Diff File
mod - configure Diff File
mod - debian/control Diff File
mod - debian/control.in Diff File
add - platforms/packaging/bareos-Univention_4.2.dsc Diff File
mod - platforms/packaging/bareos.dsc Diff File
mod - platforms/packaging/bareos.spec Diff File
mod - platforms/systemd/bareos-sd.service.in Diff File
mod - scripts/git-info.sh Diff File
mod - src/cats/sql_find.c Diff File
mod - src/dird/dird_conf.c Diff File
mod - src/dird/sd_cmds.c Diff File
mod - src/dird/ua_label.c Diff File
mod - src/dird/ua_purge.c Diff File
mod - src/dird/ua_status.c Diff File
mod - src/include/version.h Diff File
mod - src/qt-tray-monitor/bareos-tray-monitor.xpm Diff File
mod - src/stored/spool.c Diff File

master 49b543f7

2017-07-06 19:35

joergs

Ported: N/A

Details Diff
show console command: fix help string
mod - src/dird/ua_cmds.c Diff File

master 841ca8f7

2017-07-06 13:44

Torsten Ueberschar


Committer: pstorz

Ported: N/A

Details Diff
Add support for OpenSSL 1.1

OpenSSL 1.1 has quite some changes in the API, and this patch
enables to use the new API and still supports the old API as well.
mod - src/lib/crypto_openssl.c Diff File
mod - src/lib/tls_openssl.c Diff File
 First  Prev  1 2 3 ... 60 ... 120 ... 180 ... 240 ... 300 ... 360 ... 420 ... 457 458 459 460 461 462 463 ... 480 ... 540 ... 600 ... 641 642 643  Next  Last