[lug] dd ssh pipe to bzip?

Paul Nowosielski paulnowosielski at yahoo.com
Wed Nov 17 16:59:50 MST 2010


The boxes I'm backing up
are running on usb sticks.
I want to keep the disk writes to a minimum.
EscapeChar is commented out in the ssd_config BTW.

Paul
----- Original Message ----
From: Davide Del Vento <davide.del.vento at gmail.com>
To: Boulder (Colorado) Linux Users Group -- General Mailing List 
<lug at lug.boulder.co.us>
Sent: Wednesday, November 17, 2010 16:46:38
Subject: Re: [lug] dd ssh pipe to bzip?

>  dd if=/dev/mapper/VolGroup00-LogVol00 | ssh -Te none offsite at dev -i
>   /root/.ssh/id_dsa_offsite "bzip2 -c > gw2.iso.bz2"
>
> If a data file happened to contain the magic escape sequence your SSH
> session would get dumped to a > prompt.

I wonder why not using scp instead.
_______________________________________________
Web Page:  http://lug.boulder.co.us
Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
Join us on IRC: irc.hackingsociety.org port=6667 channel=#hackingsociety






More information about the LUG mailing list