[dev] migrating 'wicked' content from one installation to another

Michael J Rubinsky mrubinsk at horde.org
Wed Jun 24 18:38:12 UTC 2015


Quoting Sebastian Birnbach <birnbacs at gmail.com>:

> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5869 bytes
Desc: S/MIME Signature
URL: <http://lists.horde.org/archives/dev/attachments/20150624/d10517b2/attachment.bin>


More information about the dev mailing list