I'm running the following command to backup a mysql database from a remote machine:
ssh firstname.lastname@example.org 'mysqldump mainserver' | gzip -c > mainserver.sql.gz
I've timed the command and it seems to take about 2.5 to 3 minutes. It seems to work with no issues.
The issue, though, is all other network traffic on the remote server seems to be interrupted.
The remote server has "comet"-like http connections (connections that remain open for an extended period) and those connections seem to stop. There are also other TCP connections that are maintained open that seem to disconnect at exactly the point where the above ssh command finishes. (at least the log messages appear when the ssh command stops, but I suspect that no data is being transferred earlier than that).