bug-ddrescue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-ddrescue] ddrescue over SSH and gzip


From: Matthew Ruffalo
Subject: Re: [Bug-ddrescue] ddrescue over SSH and gzip
Date: Mon, 14 Jul 2014 17:07:33 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0

Additionally, if SSH is your only (or preferred) way to access your
server, you can use an sshfs mount as the destination for the ddrescue
image. As far as I know, an sshfs mount will honor any 'Compression'
options that are specified on the command line or in ~/.ssh/config et
al. The transfer itself would then be compressed, but the image on the
remote disk will not be.

Performance won't be as good as with a kernel-mode file sharing
implementation, but it will at least *work*.

If you're imaging a working disk and don't need any of ddrescue's
recovery/retry capabilities, you could just dump it (maybe with 'pv' for
a nice progress display) through gzip or xz and then send it over SSH:

pv -beprt /dev/sda | xz -cz | ssh somewhere 'cat > disk.xz'

MMR...

On 07/14/2014 04:46 PM, Dennis Juhler Aagaard wrote:
> You can mount a network drive over smb or afp if running osx and direct the 
> output file to that volume. I have done th
>
>> Den 10/07/2014 kl. 15.37 skrev Paul Ade <address@hidden>:
>>
>> Hello,
>>
>> Does GNU ddrescue work over SSH and gzip?
>>
>> When I do: 
>>  ddrescue -v -n -b 4096 --sparse /dev/sda destination.img logfile.log, it 
>> works without any problems but my backup drive is on a different server.
>>
>> So I tried:
>> ddrescue -v -n -b 4096 --sparse /dev/sda - ssh address@hidden | cat > 
>> destination.img logfile.log
>>
>> However, it always gives the error: -bash: destination.img: No such file or 
>> directory. Note that I have in fact removed the gzip pipe which works in 
>> dd_rescue and dd, so I wonder if I am missing the command format? Nothing in 
>> the manual has helped. 
>>
>> Could you please advise me if what I am trying to do is not supported with 
>> GNU ddrescue? Thank you.
>>
>> Paul.
>>
>> _______________________________________________
>> Bug-ddrescue mailing list
>> address@hidden
>> https://lists.gnu.org/mailman/listinfo/bug-ddrescue
> _______________________________________________
> Bug-ddrescue mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/bug-ddrescue





reply via email to

[Prev in Thread] Current Thread [Next in Thread]