On Thu, Jun 20, 2002 at 06:09:59PM -0400, Scott Henson wrote: > depends. What do you mean replicate what is happening on the disk. If > you mean replicate the file systems, Just repartition the new disk with > sufficient space to copy over the old file systems then use tar(I forget > the exact incarnation, but check the archives there was a thread on this > a few days ago) and you should be able to copy over the file systems > just fine.
I use tar something like this: dbx:/home/davep# cat bin/move_em #!/bin/bash # moves ns1 web files .. (updated) # ( cd /mnt/www ; tar cf - * )|( cd /www/htdocs; tar xvlpsf - ) # now lets get the usr # ( cd /home; tar cf - * )|( cd /mnt; tar xvlpsf - ) # ( cd /mnt/home ; tar cf - * )|( cd /home; tar xvlpsf - ) # ( cd /mnt/var/spool/mail ; tar cf - * )|( cd /var/spool/mail; tar xvlpsf - ) ( cd /mnt/etc ; tar cf - * )|( cd /home/davep/old_etc; tar xvlpsf - ) change the paths and mount points to suit... aloha, dave -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]