For many years, I used the ssh pipe from mysqldumpon the real server to mysqlon my development machine to get a copy of the current data.
ssh -C <server> mysqldump --opt <live_database_name> |mysql <local_dev_database_name>
Where it -Callows ssh compression and --optallows speed and completeness.
Does anyone have an equal elliptical rake task? Ideally, the database names will have config / database.yml
noodl source
share