[Libreoffice-bugs] [Bug 116944] Firebird-migration must happen only after user consent and advise to backup data prior to migration at 6.1

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sat Apr 14 19:32:30 UTC 2018


https://bugs.documentfoundation.org/show_bug.cgi?id=116944

--- Comment #31 from Tamas Bunth <btomi96 at gmail.com> ---
from bug title:
"advise to backup data prior to migration at 6.1"

You can revert the migration by opening "content.xml" in the zipped structure
and replace the URL "sdbc:embedded:firebird" with "sdbc:embedded:hsqldb". This
will work, because the old HSQLDB data is still in the odb structure. You may
also want to remove "database/firebird.fbk" so it won't make any surprises when
you try to migrate next time.

Of course, the above method is not user friendly. I would like to suggest that
- instead of advising the user to backup it's data - we should revert the
changes automatically (with the above mentioned method) if the migration wasn't
successful.

By "wasn't successful" I mean that the sdbc driver throws an exception - which
indicates a lot of errors, but not all of them (e.g. what if something is just
missing in the new format). In these cases the user could still revert the
migration manually. Because of that, the above mentioned way to revert the
migration should be put into a wiki or something.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20180414/159309e5/attachment.html>


More information about the Libreoffice-bugs mailing list