[cs615asa] ec2 key name for hw6
jschauma at stevens.edu
Wed Mar 30 22:09:39 EDT 2016
Avineshwar Singh <asingh16 at stevens.edu> wrote:
> I am not sure about dd though. Do we need to tar and then send it to
> EC2 and write that tar using dd to some new volume
Yes, this is the correct approach.
You're basically wrapping the following command:
tar <options> <dir> | ssh <instance> "dd of=<volume>"
There is no use of tar(1) on the remote side. tar(1) is only used to
create an archive of the data; the remote volume is treated as raw block
storage, much like a local magnetic tape or other raw disk device might.
More information about the cs615asa