Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space FUNCTDEV and version SVC2026.2

...

  1. Download the Data Repository Pack from the Parasoft Marketplace, which contains a migration utility designed for this operation.
  2. 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.
  3. Open the command prompt or a terminal window.
  4. 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
    titleLinux/MacOS
    ./run_embedded_migration.sh --data-dir <path -to -workspace> \
      --username admindestination-uri mongodb://<destination-host>:<destination-port> \
      --destination-uri username admin

    Code Block
    titleWindows
    run_embedded_migration.bat /data-dir:"<path-to-workspace>" ^
      /destination-uri:"mongodb://{destination<destination-host}:{destination-port}host>:<destination-port>" ^
      /destination-username:admin
  5. 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.

  1. Download the Data Repository Pack from the Parasoft Marketplace, which contains a migration utility designed for this operation.
  2. 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.
  3. Open the command prompt or a terminal window.
  4. Run the command below, which provides the utility with the source host and port and the destination host and port.

    Code Block
    titleLinux/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
    titleWindows
    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