Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
microTIP: ddrescue over SSH
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
r00t440
Tux's lil' helper
Tux's lil' helper


Joined: 14 Sep 2005
Posts: 89

PostPosted: Wed Mar 21, 2007 7:11 am    Post subject: microTIP: ddrescue over SSH Reply with quote

If you want to copy your disk image to remote machine over ssh you need to use the following command:

ddrescue /dev/sda1 - | ssh user@host ‘cat > /datarecovery/backup.img’

*I made this post as a reference for myself, and maybe for those who may have same requirements.
Back to top
View user's profile Send private message
slackline
Veteran
Veteran


Joined: 01 Apr 2005
Posts: 1336
Location: /uk/sheffield

PostPosted: Wed Mar 21, 2007 4:05 pm    Post subject: Reply with quote

Perhaps you could add it to the Gentoo Wiki under the Tips and Tricks section.

slack
Back to top
View user's profile Send private message
till
n00b
n00b


Joined: 19 Sep 2007
Posts: 21

PostPosted: Sat Sep 27, 2014 4:18 pm    Post subject: Reply with quote

:!: Afaik this will only work with dd_rescue and not with ddrescue. The reason is that ddrescue needs random access to the oiutput file in order to retry unreadable parts after a first sequential run (which is much better from a data recovery perspective, but hurts if you want to stream it)
_________________
Greetings Till
Back to top
View user's profile Send private message
steveL
Advocate
Advocate


Joined: 13 Sep 2006
Posts: 2946
Location: The Peanut Gallery

PostPosted: Sat Sep 27, 2014 7:05 pm    Post subject: Reply with quote

greycat usually does that with cpio (on both ends) afair; I recommend #openssh on IRC: chat.freenode.net
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum