Bug#704075: drush: sql-sync is not efficient

2013-03-27 Thread Antoine Beaupré
Control: forwarded -1 https://drupal.org/node/1954608 Control: severity -1 minor On 2013-03-27, Ritesh Raj Sarraf wrote: > Please, if you could fix this. Or convey it to the upstream devs. I forwarded it upstream, but I really don't think it's that much of an issue. A. -- Never underestimate t

Bug#704075: drush: sql-sync is not efficient

2013-03-27 Thread Ritesh Raj Sarraf
On Wednesday 27 March 2013 10:24 PM, Ritesh Raj Sarraf wrote: > sql-sync has 2 options: > * Either take dumps on both the src and the target, and then rsync the > delta > * Otherwise, take mysqldump of the src and compress it before transfer Calling system(rsync -e 'ssh ' -akzv --exclude=".git" -

Bug#704075: drush: sql-sync is not efficient

2013-03-27 Thread Ritesh Raj Sarraf
Package: drush Version: 5.8-1 Severity: normal sql-sync internally calls the rsync command but that is of no use. It takes a mysqldump from the src machine but does not take a mysqldump on the target machine, which essentially means that it doesn't rsync against the current target database. This m