Hello, I can give you just a feedback on export/import operations on large wiki, because I did it once.
2 remarks (that may help you or not, I'm afraid) : - for large wikis, I preferred to split my .xar in smaller xars, by space for example, editing the file containing the list of documents in each .xar (even if it didn't seem mandatory for me, at least in older versions of xwiki). It was useful because for large .xar attachments, it can become VERY painful ... - you should also check your export before importing. XWiki does not complain much on export, and almost always it will succeed. But if you unzip your .xar and have a look inside it, you might see that some pages failed to be exported, and size of files is 0Kb. To import, you need at least to delete these empty files. I didn't analyze why export failed for these pages, so I migrated what I could with .xar, and performed copy/paste for the others. These remarks are valid for wiki 0.9 migrated to 1.0, I did not test massive export/import on last versions. Jeremie -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hans-Peter Zorn Sent: lundi 29 octobre 2007 13:38 To: XWiki Users Subject: [xwiki-users] Import of Backups Hi, I am currently trying to migrate a already populated xwiki from hsqldb to mysql. The first thing I noticed is, that xwiki needs lots of heap space for attaching the backup.xar to the import page. This xar is about 20mb, the wiki is not that big, yet the tomcat process consumes about 1Gb resident memory (2Gb in total) while attaching which leads to massive swapping and slowdown. I wonder what will happen, if a wiki is really heavily populated with lots of attachements? After the xar is attached, I cannot select it, because an exception occurs: Wrapped Exception: Error number 2002 in 2: Error parsing xml Wrapped Exception: Error on line 346 of document : Character reference "" is an invalid XML character. Nested exception: Character reference "" is an invalid XML character. at com.xpn.xwiki.web.ImportAction.render(ImportAction.java:94) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:148) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestPr ocessor.java:431) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java: 236) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) Any hints about how to do the migration? Cheers, Hans-Peter _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
