bgubB
Convex Community10mo ago
3 replies
bgub

How can I import only specific tables and their associated storage files from a Convex backup ZIP?

Hi Convex team!

I have a backup ZIP from my dev deployment and I’d like to import only specific tables and their associated files (from storage) into my prod deployment. I see that importing individual tables via npx convex import --table ... doesn’t handle storage files, and the docs mention that manual changes to the ZIP for partial imports are possible but undocumented.

Could you advise on the best way to import just certain tables and their related storage files, or help me with the process? Thanks!

P.S. the reason I'm doing it this way is so that I can make updates to DB content that's shared across all users on dev first, then push those changes to production once I have things perfected. But I don't want to overwrite user data. I tried uploading using the CLI & backup, but it didn't support just uploading the
_storage
table.
Was this page helpful?