Duplicating a partition remotely

Jeff Ratliff jefrat at earthlink.net
Sat Mar 20 16:33:38 UTC 2004


----- Original Message -----
From: "Robert" <kerplop at sbcglobal.net>
To: <fedora-list at redhat.com>
Sent: Saturday, March 20, 2004 9:59 AM
Subject: Duplicating a partition remotely


> I have a hard drive containing archived stuff accumulated since Oct '99
> (RH6.0) that is beginning to get errors. I need to get that stuff copied
> to another drive in another machine. The two machines are networked, so
> copying is no problem.  The problem I'm having is finding a way to
> preserve ownership, permissions and date/time.  I've looked at rcp, ftp,
> ftpcp, ftpcopy, wget, smbclient and some others whose names escape me
> and haven't found (or have overlooked!) a way to preserve the attributes.
>
> Any suggestions?

I've been doing the same thing lately. I've used scp to do the transfer.

Try:
scp -p remote_host:/remote/dir /local/dir

The "-p" option preserves attributes. It works over ssh, so you'll have to
have that working. It chokes on files over 2 Gigs (between Mandrake and
Fedora, at least), but otherwise does a great job, and gives a nifty
progress
meter.

Try "man scp" for more info.





More information about the users mailing list