Re: migrating 'wicked' content from one installation to another

Michael J Rubinsky <[email protected]>
Newsgroups gmane.comp.horde.devel
Message-ID <20150624143813.Horde.RZYfJ73VYv24YeZQAfk8SAN@h4.theupstairsroom.com>
Quoting Sebastian Birnbach <[email protected]>:

> Dear all,
>
> what is the recommended way of migrating wiki pages in the 'wicked'
> application from one host to another? Both sites run the same version of
> wicked so it might be done by exporting the SQL tables
>
> wicked_pages
> wicked_history
> wicked_attachments
> wicked_attachment_history and
> wicked_schema_info
>
> on the one side and incecting them on the other side. I am hesitating to do
> that, though, because the users on both systems may not match.
>
> Of course there is always the possibility of copy-pasting the source code
> of each page from one system to the other but that would be rather tedious
> on a larger system and the history and the attachments would be lost.


You will probably need to write a script to migrate the data, mapping  
any different/missing users. You will also need migrate the VFS data  
too, since this is where the attachments are stored. There is a  
bare-bones CLI script in wicked/bin that outputs the page contents to  
XML but unfortunately nothing to import into a new install. Perhaps  
you can extend that script...

-- 
mike
The Horde Project
http://www.horde.org
https://www.facebook.com/hordeproject
https://www.twitter.com/hordeproject

-- 
dev mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: [email protected]
smime.p7s (application/pkcs7-signature, 5.7 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.