Skip to content
Discussion options

You must be logged in to vote

I don't understand the question. Migrations API is used to migrate changes of your database schema (on one and the same server) and not moving data from one server to another. So the flow will be you do local improvements (developments), you reflect your DB changes as migration scripts, you deploy your new code to the staging server (with your favorite deploy method) and in the end you execute node app apostrophe-migrations:migrate on your staging server.

If I understand your problem correctly, you need initial dump from your local DB and initial restore on your staging DB which are described in details in the MongoDB documentation

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@sumithra16
Comment options

Answer selected by abea
Comment options

You must be logged in to vote
1 reply
@sumithra16
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants