Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

uPortal 3.0 comes with the Cernunnos based import/export scripts. Theses are used when the database needs to be upgraded between versions.

The following steps are used to export upgrade and import:

  • From the uPortal 3.0.0-RC2 directory
    1. Download export-channel.crn and copy it to uPortal-3.0.0-RC2/uportal-impl/src/main/resources/org/jasig/portal/io/
    2. mkdir myData
    3. ant crn-export -Ddir=myData -Dtype=all
    4. ant crn-make-data-xml
  • Perform the uPortal source upgrade, merge any local modifications with the new version
  • Copy the exported data:
    1. Replace uportal-impl/src/main/resource/properties/db/data.xml with the data.xml file produced by crn-make-data-xml
    2. Remove all files in uportal-impl/src/main/resource/properties/db/entities and place all the files in myData in this directory
    3. ant initportal
  • No labels