Execute image migration. This step is run after a successful migration
prepare step and copies image data to the destination.
-:command:`migration prepare` [--order *order*] [--object-size *object-size*] [--image-feature *image-feature*] [--image-shared] [--stripe-unit *stripe-unit*] [--stripe-count *stripe-count*] [--data-pool *data-pool*] *src-image-spec* [*dest-image-spec*]
+:command:`migration prepare` [--order *order*] [--object-size *object-size*] [--image-feature *image-feature*] [--image-shared] [--stripe-unit *stripe-unit*] [--stripe-count *stripe-count*] [--data-pool *data-pool*] [--import-only] [--source-spec *json*] [--source-spec-path *path*] *src-image-spec* [*dest-image-spec*]
Prepare image migration. This is the first step when migrating an
image, i.e. changing the image location, format or other
parameters that can't be changed dynamically. The destination can
destination image, and the image is accessible in copy-on-write mode
by its destination spec.
+ An image can also be migrated from a read-only import source by adding the
+ *--import-only* optional and providing a JSON-encoded *--source-spec* or a
+ path to a JSON-encoded source-spec file using the *--source-spec-path*
+ optionals.
+
:command:`mirror image demote` *image-spec*
Demote a primary image to non-primary for RBD mirroring.