You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jspwiki.apache.org by Col Willis <co...@gmail.com> on 2017/11/28 13:16:36 UTC
Data Migration
Hi all,
I have a personal JSPWiki for a few years with File-based storage
(jspwiki-files)
I want to migrate this to AWS Cloud, but setup a Database back-end...
What is the best way to Migrate data from jspwiki-files into Database?
Thanks,
Colin
Re: Data Migration
Posted by Col Willis <co...@gmail.com>.
Of course!
On 28 November 2017 at 14:20, Paul Uszak <pa...@gmail.com> wrote:
> To be clear, you still want to stick with JSPWiki for the front end though?
>
> On 28 November 2017 at 13:16, Col Willis <co...@gmail.com> wrote:
>
> > Hi all,
> >
> > I have a personal JSPWiki for a few years with File-based storage
> > (jspwiki-files)
> >
> > I want to migrate this to AWS Cloud, but setup a Database back-end...
> >
> > What is the best way to Migrate data from jspwiki-files into Database?
> >
> >
> > Thanks,
> >
> > Colin
> >
>
--
Col
Re: Data Migration
Posted by Paul Uszak <pa...@gmail.com>.
To be clear, you still want to stick with JSPWiki for the front end though?
On 28 November 2017 at 13:16, Col Willis <co...@gmail.com> wrote:
> Hi all,
>
> I have a personal JSPWiki for a few years with File-based storage
> (jspwiki-files)
>
> I want to migrate this to AWS Cloud, but setup a Database back-end...
>
> What is the best way to Migrate data from jspwiki-files into Database?
>
>
> Thanks,
>
> Colin
>
Re: Data Migration
Posted by Christian Froehler <cf...@gmx.net>.
Sources found and pushed
please find them here: https://github.com/generatorr/migratePlugin
Am 29.11.17 um 10:02 schrieb Col Willis:
> Cool thanks!
>
> On 29 November 2017 at 04:22, Christian Froehler <cf...@gmx.net> wrote:
>
>> Hi,
>>
>> I have used Jürgen's "migratePlugin" to migrate JSPWiki pages from
>> JDBCProvider (mysql) to plain text files, and have enhanced it to handle
>> also attachments. The history of page edits was transfered, too, but the
>> timestamps of the edits got lost -- older versions of the pages now have
>> all the same date.
>>
>> Should be possible the other way round, from plain text to JDBCProvider.
>>
>> I hope to find the sources of the "attachment" enhancement, and will
>> publish them on github.
>>
>> Christian
>>
>> Am 28.11.17 um 18:28 schrieb Jürgen Weber:
>>
>> As for migrating, I once hacked a simple Plugin to migrate to a different
>>> provider, it might be useful as copy template..
>>>
>>> https://github.com/weberjn/migratePlugin
>>>
>>
>
Re: Data Migration
Posted by Col Willis <co...@gmail.com>.
Cool thanks!
On 29 November 2017 at 04:22, Christian Froehler <cf...@gmx.net> wrote:
> Hi,
>
> I have used Jürgen's "migratePlugin" to migrate JSPWiki pages from
> JDBCProvider (mysql) to plain text files, and have enhanced it to handle
> also attachments. The history of page edits was transfered, too, but the
> timestamps of the edits got lost -- older versions of the pages now have
> all the same date.
>
> Should be possible the other way round, from plain text to JDBCProvider.
>
> I hope to find the sources of the "attachment" enhancement, and will
> publish them on github.
>
> Christian
>
> Am 28.11.17 um 18:28 schrieb Jürgen Weber:
>
> As for migrating, I once hacked a simple Plugin to migrate to a different
>> provider, it might be useful as copy template..
>>
>> https://github.com/weberjn/migratePlugin
>>
>
>
--
Col
Re: Data Migration
Posted by Christian Froehler <cf...@gmx.net>.
Hi,
I have used Jürgen's "migratePlugin" to migrate JSPWiki pages from
JDBCProvider (mysql) to plain text files, and have enhanced it to handle
also attachments. The history of page edits was transfered, too, but the
timestamps of the edits got lost -- older versions of the pages now have
all the same date.
Should be possible the other way round, from plain text to JDBCProvider.
I hope to find the sources of the "attachment" enhancement, and will
publish them on github.
Christian
Am 28.11.17 um 18:28 schrieb Jürgen Weber:
> As for migrating, I once hacked a simple Plugin to migrate to a different
> provider, it might be useful as copy template..
>
> https://github.com/weberjn/migratePlugin
Re: Data Migration
Posted by Jürgen Weber <ju...@jwi.de>.
Col, will you port the old JDBCProvider?
Am 28.11.2017 16:56 schrieb "Col Willis" <co...@gmail.com>:
> I will look at that migratePlugin - Thanks.
>
> I thought of developing a Page Crawler using XML RPC; to re-create on the
> New Wiki.
>
> Is it possible to Download attachments/Files via the XMLRPC?
>
>
>
> On 28 November 2017 at 15:45, Jürgen Weber <ju...@jwi.de> wrote:
>
> > Well, there once was a JDBCProvider, might be fun to port it to current
> > JSPWiki ..
> >
> > License is LGPL.
> >
> > https://www.ecyrd.com/JSPWiki/wiki/JDBCProviders
> >
> > As for migrating, I once hacked a simple Plugin to migrate to a different
> > provider, it might be useful as copy template..
> >
> > https://github.com/weberjn/migratePlugin
> >
> > Jürgen
> >
> > Am 28.11.2017 14:16 schrieb "Col Willis" <co...@gmail.com>:
> >
> > > Hi all,
> > >
> > > I have a personal JSPWiki for a few years with File-based storage
> > > (jspwiki-files)
> > >
> > > I want to migrate this to AWS Cloud, but setup a Database back-end...
> > >
> > > What is the best way to Migrate data from jspwiki-files into Database?
> > >
> > >
> > > Thanks,
> > >
> > > Colin
> > >
> >
>
>
>
> --
> Col
>
Re: Data Migration
Posted by Jürgen Weber <ju...@jwi.de>.
Forgive my ignorance. The old JDBCProvider has been ported and linked
by https://jspwiki-wiki.apache.org/Wiki.jsp?page=ContributedProviders
Jürgen
Re: Data Migration
Posted by Col Willis <co...@gmail.com>.
I will look at that migratePlugin - Thanks.
I thought of developing a Page Crawler using XML RPC; to re-create on the
New Wiki.
Is it possible to Download attachments/Files via the XMLRPC?
On 28 November 2017 at 15:45, Jürgen Weber <ju...@jwi.de> wrote:
> Well, there once was a JDBCProvider, might be fun to port it to current
> JSPWiki ..
>
> License is LGPL.
>
> https://www.ecyrd.com/JSPWiki/wiki/JDBCProviders
>
> As for migrating, I once hacked a simple Plugin to migrate to a different
> provider, it might be useful as copy template..
>
> https://github.com/weberjn/migratePlugin
>
> Jürgen
>
> Am 28.11.2017 14:16 schrieb "Col Willis" <co...@gmail.com>:
>
> > Hi all,
> >
> > I have a personal JSPWiki for a few years with File-based storage
> > (jspwiki-files)
> >
> > I want to migrate this to AWS Cloud, but setup a Database back-end...
> >
> > What is the best way to Migrate data from jspwiki-files into Database?
> >
> >
> > Thanks,
> >
> > Colin
> >
>
--
Col
Re: Data Migration
Posted by Jürgen Weber <ju...@jwi.de>.
Well, there once was a JDBCProvider, might be fun to port it to current
JSPWiki ..
License is LGPL.
https://www.ecyrd.com/JSPWiki/wiki/JDBCProviders
As for migrating, I once hacked a simple Plugin to migrate to a different
provider, it might be useful as copy template..
https://github.com/weberjn/migratePlugin
Jürgen
Am 28.11.2017 14:16 schrieb "Col Willis" <co...@gmail.com>:
> Hi all,
>
> I have a personal JSPWiki for a few years with File-based storage
> (jspwiki-files)
>
> I want to migrate this to AWS Cloud, but setup a Database back-end...
>
> What is the best way to Migrate data from jspwiki-files into Database?
>
>
> Thanks,
>
> Colin
>