Excluding a Target Asset from Migration

Exclude a target asset from your current migration plan.

    1. Open the navigation menu  and select Migration & Disaster Recovery. Under Cloud Migrations, select Migrations.
    2. On the Migrations projects list page, select the active migration project for which you want to exclude the migration asset.
    3. On the migration project details page, select Migration plans.
    4. Select the active migration plan that has the asset you want to exclude.
    5. On the migration plan details page, select Target assets.
    6. Select the target asset you want to exclude from migration.
    7. On the target asset details page, select the Actions menu and then select Exclude from migration.
    8. In the Exclude from migration dialog box, select Submit.
  • To exclude a target asset from your current migration plan, use the update command with the required parameters and --is-excluded-from-execution set to true.

    oci cloud-migrations target-asset update --target-asset-id target_asset_ID --type target_asset_type --is-excluded-from-execution true [OPTIONS]

    The required parameters for the update command are:

    --target-asset-id: Specifies the OCID of the required target asset.

    --type: Specifies the type of the required target asset.

    To get all the commands for target-asset, run:

    oci cloud-migrations target-asset -h

    To get help for the update command, run:

    oci cloud-migrations target-asset update -h
    For a complete list of flags and variable options for CLI commands, see the CLI Command Reference.
  • To exclude a target asset from your current migration plan, use the UpdateTargetAsset option.