On Sunday 07 February 2010 02:13:29 pm Timo Neuvonen wrote: > > Output of the above attached. What came into my mind... is the test in line > 100 in the attachment (similar to the one I highlighted above with *******) > wrong way: > > elif [ "$DB_VER" -lt "11" ]; then > echo "This release requires an upgrade to your bacula database." > > Does this skip the update, if the old level was 11? A long time since I had > shell scripts for breakfast, but I read that > "if database version is less than 11 then run the update..." > I think it should run when equal to 11? > My bad. When I was making the updates I got sqlite and postgresql but somehow missed mysql in the post. You are correct but it should be:
elif [ "$DB_VER" -lt "12" ]; then Thanks for your help. It will be fixed for the next release. For all users upgrading with the 5.0.0 be warned that the mysql database update is broken and you must do it manually. Regards, Scott ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users