[cs615asa] cs615 HW3 backup bug

Jan Schaumann jschauma at cs.stevens.edu
Sun Apr 24 15:26:06 EDT 2011


Rupali Patil <rpatil2 at stevens.edu> wrote:
> In my HW3 code my dd backup is being done to the remote host's root  
> directory which is not acceptable.
>
> Can anybody tell me where am I suppose to backup to make it right?

You are supposed to write the data to the blockdevice you either created
or that was specified.  The write should happen with dd(1) on the remote
side.  Something along the lines of

tar [options] [directory] | ssh remote-host "dd of=[device]"

I'm fairly sure I have written this on the whiteboard in class a few
times...

-Jan


More information about the cs615asa mailing list