[SunRescue] best way to copy data between partitions

Dave McGuire rescue at sunhelp.org
Tue Mar 6 21:58:38 CST 2001


On March 6, Bill Bradford wrote:
> What's the suggested "best practices" way to move system partitions
> from one (failing) disk to another?  I dont want to have to ufsdump to
> tape then restore back; I'll have both drives online at once so I can
> just copy from one partition to another, installboot on the new /, 
> edit /etc/vfstab accordingly, power down, remove old disk, and reboot
> with new....

  Here's what I use...preserves symlinks, etc etc...

# cd /src
# tar -cf - . | (cd /dest; tar -xvBpf -)

     -Dave McGuire



More information about the rescue mailing list