Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

uPortal now has an export/import system using xml files generated by Cernunnos export scripts.  Basically, you will run an export command on your existing portal project to generate a number of xml data files.  You then run import in your uPortal3 project to import the data from these xml files into your uPortal3 database.  Take a look at the Cernunnos overview to get a better understanding of this process.  After that, move on to reading about Exporting and Importing.

TIP: Never export/import a database with portals actively connected to it.  Don't assume edits to a database will persist or take affect if portals are connected to it.  The portal does some advanced caching and may overwrite your change when it shuts down or never see a new change because it's using a cached copy of the row.

These scripts still have a few bugs.  Familiarize yourself with the known export/import bugs in JIRA and post any new bugs you find.

Default Database

The default database is populated by the db-import task in build.xml. This task is called by ant initdb, which in turn is called by ant initportal.  The db-import task actually uses crn-import to create the database:

...