Perform Migration¶
To migrate images, repositories, and tags from an MSR 2.9 or MSR 3.1
environment to MSR 4.x, you can either run the migration as a single
comprehensive operation, which is the recommended path, or break it into
specific steps if needed.
The migration tool supports both full and partial migrations, with detailed
options described in the --help
flag and active configuration in
the --config
flag.
To migrate all data in one step, run:
docker run \
-v ./sql:/app/data/sql \
-v ./csv:/app/data/csv \
-v ./config:/app/config \
--network host \
registry.mirantis.com/msrh/migrate:latest poetry run migration --all
To perform the migration in individual steps:
To view all available options for partial migrations use the --help
flag
with the migration tool.