Loading initial data and migrating data is covered by the same script.
Migrating the User Database
-
Stop the user-service.
-
Extract the migration files for the user database. They are located in user_database_initialization.zip.
-
Transfer the migration files for the user database to the MongoDB host.
-
Migrate the data in your MongoDB installation.
cd <your path to unzipped initial data> <path to your mongo db installation>/mongo --verbose setupInitialData.js
-
Start the user-service.