Skip to main content
The migration plugin is an experimental feature. Updates to the Cognite Toolkit are likely to introduce changes to the described commands and processes.
Migrating from an asset-centric to a data modeling-based CDF project is a significant change. Try the migration process in a development CDF project before running it in production. To do this, take a snapshot of the data and configuration in your production CDF project and restore it to a development CDF project. You can use the Cognite Toolkit data plugin for this. It is designed such that when you download data, you can use the same format to upload it again. The download will also include any configurations that you need, for example, if you download assets or events, the download will include data set and label resource configuration YAML files. These can then be deployed as part of the upload process (by using the --deploy-resources flag).

Replicate production data

To replicate production data to a development CDF project:
1

Get read access to production

You need read access to the data and configurations you will copy from the production CDF project.
2

Download production data

See Download data for supported data types. Download into a local folder, for example data. This can include assets, events, time series (with datapoints), files (with file content), Charts, Canvas, and 3D models.Store production credentials in a .env file and pass it with --env-path. For example, to download an asset hierarchy:
After the download completes, you will have a folder structure like this:
3

Upload the data to the development project

Store development credentials in another .env file, for example dev.env. Upload the local data folder:
With --deploy-resources, the Cognite Toolkit first deploys any configurations in the resources/ folder, then uploads the data.
4

Verify the copy

Confirm that the expected assets, events, files, time series, and application configurations exist in the development project before you run a migration command.
With production data now available in your development CDF project, you can safely test the migration process.

Further reading

Last modified on August 21, 2026