metiuzucc
metiuzucc3w ago

Import storage files from dev to prod with same IDs

Hi everyone, is there the possibility to take all my storage files in a dev deployment and import them to prod with the same IDs? I have already imported all my tables, but I can't find a way to match the storage IDs. I can re-upload the files to prod, but they will get different IDs, right?
3 Replies
Convex Bot
Convex Bot3w 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!
erquhart
erquhart3w ago
If you export a backup through the dashboard it'll include all table data and storage as well. All ids remain the same. You can then import that backup to prod. https://docs.convex.dev/database/backup-restore
Backup & Restore | Convex Developer Hub
Backup and restore your Convex data and files
metiuzucc
metiuzuccOP3w ago
Done and it works perfectly! Thanks

Did you find this page helpful?