Sunday, 8 September 2013

Recommended workflow to sync database

Recommended workflow to sync database

I have just started using git in my deployment workflow. It is working
perfectly so far.
I would like to know if there is a particular way to sync database from my
local environment to the production environment.
What I have been doing up till now is, checking the directory and if it
matches /Users/home for e.g, to use the local db. Else, use the db on
production server.
I would then sync the db manually by exporting it from my local
environment to the development environment.
Is there a better way to do this?

No comments:

Post a Comment