Hi, Jan, If you have relatively small amount of data - standard export-import is the best solution, IMHO. If DB is huge - try one of the extensions for this http://extensions.xwiki.org/xwiki/bin/view/ExtensionCode/ExtensionSearch?spa... As far as I understand XWiki, direct DB manipulations may bring inconsistency and data loss, so better use standard means to keep data safe. hibernate.cfg.xml is not the only place to change DB name: there are xwiki.cfg parameters also. But be sure, that some application may stop working in this case. E.g. as far as I definitly know: problems were found with DB prefix XWIKI-8672 and some Admin Tools. So, better use standard name for the DB, or check everything and tell us if any problem found :-) Probably, renaming sub-wiki DB to 'xwiki' will help. But I'm not sure. Never tried this. I just wonder: WHY XEM -> XE migration is necessary? From user point of view, subwiki is completely independent wiki and (almost) has no differences form XE. Moreover, XEM is much more flexible in building infrastracture, even with a small amount of data. As the example: it was one wiki with all customers, projects and internal information inside divided by spaces. It was quite difficult to manage this, especially access rights for some business processes logic. Everything was moved to XEM. Now there are 30+ subwikis (two of them are public wikis), 100+ users on board and no problems for further growth :-) As for me, I'm nearly always prefer XEM. It is especially useful for all kind of experiments :-) Пятница, 18 января 2013, 11:06 -08:00 от Jan-Philip Loos <[email protected]>:
Currently i wonder if it's possible to convert a XEM Wiki Farm to a simple XE instance and select one of the subwikis as the new base for the instance?
My naive try wasn't successful: Set db.virtual = 1, change db name in hibernate.cfg.xml to one of the subwikis.
Currenty I'm thinking about the long migration way. Export all needed Spaces and Documents from the target subwiki and disable the virtual mode. Then drop all tables in the main database and start with a new fresh instance to import the packaged pages.
First way will be fast, last a bit painful and error-prone.
Greetings
Jan
-- View this message in context: http://xwiki.475771.n2.nabble.com/Converting-XEM-to-XE-with-specific-subwiki... Sent from the XWiki- Users mailing list archive at Nabble.com. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
Kind regards, Dmitry