rsync a raw device

Jan-Benedict Glaw
Tue, 14 Mar 2006 10:23:03 -0000

On Mon, 2006-03-13 17:42:18 -0500, Dan Pritts <danno@internet2.edu>
wrote:
> I'd like to mirror this data store to a remote location for DR
purposes.
> ideally the target would be a raw device as well, but a loopback mount
> would probably solve my problem if that's not possible.

# cat /dev/sda | ssh root@backupbox "cat > /dev/sda"

Of course, change the device name as needed on both sides...

MfG, JBG

--
Jan-Benedict Glaw       jbglaw@lug-owl.de    . +49-172-7608481             _ O _
"Eine Freie Meinung in  einem Freien Kopf    | Gegen Zensur | Gegen Krieg
_ _ O
 f?r einen Freien Staat voll Freier B?rger"  | im Internet! |   im Irak!
O O O
ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA));
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature