Exporting and Importing Migration Plans
Modify target assets in bulk using a CSV file.
To import a migration plan from a CSV file, use the
import
command.oci cloud-migrations migration-plan import --import-migration-plan-details filename.csv --migration-plan-id migration_plan_ID [OPTIONS]
The required parameters for theimport
command are:--import-migration-plan-details
: Specifies the CSV file that you can upload.--migration-id
: Specifies the unique OCID of the migration plan.
To get all the commands for
migration-plan
, run:oci cloud-migrations migration-plan -h
To get help for the
import
command, run:oci cloud-migrations migration-plan import -h
To export a migration plan to a CSV file, use the
export
command.oci cloud-migrations migration-plan export --file filename.csv --migration-plan-id migration_plan_ID [OPTIONS]
The required parameters for theexport
command are:--file
: Specifies the name of the CSV file that should have information about the migration plan. Specify '-' to write to STDOUT.--migration-id
: Specifies the unique OCID of the migration plan.
To get help for the
export
command, run:oci cloud-migrations migration-plan export -h
For a complete list of flags and variable options for CLI commands, see the CLI Command Reference.
To import a migration plan, use the
ImportMigrationPlan
operation.To export a migration plan to a CSV file, use the
ExportMigrationPlan
operation.