<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Firebird-migration must happen only after user consent and advise to backup data prior to migration at 6.1"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=116944#c44">Comment # 44</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Firebird-migration must happen only after user consent and advise to backup data prior to migration at 6.1"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=116944">bug 116944</a>
from <span class="vcard"><a class="email" href="mailto:drewjensen.inbox@gmail.com" title="Drew Jensen <drewjensen.inbox@gmail.com>"> <span class="fn">Drew Jensen</span></a>
</span></b>
<pre>(In reply to Tamas Bunth from <a href="show_bug.cgi?id=116944#c31">comment #31</a>)
<span class="quote">> 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.</span >
Right you are and there is a place holder for that on the wiki now.
<a href="https://wiki.documentfoundation.org/Documentation/FirebirdMigration">https://wiki.documentfoundation.org/Documentation/FirebirdMigration</a>
I just made sure that I have edit rights there and I do, so I'm willing to help
put that page together with you folks, if you'll have me.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>