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
importcommand.oci cloud-migrations migration-plan import --import-migration-plan-details filename.csv --migration-plan-id migration_plan_ID [OPTIONS]The required parameters for theimportcommand 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 -hTo get help for the
importcommand, run:oci cloud-migrations migration-plan import -hTo export a migration plan to a CSV file, use the
exportcommand.oci cloud-migrations migration-plan export --file filename.csv --migration-plan-id migration_plan_ID [OPTIONS]The required parameters for theexportcommand 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
exportcommand, run:oci cloud-migrations migration-plan export -hFor a complete list of flags and variable options for CLI commands, see the CLI Command Reference.
To import a migration plan, use the
ImportMigrationPlanoperation.To export a migration plan to a CSV file, use the
ExportMigrationPlanoperation.