N
Novu13mo ago
Sier

How to migrate workflow data from uat-novu to prod-novu?

Hey guys! My project has been in development phase, so novu is also deployed in uat environment. Now the project is about to be released to production environment, so novu needs to be redeployed to production environment too. But I don't know how to migrate the workflows data from uat-novu to prod-novu, can anyone help me?
1 Reply
dmgarland
dmgarland13mo ago
You could try using mongodump and mongorestore for the notificationtemplates collection. You'd need to update the environment and organisation keys to match your production instance, so it's quite fiddly. We have a situation where our dev instance is quite out of sync with production, but in practice that's proving OK because for dev purposes we have very short digests (rather than waiting hours or days for a notification) and might not have all channels enabled.
Want results from more Discord servers?
Add your server