[Techtalk] dying hard drive

Mary Gardiner mary-linuxchix at puzzling.org
Fri Dec 1 23:17:10 UTC 2006


On Thu, Nov 30, 2006, Akkana Peck wrote:
> For file level copies, there are a couple of methods that work well.
> First, rsync is easy and convenient. If you're copying over the
> network to a disk mounted on another machine:
>   rsync -axv olddir/ otherhost:newdir/
[snip]
> If you can mount the new disk at the same time as the new disk,
> then just use this:
>   rsync -avx olddir/ /path/to/newdir/

A note about this: when copying, you need to have root privileges on
newdir, whether it is on a remote machine or on a local machine.
Otherwise rsync can't preserve file ownership.

-Mary


More information about the Techtalk mailing list