On Sun, Nov 8, 2009 at 7:38 PM, Rich Shepard <[email protected]> wrote:
> On Sun, 8 Nov 2009, Robert Citek wrote:
>
>> Any reason not to tar up and copy all of them?
>
>   Yeah. Proceeding cautiously I copied the tarball to / and extraced only
> /etc/hosts*, /etc/ssh/*, and /etc/resolv.conf. I certainly don't want to
> change /etc/fstab to the old host's contents. I'm sure there are more things
> to not change, too.

Interesting.  I would have proceeded even more cautiously:

1) backup my existing /etc/ to /etc.orig/ and tar it up to /root/etc.orig.tar.gz
2) extract the transfered tar.gz file into /tmp
3) copy the files from /tmp/etc/ to /etc/ that I think I might need
4) test, reverting to the backup /etc/ files if needed

One of the nice things about gnu tar is that it strips the leading
slash (/) so that you can do things like step 2.

Regards,
- Robert
_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to