...
- Download the Data Repository Pack from the Parasoft Marketplace, which contains a migration utility designed for this operation.
- Extract the contents of the Parasoft_SOAVirt_Data_Repository_Migration_Pack.zip file in the Data Repository Pack you downloaded the Data Repository Pack, then extract the migration artifact appropriate for your OS to the directory of your choice.
- Open the command prompt or a terminal window.
- Run the command below. It uses an existing workspace to run a data repository server (source) that can then be used to migrate data into the new (destination) MongoDB server.
Code Block title Linux/MacOS ./run_embedded_migration.sh --data-dir <path -to -workspace> \ --username admindestination-uri mongodb://<destination-host>:<destination-port> \ --destination-uri username admin
Code Block title Windows run_embedded_migration.bat /data-dir:"<path-to-workspace>" ^ /destination-uri:"mongodb://{destination<destination-host}:{destination-port}host>:<destination-port>" ^ /destination-username:admin
- Once you have migrated from your old, embedded data repository server, you can set the new MongoDB server as your default data repository server in the Data Repository Server preferences.
Migrating a Remote Data Repository Server
When migrating from a remote Parasoft Data Repository Server, make sure both it and the new destination MongoDB Server are running. Note: To make it easier to connect existing assets to the new MongoDB Server, consider deploying it on the existing host, port, and credentials that assets are already using.
- Download the Data Repository Pack from the Parasoft Marketplace, which contains a migration utility designed for this operation.
- Extract the contents of the Parasoft_SOAVirt_Data_Repository_Migration_Pack.zip file in the Data Repository Pack you downloaded to the directory of your choice.
- Open the command prompt or a terminal window.
- Run the command below, which provides the utility with the source host and port and the destination host and port.
Code Block title Linux/MacOS ./run_embedded_migration.sh \ --source-uri mongodb://<source-host>:<source-port> \ --source-username admin \ --sourcedestination-uri mongodb://{source<destination-host}host>:{source<destination-port}port> \ --destination-username admin
Code Block title Windows run_embedded_migration.bat ^ /source-uri:"mongodb://<source-host>:<source-port>" ^ /source-username:admin ^ /destination-uri:"mongodb://{destination<destination-host}host>:{destination-port} <destination-port>" ^ /destination-username:admin