Restore the data extract

To restore a transformed data extract into an MSR 3.0.x environment, 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' \
--mount source=<MSR-3.x-persistent-volume-name>,target=/storage \
registry.mirantis.com/msr/mmt:$MMT_VERSION \
restore msr /migration
--storage-mode <inplace|copy>

Example output:

Successfully restored metadata from:
"/home/<user-directory>/tmp/migrate/msr-backup-<MSR-version>-mmt.tar"