Run with Docker

Prerequisites

  • You need to have access to the Data Migrator S3 bucket. (Follow this link for more information)
  • You need to have Docker installed in your environment.

Build the docker image

  • Download the latest version of the Data migrator using the command aws s3 cp --recursive s3://toolbox-data-migrator/latest LOCAL_PATH
  • Unpack the Linux edition of archive (BluageVelocityDataMigrator-linux-xxxxxxxxxxxxxx.zip) present in LOCAL_PATH
  • Move to the unzipped archive folder
  • Run the following commands to prepare the docker image:

     Windows

    xcopy lib .\data-migrator\lib\ /E /I
    copy BluageVelocityDataMigrator.jar .\data-migrator
    copy eula_velocity_february_2020.txt .\data-migrator

    Linux/Mac

    mkdir data-migrator
    cp -r lib ./data-migrator/lib
    cp BluageVelocityDataMigrator.jar ./data-migrator
    cp eula_velocity_february_2020.txt ./data-migrator
  • Run the command to build the Docker image:

    docker build -t data-migrator .

How to launch it

To launch the steps migration with docker image, open your favorite shell and type:

docker run --rm -v [migrationProjectPath]:/home data-migrator -root /home -configurationIni [configurationFilePath];[stepsConfigurationFilePath]

Parameters

  • migrationProjectPath: absolute path to your migration project
  • configurationFilePath: relative path to your migration configuration file
  • stepsConfigurationFilePath: relative path to your migration steps configuration file