Ghosting with Linux

Brig C. McCoy mccoyb at lindahall.org
Wed Aug 20 18:43:41 CDT 2003


For what it's worth, I've had it in the back of my mind to play with this 
for a while... thanks for doing the hard work... I'll have to remember to 
buy you a [libation of choice] one of these days.

...brig

At 01:06 PM 8/20/2003, Jason Clinton wrote:
>Jason Clinton wrote:
>>
>>Some corrections to my own musing that I've discovered thus far:
>>
>># dd bs=1024 if=/dev/hda1 | bzip2 --best | ssh -2 -l [user]
>>[ipaddress] "cat - > /var/server-backup.bz2"
>>
>>
>>tar is unnecessary because there are no directories. It would be best to 
>>compress it before it goes over the network. cat is taking stdin to 
>>stdout and bash is dumping stdout to a file. Is this any closer?
>
>Hehe. I figured it out. I compressed and sent my 100 MB /boot partition 
>down to 4.1 MB successfully. Here is what I did. Thanks for listening to 
>me talk to myself. :)
>
># dd bs=900K if=/dev/hda1 | bzip2 --best | ssh -2 -l root 134.193.43.211
>  "dd of=/var/server-backup.bz2"
>
>To restore the backup:
>
># ssh -2 -l root 134.193.43.211 "bunzip2 /var/server-backup.bz2" |
>  dd bs=900K of=/dev/hda1
>
>I'll let everyone know how the 10 GB NTFS partition with 7 GB of data on 
>it compresses down to and how long it took to make a backup accross a 100 
>Mbit connection.

--
Brig C. McCoy                   5109 Cherry St
Head, Systems Office            Kansas City, MO  64110  USA
Linda Hall Library of Science,  816 926-8749 PHN, -8790 FAX
Engineering, and Technology     <http://www.lindahall.org>

PGP Public Key: <http://www.theworld.com/~brigc/pgp/> 




More information about the Kclug mailing list