Re: Migrate JSPWiki contents from mysql to flat files

2017-01-30 Thread cfr Mails 2016
Thanks for making this available, will try it!

Christian

> Am 30.01.2017 um 20:56 schrieb Jürgen Weber :
> 
> I once hacked a Plugin to migrate between Providers:
> 
> https://github.com/weberjn/migratePlugin
> 
> It works by copying each page from one provider to another.
> 
> This is hardwired for my GitFileProvider, but it should be easy to
> change for another provider.
> 
> Also you should add code for attachments.
> 
> Use at your own risk.
> 
> Cheers,
> Juergen
> 
> 
> 2017-01-30 9:15 GMT+01:00 Fröhler Christian (Ext. - UniCredit Business
> Integrated Solutions) :
>> Hello,
>> 
>> we have a JSPWiki installation; the contents are held within a Mysql database
>> (jspwiki.pageProvider = com.forthgo.jspwiki.jdbcprovider.JDBCPageProvider)
>> 
>> Now we move to another server, and there we want to store the contents in 
>> flat files.
>> 
>> Could you please advise how we can migrate the contents from Mysql DB to 
>> Flat files; including attachments?
>> 
>> Sorry if this has been asked before - couldn't find it in the mailing list 
>> archives.
>> (actually the question had been asked by someone on may 2013 but it seems 
>> there was no response)
>> 
>> thanks
>> Christian
>> 
>> 



Re: Migrate JSPWiki contents from mysql to flat files

2017-01-30 Thread Jürgen Weber
I once hacked a Plugin to migrate between Providers:

https://github.com/weberjn/migratePlugin

It works by copying each page from one provider to another.

This is hardwired for my GitFileProvider, but it should be easy to
change for another provider.

Also you should add code for attachments.

Use at your own risk.

Cheers,
Juergen


2017-01-30 9:15 GMT+01:00 Fröhler Christian (Ext. - UniCredit Business
Integrated Solutions) :
> Hello,
>
> we have a JSPWiki installation; the contents are held within a Mysql database
> (jspwiki.pageProvider = com.forthgo.jspwiki.jdbcprovider.JDBCPageProvider)
>
> Now we move to another server, and there we want to store the contents in 
> flat files.
>
> Could you please advise how we can migrate the contents from Mysql DB to Flat 
> files; including attachments?
>
> Sorry if this has been asked before - couldn't find it in the mailing list 
> archives.
> (actually the question had been asked by someone on may 2013 but it seems 
> there was no response)
>
> thanks
> Christian
>
>


Migrate JSPWiki contents from mysql to flat files

2017-01-30 Thread Ext. - UniCredit Business Integrated Solutions
Hello,

we have a JSPWiki installation; the contents are held within a Mysql database
(jspwiki.pageProvider = com.forthgo.jspwiki.jdbcprovider.JDBCPageProvider)

Now we move to another server, and there we want to store the contents in flat 
files.

Could you please advise how we can migrate the contents from Mysql DB to Flat 
files; including attachments?

Sorry if this has been asked before - couldn't find it in the mailing list 
archives.
(actually the question had been asked by someone on may 2013 but it seems there 
was no response)

thanks
Christian