Sunday, October 30, 2011

Copy from cloud (big file)

copy a very huge file from 1 location to other location. In my case I wanted to copy a very big DB from Cloud (amazon) to my production side.

the CL :

nohup mysql -uroot -pyourpassworddatabase --default-character-set=utf8 < a.sql > dump.log 2 > error.log &