Mbuffer Trickery

Am rather disappointed that mbuffer isn’t shipped in CentOS 7. Easy enough to install, but seriously useful to have updated software in this day in age.

Anyhow, to use mbuffer for a long transfer where an outgoing connection was the only option, I finally found a situation where I wanted to use a fifo.

dmzhost$ mkfifo /tmp/tarfifo
lanhost$ ssh dmzhost "cat /tmp/tarfifo" | mbuffer -P90 -m512M | tar xf -
dmzhost$ tar cf - pub | mbuffer -P90 -m128M > /tmp/tarfifo

And there we have it.

%d bloggers like this: