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 page, select the active migration project for which you want to exclude the migration asset.
    3. On the Migration project details page, in the Migration plans section, select the active migration plan that has the asset you want to exclude.
    4. On the Migration plan details page, under Resources, click Target assets.
    5. In the Target Assets section, click the target asset you want to exclude from migration.
    6. On the Migration target asset details page, click Exclude from migration.
    7. In the Exclude from migration dialog box, click 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.