Skip to main content

Load data into Comet

This guide shows how to load exported data into Comet.

Before you start

  • Export your data from Neptune using the Neptune Exporter tool. Start from the migration overview.
  • Get your Comet credentials:
    • Comet workspace. You can set it with the environment variable COMET_WORKSPACE or in the command line with --comet-workspace.
    • Comet API key. You can set it with the environment variable COMET_API_KEY or in the command line with --comet-api-key.

Validate your export

Before loading the data into Comet, inspect what was exported:

uv run neptune-exporter summary --data-path ./exports/data

This command returns the number of exported projects or runs, attribute types, and the basic step statistics.

Load the data into Comet

The following command loads the data into Comet, using the default data and file paths:

uv run neptune-exporter load \
--loader comet \
--comet-workspace my-workspace \
--comet-api-key "$COMET_API_KEY" \
--data-path ./exports/data \
--files-path ./exports/files
info

For detailed instructions, see the Neptune Exporter README file on GitHub.