[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#606262: bacula-director-mysql lenny to squeeze database upgrade fail

found 606262 5.0.2-1
tags 606262 + upstream
tags 606262 + patch

Hi Julien!

On Tue, 07 Dec 2010 22:32:49 +0100, Julien Savoie wrote:
> Package: bacula-director-mysql
> Version: 5.0.2-2, 5.0.2-1

AFAIK you can give only one version as an argument, giving two (or more)
gives you an error.  I added 5.0.2-1 (the oldest version) to the report.

I left all your report for José, John, the pkg-bacula-devel@ and
bacula-user@ mailing lists :-)

> The included script upgrades from database format version 11 to
> version 12.  Unfortunately Debian lenny has bacula 2.4.4, which is
> version 10.  We were able to get around this by downloading the source
> to bacula 3.0 and running the version 10 to 11 script manually
> ourselves.

Thus we clearly need an upgrade path from lenny, even if we are a bit
late given squeeze is out for two months now.

> /usr/share/bacula-director/update_mysql_tables
>> echo " "
>> echo "This script will update a Bacula MySQL database from version
>> 11 to 12"
>> echo " which is needed to convert from Bacula Enterprise 2.6 to 4.0 or "
>> echo " Standard version 3.0 to 5.0"
>> echo " "
> What is needed is a script that upgrades 10 to 12.  I'm including the
> one I wrote.  The upgrade for the bacula-director-mysql should really
> call this script or something similar.

Thank you very much for the script.

Given that this is an upstream bug (bacula-user@ mailing list cc:ed for
comments), it would probably be a good thing to check with upstream if
they have already provided a solution.  If this is not the case and
there is interest for it outside Debian, I would be more than happy to
push your script to upstream.

For the latter to happen, however, your script should share the same
Bacula upstream license, do you agree with that?


Or, if not pushed upstream and included in Debian-only, the license
should be the same as the one José and John chose for their packaging
work.  Since I could not find any note about it, José, John, could you
enlighten us, please?
Thx, bye,
Gismo / Luca

Attachment: pgp5OsskKSaXq.pgp
Description: PGP signature

Reply to: