Skip to main content

Steps required to execute a migration.

In this document, the steps required to execute the Data migration is explained.

  1. Create a migration instance

A migration instance holds and controls the data flow.

Migration instances are the starting point for any migration. After this instance is created, data can be attached to it and pushed to the supported domains.

The above API command returns the migration instance Id to be used by the rest of the commands.

  1. Get Migration Artifacts List

This method gets the artefacts/files that have been uploaded and attached to the created data migration.

  1. Get the Artefact File

This method gets the content for a specified artefact. These files may be downloaded and have the content of the migration input for them to be added at the next stage

A schema file will also be returned with this request. This is useful. It lists all the characteristics of the policy components. This can be cross-referenced for potential conflicts with the data being migrated.

  1. Populate these source CSV files with the data to be migrated

Input the migration data into the source files that are downloaded. Care should be taken not to add new columns or make modifications to the prescribed schema.

  1. Add Files

This method adds the information about an artifact to an existing data migration which has been pre-created via the create migration method.

The method returns the signed URL to upload the file directly in the S3 bucket.

Files added should be based on the templates retrieved from the ‘Get Migration Artifacts’ step above.

  1. Start a Migration

Starts a migration. It requires that the files have been already added to the migration using /add-file and that the migration instance has finished running preparation tasks.

Returns the migration instance Id to be used by the rest of the commands.

  1. Check Migration Status

This method gets the metadata information around a created migration including data around each stage and task like it’s status.

  1. Investigate failed migration

If there are issues with a migration job, an error file may be retrieved to

This method returns an error file for a specified data migration containing information on the failed records.

This method returns a signed URL pointing to the error file if it was generated.

Did this answer your question?