djbalinD
Convex Community13mo ago
3 replies
djbalin

[Backup & restore]: Force overwrite

Would it be possible to add this to the web interface restore? Maybe this could be made an option only for dev environments to avoid doing something nasty.
We back up our prod deployment, and sometimes I would like to overwrite my dev deployment with such a backup, but must manually clear all tables first to avoid this error:

Hit an error while importing: _id p1703ysnrnkv5skgsshk2zaa0h76ch4j cannot be imported into 'subscription' because it came from a different deployment and conflict with preexisting tables in this deployment. Try deleting preexisting tables or importing into an empty deployment.
Was this page helpful?