You know ssh will compress what goes through its tunnel to begin with, right?

So, you can eliminate at least one command there..


On 10/17/08, Girish Venkatachalam <[EMAIL PROTECTED]> wrote:
> On 17:29:56 Oct 17, Mike wrote:
>> >
>> > will work out much faster and better than plain old dd(1).
>> >
>> > On the other side you have to run
>> >
>> > # <input> | restore xf -
>> >
>> > -Girish
>> >
>>
>> whats the <input> going to be?
>
> Sorry I was wrong. It was meant to be done in one step from the "dump
> side".
>
> This works for me.
>
> # dump af - /dev/rwd0d | gzip -c - | ssh <hostname> "gzip -d -|
>   restore rf -"
>
> Hope it works out for you.
>
> Thanks.
>
> -Girish

Reply via email to