JoachimChauvetJ
Convex Community2mo ago
1 reply
JoachimChauvet

Seeding preview deployment with fresh data

Advice🎁Feature Request
Hey guys,

I know we can seed preview deployment with a function but I was wondering if someone found a clean way to import a backup from a previous deployment.
This is especially useful when we have multiple people testing the app or doing QA so that they "resume" where they left off.

The best I thought about would be to create a ghost team member in Convex and use its dev deployment from our github dev/staging environment (linked to our dev branch).
Then each time we open a PR with a preview deployment, seed it with a dump from that deployment.
But this feels quite of a dirty hack...

Any suggestions?
Was this page helpful?