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 <[email protected]>: >> >> 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 user@host | 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 >> [email protected] >> https://lists.gnu.org/mailman/listinfo/bug-ddrescue > _______________________________________________ > Bug-ddrescue mailing list > [email protected] > https://lists.gnu.org/mailman/listinfo/bug-ddrescue _______________________________________________ Bug-ddrescue mailing list [email protected] https://lists.gnu.org/mailman/listinfo/bug-ddrescue
