JulesJ
Convex Community6mo ago
8 replies
Jules

Exporting component-specific data from production to development

Hi, right now I am using ConvexHttpClient to query specific documents from production and subsequently use npx convex import to import them into my development deployment.

I would also like to copy over specific documents like this for data stored inside non-app components. Is it possible to do this right now? I do see that npx convex import has an option to specify a --component path, but I don't know if it's possible to programmatically query specific documents from a non-app component.

I know it's possible to export all data using npx convex export, but I'd like to only export specific documents since exporting the full production database can take a long time.
Was this page helpful?