Hello,
We are migrating an older xwiki (1.4.2 - with several wikis and users)
from another organization to an empty instance of the latest stable
xwiki (1.7.2) on our server. I've never used xwiki before - I've been
looking around and have seen upgrading information, but since there
was a database change in 1.5, I wanted to be sure we were going about
it the right way.
A. Testing the migration
I'm hoping to be able to test this migration. If I receive a test XAR
from the original wiki and import it into the new wiki, how should I
import the real XAR afterwards? Do I need to delete everything that
was imported and *then* import the 'real' XAR? Or can I just import
the real XAR *over* the test XAR?
B. Actual migration
What I believe we need to do is:
* Import the entire default XAR for 1.7.2 to capture latest features
(* Import the test XAR file and make sure it's working as expected -
then delete)
* Import the XAR file of the older wiki in full.
Is there anything else we need to do? I've seen other instructions,
but they seem geared towards upgrading an existing wiki (we won't have
any pre-existing information other than the admin account). But here
are the notes from the 1.5 release notes:
* If you're running in a multiwiki setup you'll also need to define
the property xwiki.store.migration.databases=all to your xwiki.cfg
file or explicitely name all databases to be migrated as in
xwiki.store.migration.databases=db1,db2,....
* Always make sure you compare your xwiki.cfg file with the newest
version since some configuration parameters were added. Of note, you
should add xwiki.store.migration=1 so that XWiki will attempt to
automatically migrate your current database to the new schema. Make
sure you backup your Database before doing anything.
Both wiki instances are running on Centos/Apache/Tomcat/MySQL.
Thanks for any help/tips,
Cristina
Show replies by date