Use the discovery client in a disconnected environment
Stay organized with collections
Save and categorize content based on your preferences.
This page explains how to export asset data from a disconnected environment
using the discovery client, and how to import it to
Migration Center. This feature is particularly
useful when direct network connectivity between your discovery client instance
and Migration Center is not possible due to security policies, network
constraints, or other reasons. This method lets you collect asset data offline,
and then transfer it to Migration Center for analysis and planning.
Limitations
You can run only a single export at a time.
The number of existing exports is limited to 3 to avoid unintentionally
consuming excessive disk space with old reports.
In case of a crash, reports that were still running don't resume nor
restart, and will be marked as failed. You need to manually delete the
reports.
Export asset data from the discovery client
You can export the complete data about your assets from the
discovery client.
Both the mcdc CLI and the discovery client
use the same export format.
Export using the mcdc CLI
To export asset data using the mcdc CLI, use the
mcdc export command.
The following are examples of common usage:
The command creates a zip file in the working directory.
Export using the discovery client installed mode
Follow these steps to create an export report using the discovery client
in installed mode:
In the discovery client, go to Exports, then click
New exports.
In the pane that appears, enter a name for the export, then select
Export full MCDC data.
To confirm, click Export data.
In the Exports page, you can track the progress of your export with
the progress bar under the Completion column. When finished, click Go
to export to view the details about your export.
In the dialog that appears, copy the path to the directory where the
generated export file was created, and open it using your file explorer to
access the outputs.
Cancel an in-progress export
Depending on the number of exported assets, the report creation might take
several hours. If you need to cancel an in-progress export, you must delete the
report from the discovery client.
In the discovery client, do the following:
In the discovery client, go to the Exports tab.
From the list of reports, select the in-progress report that you want to
cancel, then click Delete.
Content of the output file
The discovery client exports the asset data in a zip file. Each zip file
contains at least two JSON files:
metadata.json: contains metadata information about the export,
such as the API version used and the timestamp of the export.
data.<n>.json: contains the actual asset data in a human-readable
format. Depending on the amount of exported data, the discovery client
creates multiple files.
The JSON file contains an array of
AssetFrame
objects.
[{object(AssetFrame)}]
Import data into Migration Center
After you have exported the asset data from the discovery client, you
can copy the zip file to a machine with access to Migration Center and
manually import it:
Click Select files to upload and select the zip file to upload.
To start the upload process, click Upload files.
You're redirected to the import job page. When the validation of the
file is complete, click Import data, then Confirm. The status of
the import will update automatically to Completed when the import
successfully completes.
To view the imported assets, go to the Assets page.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-29 UTC."],[],[],null,["# Use the discovery client in a disconnected environment\n\nThis page explains how to export asset data from a disconnected environment\nusing the discovery client, and how to import it to\nMigration Center. This feature is particularly\nuseful when direct network connectivity between your discovery client instance\nand Migration Center is not possible due to security policies, network\nconstraints, or other reasons. This method lets you collect asset data offline,\nand then transfer it to Migration Center for analysis and planning.\n\nLimitations\n-----------\n\n- You can run only a single export at a time.\n- The number of existing exports is limited to 3 to avoid unintentionally consuming excessive disk space with old reports.\n- In case of a crash, reports that were still running don't resume nor restart, and will be marked as failed. You need to manually delete the reports.\n\nExport asset data from the discovery client\n-------------------------------------------\n\nYou can export the complete data about your assets from the\ndiscovery client.\nBoth the `mcdc` CLI and the discovery client\nuse the same export format.\n\n### Export using the `mcdc` CLI\n\nTo export asset data using the `mcdc` CLI, use the\n`mcdc export` command.\nThe following are examples of common usage:\n\n- **Export all collected data:**\n\n\n ### Linux\n\n \u003cbr /\u003e\n\n ```\n ./mcdc export mc-frames-zip\n ```\n\n \u003cbr /\u003e\n\n ### Windows\n\n \u003cbr /\u003e\n\n ```\n mcdc.exe export mc-frames-zip\n ```\n\n \u003cbr /\u003e\n\n \u003cbr /\u003e\n\nThe command creates a zip file in the working directory.\n\n### Export using the discovery client installed mode\n\nFollow these steps to create an export report using the discovery client\nin installed mode:\n\n1. In the discovery client, go to **Exports** , then click **New exports**.\n2. In the pane that appears, enter a name for the export, then select **Export full MCDC data**.\n3. To confirm, click **Export data**.\n4. In the **Exports** page, you can track the progress of your export with the progress bar under the **Completion** column. When finished, click **Go\n to export** to view the details about your export.\n5. In the dialog that appears, copy the path to the directory where the generated export file was created, and open it using your file explorer to access the outputs.\n\n### Cancel an in-progress export\n\nDepending on the number of exported assets, the report creation might take\nseveral hours. If you need to cancel an in-progress export, you must delete the\nreport from the discovery client.\n\nIn the discovery client, do the following:\n\n1. In the discovery client, go to the **Exports** tab.\n2. From the list of reports, select the in-progress report that you want to cancel, then click **Delete**.\n\n### Content of the output file\n\nThe discovery client exports the asset data in a zip file. Each zip file\ncontains at least two JSON files:\n\n- `metadata.json`: contains metadata information about the export, such as the API version used and the timestamp of the export.\n- `data.\u003cn\u003e.json`: contains the actual asset data in a human-readable format. Depending on the amount of exported data, the discovery client creates multiple files.\n\nThe JSON file contains an array of\n[AssetFrame](/migration-center/docs/reference/rest/v1alpha1/projects.locations.sources.errorFrames#AssetFrame)\nobjects. \n\n [\n {\n object(AssetFrame)\n }\n ]\n\nImport data into Migration Center\n---------------------------------\n\nAfter you have exported the asset data from the discovery client, you\ncan copy the zip file to a machine with access to Migration Center and\nmanually import it:\n\n1. In Migration Center, go to **Data import**.\n\n [Go to Data import](https://console.cloud.google.com/migration/discovery/dataImport)\n2. Click **Add data \\\u003e Import files**.\n\n3. On the upload page, do the following:\n\n 1. Enter a name for the file import job.\n 2. From the **File format** list, select **MCDC (ZIP)**.\n 3. Click **Select files to upload** and select the zip file to upload.\n4. To start the upload process, click **Upload files**.\n\n5. You're redirected to the import job page. When the validation of the\n file is complete, click **Import data** , then **Confirm** . The status of\n the import will update automatically to **Completed** when the import\n successfully completes.\n\n6. To view the imported assets, go to the **Assets** page.\n\nWhat's next\n-----------\n\n- Learn how to [run an offline assessment](/migration-center/docs/run-offline-assessment)."]]