That has only one minor advantage compared to:<p><pre><code>  mysqldump -u mysql db | ssh user@rsync.net &quot;cat &gt; db_dump&quot;
</code></pre>
Namely, the syntax is one character shorter. (But only because I used whitespace around &gt;).<p>With dd, you can control the transfer units (the size of the read and write system calls which are performed) whereas cat chooses its own buffering. However, this doesn&#x27;t matter on regular files and block devices. The transfer sizes only matter on raw devices where the block size must be observed. E.g. traditional tape devices on Unix where if you do a short read, or oversized write, you get truncation.