dd restore command

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
+ (text/plain)
Delete this message
Reply to this message
Author: Bryan O'Neal
Date:  
To: Arizona State University Linux Users Group, Main PLUG discussion list
Subject: dd restore command
I am not very good with dd, or pipes for that matter, so I need some
help. I need a command executed on KnoppixClientB to take IMAGE.gz
stored on ServerA and restore a hard drive. I tried executing the
following from KnoppixClientB

root@Knoppix:/ramdisk/home/knoppix# dd of= /dev/sda | ssh -c blowfish
user@ServerA "gunzip -c | dd if =/home/IMAGE.gz"

But Knoppix just hangs after I enter the password for ServerA.



I created the image using

root@Knoppix:/ramdisk/home/knoppix dd if=/dev/sda bs=1k
conv=sync,noerror | gzip -c | ssh -c blowfish user@ServerA "dd
of=IMAGE.gz bs=1k"



Any suggestions?





Bryan O'Neal
Cornerstone Homes & Development, Inc.
4220 E. McDowell Rd Ste. #108
Mesa, AZ 85215
(480) 505-1900



---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss