Tralandia / tralandia

searchbarcontrol
0 stars 0 forks source link

DB sync script #1431

Open achtan opened 11 years ago

achtan commented 11 years ago

sprav nejaky bin subor s tym prikazom co aktualizuje db na locale podla produkcie

tothradoslav commented 11 years ago

/usr/bin/mysqldump -h 109.74.151.59 -u tralandia -986269962525 tralandia | /usr/bin/mysql -h 127.0.0.1 -u root -root tralandia

ten subor neviem ako mam spravit, resp ako si to myslel?

achtan commented 11 years ago

a toto aj fungovalo? si vravel ze to to neslo...

tothradoslav commented 11 years ago
achtan commented 11 years ago

nie treba to automatizovat...

tothradoslav commented 11 years ago

brano, vies nam poradit ako? proste musim vediet spustit nejaky skript, ktory stiahne a nahodi produkcnu DB na localhost na nasich NB. MOzno budeme potrebovat vediet urcite tabulky, aby sa netahali zbytocnosti.