--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 After the download completes, you will have a folder structure like this:
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:3
Upload the data to the development project
Store development credentials in another With
.env file, for example dev.env. Upload the local data folder:--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.