wiki:1.2to2.0MigrationInstructions

Version 2 (modified by tomfukushima, 17 years ago) ( diff )

--

Migrate the repository

The repository needs to be migrated because of the Oracle Berkeley DB XML upgrade.

Here are the steps on how to migrate your data from MGOS 1.2 to MGOS 2.0 (note that these steps could take a long time if you have large repositories):

  1. Shut down the existing MG Server (MGOS 1.2) if it is running.
  1. Change to the RepositoryAdmin directory (e.g. "C:\Program Files\MapGuideOpenSource\Server\RepositoryAdmin" or "/usr/local/mapguide/server/RepositoryAdmin").
  1. Run BackUpOnlineRepositories.bat (or BackUpOnlineRepositories.sh for Linux).
  1. Run RestoreRepositories.bat (or RestoreRepositories.sh for Linux).
  1. Uninstall MGOS 1.2. Note that the existing repositories will not get removed.
  1. Install the new MGOS 2.0 Server. Note that the Server will fail to start if it tries to open old repositories.
  1. Change to the RepositoryAdmin directory (e.g. "C:\Program Files\MapGuideOpenSource\Server\RepositoryAdmin" or "/usr/local/mapguide/server/RepositoryAdmin", etc.).
  1. Run UpgradeRepositories.bat (or UpgradeRepositories.sh for Linux).
  1. Run SetupRepositoryIndices.bat (or SetupRepositoryIndices.sh for Linux).
Note: See TracWiki for help on using the wiki.