Transform the data extract

Once you have extracted the data from your MSR 2.9.x system, you must transform the metadata into a format that is suitable for migration to an MSR 3.0 system.

To transform the data extract, run the following command on the target MSR 3.0.x system:

docker run \
--rm -it \
-v $HOME/.kube/config:/.kube/config \
-v <local-migration-directory>:/migration:Z \
-e KUBECONFIG='/.kube/config' \
registry.mirantis.com/msr/mmt:$MMT_VERSION \
transform metadata msr  \
--storage-mode <inplace|copy> \
/migration
Command line parameters

Parameter

Description

storage-mode

Set the registry migration storage mode.

Valid values: inplace, copy

Example output:

Writing migration summary file
Finalizing backup directory structure
Creating tar file
Cleaning transform operation artifacts from directory: "/home/<user-directory>/tmp/migrate"