[prev in list] [next in list] [prev in thread] [next in thread]
List: bacula-users
Subject: Re: [Bacula-users] [Bacula-devel] Beta release 7.9.0
From: Kern Sibbald <kern () sibbald ! com>
Date: 2017-05-29 6:59:34
Message-ID: 7b559879-c28a-8052-9c2e-558112857ffc () sibbald ! com
[Download RAW message or body]
[Attachment #2 (text/html)]
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hello Wanderlei,</p>
<p>Oops -- big flop. At least I mentioned that the upgrade was not
tested. All the code is actually there, but I neglected to notice
that there was a test for the full database range. In the code
that you posted below, you only need to change the line:</p>
<p> if [ "$DBVERSION" -lt 12 -o "$DBVERSION" -gt 14 ] ; then</p>
<p>to</p>
<p>if [ "$DBVERSION" -lt 12 -o "$DBVERSION" -gt 15 ] ; then</p>
<p>and it all should work. I did put all the sql statements
necessary for the upgrade. <br>
</p>
<p>I have made that change plus a few other cosmetic ones and pushed
it to the Bacula git repository. Today I will test an upgrade
from 7.4.x to the 7.9.0 (will be 9.0.0) format, and if it works, I
will release a new updated beta version.</p>
<p>Concerning the API documentation: yes, it is really not ideal. I
hope to be able to enhance/correct it in the near future, but I
doubt it will be done before the official 9.0.0 release.</p>
<p>Thanks for testing this and notifying me of the problem.<br>
</p>
<p>Best regards,</p>
<p>Kern<br>
</p>
<p><br>
</p>
<br>
<div class="moz-cite-prefix">On 05/29/2017 01:40 AM, Wanderlei
Huttel wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CADOApSBCZeXSjh84_aCNfcTwQz_wuFA9oZFwP5fC0CAFsGZiPw@mail.gmail.com">
<div dir="ltr">Hello Kern
<div><br>
</div>
<div>First of all, thanks for the new Bacula release. It always
amazing install new releases.</div>
<div><br>
</div>
<div>I have home questions about it:</div>
<div><br>
</div>
<div>------------------------------<wbr>------------------------------<wbr>--- \
---------------------------<wbr>------------------------------<wbr>------------------------------<wbr>---<br>
</div>
<div>- So I've tried to upgrade for this new version and I found
a problem in update script (as you mentioned above).</div>
<div>In this part of script for update tables:</div>
<div>How I'm already running bacula 7.4.7, the version of
Catalog is 15, and the update_table script is verifying
version between 12 and 14, should be 12 and 15.</div>
<div><br>
</div>
<div>
<div>if [ "$DBVERSION" -lt 12 -o "$DBVERSION" -gt 14 ] ; then</div>
<div> echo " "</div>
<div> echo "The existing database is version $DBVERSION !!"</div>
<div> echo "This script can only update an existing version
12-14 version 15."</div>
<div> echo "Error. Cannot upgrade this database."</div>
<div> echo " "</div>
<div> exit 1</div>
<div>fi</div>
</div>
<div><br>
</div>
<div>------------------------------<wbr>------------------------------<wbr>--- \
---------------------------<wbr>------------------------------<wbr>------------------------------<wbr>---</div>
<div>- About the new .api2. The manual is not so clear about
it. </div>
<div>In the option "t" I guess is possible to inform 3 options
(1, 2 or 3), but in option "sn" and "Sn" what values are
allowed?</div>
<div><br>
</div>
<div>
<div>api version 2</div>
<div>In Bacula version 9.0 and later, we introduced a new .api
version to help external tools to parse various Bacula
bconsole output.<br>
</div>
<div>The api_opts option can use the following arguments:<br>
</div>
<div>C<br>
</div>
<div>Clear current options</div>
<div>tn</div>
<div>Use a specific time format (1 ISO format, 2 Unix
Timestamp, 3 Default Bacula time format)</div>
<div>sn</div>
<div>Use a specific separator between items (new line by
default).</div>
<div>Sn</div>
<div>Use a specific separator between objects (new line by
default).</div>
<div>o</div>
<div>Convert all keywords to lowercase and convert all non
isalpha characters to _</div>
<div> .api 2 api_opts=t1s43S35</div>
<div> .status dir running</div>
<div>==============================<wbr>====</div>
<div>jobid=10</div>
<div>job=AJob</div>
<div>...</div>
</div>
<div><br>
</div>
<div><br>
</div>
<div>Best regards<br>
</div>
<div class="gmail_extra">
<div>
<div class="gmail_signature"
data-smartmail="gmail_signature">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div><br>
</div>
<div><span style="font-size:12.8px"><b><font
color="#0b5394">Wanderlei Hüttel</font></b></span><br>
</div>
<div><span style="font-size:12.8px"><font
color="#0b5394"><a
href="http://www.huttel.com.br"
target="_blank" \
moz-do-not-send="true">http://www.huttel.com.br</a></font></span></div> </div>
</div>
</div>
</div>
</div>
<br>
<div class="gmail_quote">2017-05-26 5:47 GMT-03:00 Kern
Sibbald <span dir="ltr"><<a
href="mailto:kern@sibbald.com" target="_blank"
moz-do-not-send="true">kern@sibbald.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
I am pleased to inform you that I have released the beta
source code for Bacula 7.9.0 to the Source Download area
of <a href="http://bacula.org" rel="noreferrer"
target="_blank" moz-do-not-send="true">bacula.org</a>. <a
href="http://www.bacula.org" rel="noreferrer"
target="_blank" moz-do-not-send="true">http://www.bacula.org</a>
-> Downloads -> Source Download Center.<br>
<br>
Please note that the 7.9.0 release is a beta release, and
it has not yet been fully tested. For example the database
upgrade scripts have not been fully tested and testing
with the Windows File daemon has not yet been done.
Consequently without careful testing by you we are not yet
recommending it for production.<br>
<br>
Aside from testing the database upgrade scripts and the
Windows compatibility, the most important thing that you
can do for the project is to run the nightly regression
tests. This will help confirm that it works across various
platforms. If there are no serious bugs, we will release
it for production in several weeks (mid-June 2017).<br>
<br>
By the way, I have been running 7.9.0 in production for
several weeks now.<br>
<br>
Below, for your convenience, you will find a partial copy
of the ReleaseNotes.<br>
<br>
Best regards,<br>
<br>
Kern<br>
<br>
Release Notes for Bacula 7.9.0<br>
<br>
Release Version 7.9.0 pre-release beta<br>
<br>
NOTE: version 7.9.0 is a beta test program. The final
release will<br>
be made several weeks following the beta release barring
any problems.<br>
The final release will be 9.0.0.<br>
<br>
This is either the biggest Bacula release ever made or one
of the<br>
biggest ones. Even without the new Aligned Volumes source
code, which<br>
is substantial, there are over 78,700 lines of diff output
between<br>
Release 7.4.7 and this release of 7.9.0<br>
<br>
For the most part the changes were contributed to the
Bacula<br>
project by Bacula Systems SA.<br>
<br>
Database Update<br>
---------------<br>
This version of Bacula requires a database update. So
either you or the<br>
installation process must apply the update_bacula_tables
script.<br>
<br>
Compatibility:<br>
--------------<br>
As always, both the Community Director and Storage
daemon(s) must be upgraded<br>
at the same time. Any File daemon running on the same
machine as a Director<br>
or Storage daemon must be of the same version.<br>
<br>
Older File Daemons should be compatible with the 7.9.0
Director and Storage<br>
daemons. There should be no need to upgrade older File
Daemons.<br>
<br>
New features and changes:<br>
Please see the New Features chapter of the manual for
documentation on<br>
the new features. The new features are currently only in
the New Features<br>
chapter and have not yet been integrated into the main
chapters of the<br>
manual.<br>
<br>
24May17<br>
- Fix bvfs queries<br>
- Use FileId in place of Filename<br>
- Revert "Put FilenameId in .bvfs_lsfiles output"<br>
- Put FilenameId in .bvfs_lsfiles output<br>
- Add more debug in src/cats/bvfs.c<br>
- Fix bvfs_lsdirs and bvfs_lsfiles<br>
- baculum: Add Japanese language support in deb and rpm
packages<br>
- Add DirectoryACL directive<br>
- baculum: New Baculum API and Baculum Web<br>
- Add forking info to LICENSE and LICENSE-FAQ<br>
- Minor improvement to error message<br>
- Fix race in steal_device_lock shown in
truncate-concurrent-test<br>
- Apply Marcin's fix for 6th week of the month<br>
- Add new truncate test<br>
- Retab Makefile.in in platforms/<a
href="http://systemd.in" rel="noreferrer"
target="_blank" moz-do-not-send="true">systemd.in</a><br>
- Fix compiler warning<br>
- Add FD backward compatibility<br>
- Fix regression minor scripting problems<br>
- Fix #2807 about an issue with the show command when
using incorrectly JobToVerify<br>
directive<br>
- Fix #2806 about the director service started before the
database with systemd<br>
- Update Dart control files<br>
- Massive (78,748+ lines) backport of code from Bacula
Enterprise 8.8.<br>
- Adapt update_bacula_tables scripts for catalog version
15<br>
- Allow to use Base directive in a JobDefs<br>
- Add more debug to the bpipe plugin<br>
- Enhance error message when packets are too big<br>
- Add '.storage unique' bconsole command<br>
- Allow to use ".jobs type=!B" to display specific job
type<br>
- Add lockdump storage daemon information<br>
<br>
- Fix #2698 Display loaded driver list in status storage
output<br>
- Fix autochanger unload message that contains sometime
an incorrect volume name<br>
- Fix issue with open_bpipe() function that may flush
stdio buffer if the<br>
command is incorrect<br>
- Fix unload tape messages to print correct volume +
improve output format<br>
- Fix unload/re-load same volume<br>
- Fix DIR get unexpected "Connection reset by peer" for
FD<br>
- Fix #2548 about SQL connection leak with
RunScript::Console commands<br>
- Fix #2588 about segfault in bdirjson with JobDefs/Base
directive<br>
- Fix #2593 about incomplete jobs incorrectly rescheduled<br>
- Fix #2629 about pool argument not listed in the "help
cloud" output<br>
- Fix #2632 about VolType not set correctly for Cloud
volumes after a label problem<br>
- Fix #2640 about a reference to the source directory in
query.sql file<br>
- Fix bug #2271 where poll interval causes tape mount
message to repeat<br>
- Fix segfault in bdirjson with incorrect configuration
files<br>
<br>
<br>
New Features (summary):<br>
-----------------------<br>
<br>
- See the new features chapter of the manual<br>
- Major rewrite of the Storage daemon to: put all drivers
in class<br>
structures, provide better separation of core/driver
code, add new<br>
drivers (aligned volumes, cloud), simplifies core code,
allows loadable<br>
device drivers much like plugins but which are better
integrated into<br>
the SD.<br>
- There are a number of new Bacula Systems whitepapers
available on<br>
<a href="http://www.bacula.org" rel="noreferrer"
target="_blank" moz-do-not-send="true">www.bacula.org</a>,
and a few more will be coming in the next few months.<br>
- New unique message id will be added to every message
(designed but<br>
not yet implemented).<br>
<br>
Core Features:<br>
- Implement a drive usage counter to do round robin drive
assignment<br>
- Enhance functionality of TapeAlert<br>
- Implement a "Perpetual Virtual Full" feature that
creates a Virtual Full backup<br>
that is updated every day<br>
- Increase Director's default "Maximum Concurrent Jobs"
setting from 1 to 20<br>
- Add "PluginDirectory" by default in bacula-sd.conf and
bacula-fd.conf<br>
- Add support for terabytes in sizes. Submitted by
Wanderlei Huttel.<br>
- Restore mtime & atime for symlinks<br>
- New "status network" command to test the connection and
the bandwidth<br>
between a Client and a Storage Daemon<br>
- New Tape Alert tracking<br>
- Loadable SD device drivers<br>
- PostgeSQL SSL connections permitted<br>
- JobStatistics improved<br>
- DB update required<br>
- Autochanger improvements to group Devices<br>
- Improved .estimate command<br>
- Comm line compression<br>
- Separate bxxjson programs for Console, Dir, FD, SD to
output .conf contents<br>
in Json for easier reading with programs<br>
- Read Only storage devices<br>
<br>
<br>
Bconsole Features:<br>
- Add "ExpiresIn" field in list and llist media output<br>
- Add command to change the priority of a running job
(update jobid=xxx priority=yyy)<br>
- Add level= and jobtype= parameters to the "list jobs"
command<br>
- Add option to bconsole to list and select a specific
Console<br>
- Add shortcut to RunScript console commands. Submitted
by Wanderlei Huttel.<br>
- Display "IgnoreFileSetChanges" in show fileset command
(#2107)<br>
- Display PrefixLinks in "show job" output<br>
- Display permission bits in .bvfs_decode<br>
- Display the Comment field in "llist job" command<br>
- Add "ActionOnPurge" field to "llist pool" command. Fix
#2487<br>
- Add "long" keyword to list command, ie "list long job".
This is<br>
essentially an alias fo the "llist" command.<br>
- Modify the "setbandwidth" limit parameter to accept
speed input. ex: limit=10kb/s<br>
- Modify the "setbandwidth" limit parameter so that the
default<br>
is no longer kb/s but b/s.<br>
- Do not show disabled resources in selection list<br>
- Fix bconsole readline and "dumb" terminal handling of
CTRL-C<br>
- Add the priority field to the .api 2 job listing output<br>
- Improved restricted consoles when accessing catalog.<br>
<br>
Misc Features:<br>
- New Tray Monitor program<br>
- Client Initiated Backups<br>
- Many performance enhancements<br>
- Bandwidth limitation timing improved<br>
- Global resource variables are not lost during a reload
command<br>
- Change the default "MaximumFileIndex" from 50MB to
100MB by default<br>
- Add -w option to btape to specify a working directory<br>
- Enhance bls -D/-F help message<br>
- The "list" command now filters the results using the
current Console ACLs<br>
- The WhereACL is now verified after the restore menu<br>
<br>
Bugs fixed/closed since last release:<br>
2271 2548 2563 2567 2588 2593 2602 2624 2625 2627 2629
2632 2638 2640 2646<br>
2698 2520 2559 2561 2582 2806 2807<br>
<br>
<br>
<br>
------------------------------<wbr>------------------------------<wbr>------------------<br>
Check out the vibrant tech community on one of the world's
most<br>
engaging tech sites, Slashdot.org! <a
href="http://sdm.link/slashdot" rel="noreferrer"
target="_blank" \
moz-do-not-send="true">http://sdm.link/slashdot</a><br> \
______________________________<wbr>_________________<br> Bacula-devel mailing \
list<br> <a href="mailto:Bacula-devel@lists.sourceforge.net"
target="_blank" \
moz-do-not-send="true">Bacula-devel@lists.sourceforge<wbr>.net</a><br> <a
href="https://lists.sourceforge.net/lists/listinfo/bacula-devel"
rel="noreferrer" target="_blank" \
moz-do-not-send="true">https://lists.sourceforge.net/<wbr>lists/listinfo/bacula-devel</a><br>
</blockquote>
</div>
<br>
</div>
</div>
</blockquote>
<br>
</body>
</html>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic