Re: dd restore command

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Dale Farnsworth
Date:  
To: BONeal, PLUG-discuss
Subject: Re: dd restore command
In article <> you write:
> -=-=-=-=-=-
> -=-=-=-=-=-
>
> 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 would do:
ssh -c blowfish user@ServerA "dd if=/home/IMAGE.gz" | gunzip -c |
    dd of=/dev/sda


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