DylanDev
DylanDev2mo ago

npx convex deploy does not send my dev data including files to production

Why does running npx convex deploy not send over my tables from my dev instance and files to the production instance?
3 Replies
Convex Bot
Convex Bot2mo ago
Thanks for posting in <#1088161997662724167>. Reminder: If you have a Convex Pro account, use the Convex Dashboard to file support tickets. - Provide context: What are you trying to achieve, what is the end-user interaction, what are you seeing? (full error message, command output, etc.) - Use search.convex.dev to search Docs, Stack, and Discord all at once. - Additionally, you can post your questions in the Convex Community's <#1228095053885476985> channel to receive a response from AI. - Avoid tagging staff unless specifically instructed. Thank you!
ian
ian2mo ago
They are separate deployments - this allows you to iterate and develop and change your data in dev without then blowing away data in prod when you deploy. If you want a one-time data transfer, you can do npx convex export from dev and npx convex import --prod with that same data
DylanDev
DylanDevOP2mo ago
Awesome thank you!