Changesets: bareos2015
bareos-13.2 f79d05d4 2013-05-04 23:13 Ported: N/A Details Diff |
Fix statistics retention default value. 60s * 60m * 24h * 31d * 12m * 5 != 5 years 60s * 60m * 365d * 5 != 5 years But the second value is much closer then using 12 months with 31 days of which 4 months have 30 days and one has either 28 e.g. 3 days less or at best 29 days so 2 days less. When multiplied with 5 years this mean you calculate something 30+ days to much. |
||
mod - src/dird/dird_conf.c | Diff File | ||
bareos-13.2 a324d9eb 2013-05-04 23:13 Ported: N/A Details Diff |
Fix comments so that we know what the value actually means. | ||
mod - src/dird/dird_conf.c | Diff File | ||
mod - src/filed/filed_conf.c | Diff File | ||
mod - src/include/host.h.in | Diff File | ||
mod - src/stored/stored_conf.c | Diff File | ||
bareos-13.2 356e7a06 2013-05-04 23:12 Ported: N/A Details Diff |
Fix wrong default timeouts. When converting the default timeouts in the config engine set them to 180 instead of the wanted 1800 seconds. |
||
mod - src/filed/filed_conf.c | Diff File | ||
mod - src/stored/stored_conf.c | Diff File | ||
bareos-13.2 ef422340 2013-05-04 23:11 Ported: N/A Details Diff |
Rebuild configure and config.h.in | ||
mod - autoconf/config.h.in | Diff File | ||
mod - configure | Diff File | ||
bareos-13.2 3b76f022 2013-05-04 23:11 Committer: mvwieringen Ported: N/A Details Diff |
Implementation of LZ4 and LZ4HC compression Currently we support ZLIB based gzip compression and LZO2 compression. LZ4 and LZ4HC (High Compression) are like LZO2 but are much faster on decompression and are implemented as a single source file per compressor. As we don't want to handle things like uncompressable data etc ourself we settled for a wrapper library which mimics the zlib API and supports the following compression algorithms: - FASTLZ - LZ4 - LZ4HC The library is available at https://github.com/exalead/fastlzlib and the few fixes needed to make it work with Bareos are currently in a pullrequest to the original project. For the period until the patches merge we have a clone under the bareos project on github. Fixes 0000033: Implementation of LZ4 and LZ4HC compression Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com> |
Affected Issues 0000033 |
|
mod - autoconf/configure.in | Diff File | ||
mod - src/dird/inc_conf.c | Diff File | ||
mod - src/filed/Makefile.in | Diff File | ||
mod - src/filed/backup.c | Diff File | ||
mod - src/filed/compression.c | Diff File | ||
mod - src/filed/fileset.c | Diff File | ||
mod - src/filed/protos.h | Diff File | ||
mod - src/findlib/match.c | Diff File | ||
mod - src/include/ch.h | Diff File | ||
mod - src/include/jcr.h | Diff File | ||
mod - src/stored/Makefile.in | Diff File | ||
mod - src/stored/bextract.c | Diff File | ||
bareos-13.2 f1732a64 2013-05-04 23:11 Committer: mvwieringen Ported: N/A Details Diff |
bugfix: init scripts status on SUSE systems init scripts have been broken. This patch makes small adjustments, to fix these problems. Fixes 0000069: /etc/init.d/bareos-* status always return "running", even if daemon does not run Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com> |
Affected Issues 0000069 |
|
mod - platforms/suse/bareos-dir.in | Diff File | ||
mod - platforms/suse/bareos-fd.in | Diff File | ||
mod - platforms/suse/bareos-sd.in | Diff File | ||
bareos-13.2 1f972318 2013-05-04 23:11 Ported: N/A Details Diff |
Fix MaxRunSchedTime to cancel Job in time. Modified the code so MaxRunSchedTime will use the new initial_sched_time when checking to see if a job should be canceled. We have a set of jobs that we want to definitely end at a known time - Z hours after they've been initially scheduled - no matter what state the job is in. Patch by Thomas Lohman from bacula devel mailinglist. |
||
mod - AUTHORS | Diff File | ||
mod - src/dird/job.c | Diff File | ||
mod - src/dird/jobq.c | Diff File | ||
mod - src/include/jcr.h | Diff File | ||
mod - src/lib/jcr.c | Diff File | ||
bareos-13.2 17160778 2013-05-04 23:11 Ported: N/A Details Diff |
Sync some fixes from Amanda. | ||
mod - src/ndmp/ndma_noti_calls.c | Diff File | ||
mod - src/ndmp/ndmjob_job.c | Diff File | ||
bareos-13.2 570a1e65 2013-05-04 23:11 Committer: mvwieringen Ported: N/A Details Diff |
initscripts: use debian 6.0 skeleton recreate Debian and Ubuntu init scripts based on Debian/Ubuntu skeleton file. Advantages: - use standard skeleton - "status" is now implemented and working, see bug 0000050 - start order: if a database is installed, it is started before the bareos-director - Debian and Ubuntu are using the same init scripts - bareos-dir, bareos-sd and bareos-fd are based on the same skeleton and differ only at the variables values Changed: - Debian standard skeleton utilise the VERBOSE variable. By default, VERBOSE equals "no" and init script are completly quiet. We follow this standard, even so we don't like it. This behavior can be changed by setting "VERBOSE=yes" in /etc/defaults/rcS Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com> |
Affected Issues 0000050 |
|
mod - debian/control | Diff File | ||
mod - platforms/debian/bareos-dir.in | Diff File | ||
mod - platforms/debian/bareos-fd.in | Diff File | ||
mod - platforms/debian/bareos-sd.in | Diff File | ||
rm - platforms/ubuntu/bareos-dir.in | Diff File | ||
add - platforms/ubuntu/bareos-dir.in | Diff File | ||
rm - platforms/ubuntu/bareos-fd.in | Diff File | ||
add - platforms/ubuntu/bareos-fd.in | Diff File | ||
rm - platforms/ubuntu/bareos-sd.in | Diff File | ||
add - platforms/ubuntu/bareos-sd.in | Diff File | ||
bareos-12.4 51a552ff 2013-05-04 23:11 Committer: mvwieringen Ported: N/A Details Diff |
initscripts: use debian 6.0 skeleton recreate Debian and Ubuntu init scripts based on Debian/Ubuntu skeleton file. Advantages: - use standard skeleton - "status" is now implemented and working, see bug 0000050 - start order: if a database is installed, it is started before the bareos-director - Debian and Ubuntu are using the same init scripts - bareos-dir, bareos-sd and bareos-fd are based on the same skeleton and differ only at the variables values Changed: - Debian standard skeleton utilise the VERBOSE variable. By default, VERBOSE equals "no" and init script are completly quiet. We follow this standard, even so we don't like it. This behavior can be changed by setting "VERBOSE=yes" in /etc/defaults/rcS Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com> |
Affected Issues 0000050 |
|
mod - debian/control | Diff File | ||
mod - platforms/debian/bareos-dir.in | Diff File | ||
mod - platforms/debian/bareos-fd.in | Diff File | ||
mod - platforms/debian/bareos-sd.in | Diff File | ||
rm - platforms/ubuntu/bareos-dir.in | Diff File | ||
add - platforms/ubuntu/bareos-dir.in | Diff File | ||
rm - platforms/ubuntu/bareos-fd.in | Diff File | ||
add - platforms/ubuntu/bareos-fd.in | Diff File | ||
rm - platforms/ubuntu/bareos-sd.in | Diff File | ||
add - platforms/ubuntu/bareos-sd.in | Diff File | ||
bareos-13.2 cc894e18 2013-05-04 23:11 Committer: mvwieringen Ported: N/A Details Diff |
more deterministic Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com> |
||
mod - test/all | Diff File | ||
bareos-13.2 a2ae1296 2013-05-04 23:11 Ported: N/A Details Diff |
Rebuild configure. | ||
mod - configure | Diff File | ||
bareos-13.2 8c64bfe4 2013-05-04 23:11 Committer: mvwieringen Ported: N/A Details Diff |
travis: update to preinst script modified by configure Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com> |
||
mod - .travis.yml | Diff File | ||
bareos-13.2 9a69ea9e 2013-05-04 23:11 Ported: N/A Details Diff |
add daemon user to required groups bareos storage daemon user must be in groups tape and/or disk to be able to access tape devices. Due to different behavior of different distributions (install order if not always the same), every package that requires a specific group/user set this up on its own. preinstall: bareos-common: setup default daemon group bareos and user bareos bareos-filedaemon: setup fd group (bareos) and user (root) bareos-storage: setup sd group (bareos) and user (bareos) bareos-director: setup dir group (bareos) and user (bareos) postinstall: bareos-storage: call bareos-config setup_sd_user, which checks if sd group and user exists, otherwise it creates them, and add the sd user (bareos) to the groups tape and disk, if they exists. Tested on: Debian 6, Ubuntu 12.04 (32bit), SLES11SP2, Centos5 Fixes 0000099: user bareos unable to operate tape changer due to wrong permissions Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com> |
Affected Issues 0000099 |
|
mod - autoconf/configure.in | Diff File | ||
rm - debian/bareos-director.preinst | Diff File | ||
add - debian/bareos-director.preinst.in | Diff File | ||
rm - debian/bareos-filedaemon.preinst | Diff File | ||
add - debian/bareos-filedaemon.preinst.in | Diff File | ||
mod - debian/bareos-storage.postinst | Diff File | ||
rm - debian/bareos-storage.preinst | Diff File | ||
add - debian/bareos-storage.preinst.in | Diff File | ||
mod - platforms/rpms/bareos.spec | Diff File | ||
mod - scripts/bareos-config.in | Diff File | ||
bareos-13.2 2651ba43 2013-05-04 23:11 Ported: N/A Details Diff |
Rebuild configure. | ||
mod - configure | Diff File | ||
bareos-13.2 fba7f87c 2013-05-04 23:11 Ported: N/A Details Diff |
Allow for relaxed TLS configuration. Current the verify_peer flag is hardcoded to true for the console programs. It would be nice if we would allow a somewhat relaxed TLS mode that allows to establish a TLS connection without the need for very strict certificate checking which is done now. The default setting is the same as before but the administrator can relax this setting by setting the "TLS Verify Peer" option to false in a definition of the client connection. This doesn't have severe security implications as the authorization with challenge response (md5 hashes) is done before the TLS handshake. So this means you can have the same security as a non TLS connection but with a relaxed config which means you get a encrypted datastream even when you haven't put the whole certificate enrollment in place e.g. CA certificate and potentially client certificates. Protocols like LDAPS and ESMTP also allow this. This is also the first version of the GNUTLS code that allows an TLS encrypted session with the GNUTLS library as a replacement for the openssl code. This currently is only tested with the relaxed TLS configuration options set e.g. TLS Verify Peer = no Fixes 0000122: Allow for relaxed TLS configuration. |
Affected Issues 0000122 |
|
mod - autoconf/configure.in | Diff File | ||
mod - src/console/console.c | Diff File | ||
mod - src/console/console_conf.c | Diff File | ||
mod - src/console/console_conf.h | Diff File | ||
mod - src/dird/dird_conf.h | Diff File | ||
mod - src/filed/filed.c | Diff File | ||
mod - src/filed/filed_conf.c | Diff File | ||
mod - src/filed/filed_conf.h | Diff File | ||
mod - src/lib/tls_gnutls.c | Diff File | ||
mod - src/lib/tls_nss.c | Diff File | ||
mod - src/lib/tls_openssl.c | Diff File | ||
mod - src/qt-console/bat_conf.cpp | Diff File | ||
mod - src/qt-console/bat_conf.h | Diff File | ||
mod - src/qt-console/bcomm/dircomm.cpp | Diff File | ||
mod - src/stored/stored_conf.h | Diff File | ||
bareos-13.2 0e57df75 2013-05-04 23:11 Ported: N/A Details Diff |
Upgraded jobs use wrong pool With the introduction of a fix for "#1679 Job Overrides are Not listed In Manual Run Confirmation" we introduced a bug in an interactive run as we do an pool override early and ignore any changes later on by setting a suppress boolean value. This doesn't work when a job gets upgraded later on to lets say Full because no earlier Full was found but it started out as an incremental Job. Moved get_level_since_time() from fd_cmds.c to job.c where it makes much more sense. Fixed comments and let it return a boolean which is true when it updated the pool due to a missing full/differential etc. Now when get_level_since_time() returns true we force apply_pool_overrides() to ignore any overrides and always reevaluate the pool it needs to save too (fullpool/diffpool/incpool) Also moved the call to get_level_since_time() and apply_pool_overrides() into setup_job() so we don't have to code it twice in do_native_backup_init() and do_ndmp_backup_init(). get_level_since_time() now always encodes the since value into the jcr->since variable so we only need one argument to the function being the jcr and no longer a char pointer and size which for most calls were pointing to something in the jcr anyway. Fixes 0000088: Upgraded jobs use wrong pool |
Affected Issues 0000088 |
|
mod - src/dird/backup.c | Diff File | ||
mod - src/dird/fd_cmds.c | Diff File | ||
mod - src/dird/job.c | Diff File | ||
mod - src/dird/ndmp_dma.c | Diff File | ||
mod - src/dird/protos.h | Diff File | ||
mod - src/dird/ua_cmds.c | Diff File | ||
bareos-13.2 c2272cd1 2013-05-04 23:11 Ported: N/A Details Diff |
Add copies to the allowed keyword for restore. Its seems that you can use a set of copy jobs to do a restore when you specify the copies keyword on the restore commandline. e.g. restore copies will select instead of the normal full/differential/incremental jobs the copies of those Jobs. When doing offsite SD-SD replication this can be a good selection criteria when you lost your primay storage daemon but can restore from the secondary or standby storage daemon. As long as you have a working database this is a good DR procedure. You still need a working director and database but as the database can be replicated as an HA solution and a director also have a cold standby this could be part of a solution. Fixes 0000036: Implementation of restore using a set of copies of an original job |
Affected Issues 0000036 |
|
mod - src/dird/ua_cmds.c | Diff File | ||
bareos-13.2 bf1c4eeb 2013-05-04 23:11 Committer: mvwieringen Ported: N/A Details Diff |
text format Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com> |
||
mod - README.md | Diff File | ||
bareos-13.2 23244f82 2013-05-04 23:10 Committer: mvwieringen Ported: N/A Details Diff |
travis build status Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com> |
||
mod - README.md | Diff File | ||
bareos-13.2 980d9cc6 2013-05-04 23:10 Committer: mvwieringen Ported: N/A Details Diff |
automatically open the windows firewall During installation, we now open the firewallport 9102 for bareos-fd.exe per default. This can be disabled during installation. During uninstall, this firewallrule is removed again. Fixes 0000079: configure Windows firewall with package installation Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com> |
Affected Issues 0000079 |
|
mod - platforms/win32/winbareos.nsi | Diff File | ||
bareos-13.2 9f6f65e5 2013-05-04 23:10 Committer: mvwieringen Ported: N/A Details Diff |
Mostly cosmetic enhancements of windows installer - using the right icons in the dialogs - cleanup of text formatting - added help text for /D, /S and /? params - commented out catalog directive in generated config this is also described in a comment - fixes uninstall problem on win64 Fixes: 0000049 : Install Parameters and Helptext for cmd installation Fixes: 0000121 : Deinstallation of windows installer works, but is not removed from the software list in windows. Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com> |
Affected Issues 0000049, 0000121 |
|
mod - platforms/win32/winbareos.nsi | Diff File | ||
bareos-13.2 6fb358e7 2013-05-04 23:10 Committer: mvwieringen Ported: N/A Details Diff |
apt-get install: automatic configure always assume "no" when updating packages. Also add a workaround of sending carrage returns, because of a problem with updating the mysql-common package. Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com> |
||
mod - .travis.yml | Diff File | ||
bareos-13.2 84beca6e 2013-05-04 23:10 Committer: mvwieringen Ported: N/A Details Diff |
xUbuntu_10.04 Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com> |
||
add - platforms/deb/bareos-xUbuntu_10.04.dsc | Diff File | ||
bareos-13.2 d773ba39 2013-05-04 23:10 Ported: N/A Details Diff |
Fix some bugs in non supported sql pooling code. | ||
mod - src/cats/sql_pooling.c | Diff File | ||
mod - src/dird/dird.c | Diff File |