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

Reply via email to