nebrelbug
CCConvex Community
•Created by nebrelbug on 5/23/2025 in #support-community
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.3 replies
CCConvex Community
•Created by nebrelbug on 5/23/2025 in #support-community
Convex storage GZIP compression
Hey guys!
So, right now I'm storing a whole bunch of JSON files in my Convex storage that are all 300Kb-1Mb.
They are highly repetitive, and compression would decrease the size drastically. Any suggestions on how to do this? Should I just GZIP them before uploading in my Convex function, and then un-GZIP before returning them to the client?
2 replies