Loading initial data and migrating data is covered by the same script.

Migrating the User Database

Please stop the user-service before migrating the data. Since the user-service caches the data on start-up, it would still rely on old data otherwise.

  1. Extract the migration files for the user database. They are located in user_database_initialization.zip.
  2. Transfer the migration files for the user database to the MongoDB host.
  3. Migrate the data in your MongoDB installation.

    mongo --verbose <path-to-initial-data>/setupInitialData.js