« first day (2352 days earlier)      last day (2581 days later) » 

8:12 AM
Hey guys, I need some ideas about how to sync databases on various vagrant instances. For example I have same project on my laptop & desktop.

1. I can sync file with dropbox.
2. Env are same because I am using same vagrant box.
3. But now what I need is to sync database changes I make on one machine to another.
 
8:46 AM
no idea about vagrant, for me just stopping MySQL and syncing data folder to my notebook works reasonably well
 
9:44 AM
@Sisir wp db export; (wp search-replace;) wp db import
 
 
7 hours later…
5:04 PM
I would make a shell script. Run it on a cron or manually. Stop sql service, dump database, SCP, stop sql service, drop, import, restart both sql services, exit
 

« first day (2352 days earlier)      last day (2581 days later) »