Delete a migration and source

This document describes how to delete a migration and migration sources.

Delete a migration

After you validate and test the migrated workload to ensure that it is functioning correctly, you should delete the migration. Deleting the migration frees up any resources used by the migration.

migctl

To delete a completed migration, run the following command:

migctl migration delete MIGRATION_NAME

Where MIGRATION_NAME is the name of the migration.

Console

  1. In the Google Cloud console, go to the Migrate to Containers page.

    Go to Migrate to Containers

  2. Click the Migrations tab to display a table containing the available migrations.

  3. For the migration to delete, click Delete, and then select Delete migration.

Delete a migration source

After you have deleted all the migrations associated with a source, you can then delete the migration source.

migctl

To delete a migration source, run the following command:

migctl source delete SOURCE_NAME

Where SOURCE_NAME is the name of the migration source.

If you want to check the migration source status, run the following command:

migctl source status -v SOURCE_NAME

Console

  1. In the Google Cloud console, go to the Migrate to Containers page.

    Go to Migrate to Containers

  2. Click Manage sources to display the list of available sources.
  3. For the source to delete, click Delete.
  4. Confirm deletion by typing the displayed text and click Delete again.

What's next