*BSD News Article 96236


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mira.net.au!news.netspace.net.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!howland.erols.net!newsfeed.internetmci.com!news.wwa.com!news.ucdavis.edu!relay.nuxi.com!obrien
From: David E. O'Brien <obrien@relay.nuxi.com>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Reinstalling user files
Date: 27 May 1997 06:58:13 GMT
Organization: University of California, Davis
Lines: 25
Message-ID: <5me0m5$6qr$8@mark.ucdavis.edu>
References: <01bc646b$b7100550$32a19acf@jay>
NNTP-Posting-Host: nuxi.ucdavis.edu
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:41665

Jay Rothschild <jay@ais.net> wrote:
> I have a FreeBSD 2.2.1 machine that I want to upgrade to 2.2.2 because of
> the Adaptec driver. I would like advice on the procedure to copy files to
> another machine and then back so that the new install will have all my
> /home user files, passwd  files, and /var/mail files (Ya, I know the whole

Just use one machine.  Be careful with the bin dist:

    # cd /var/tmp
    # cat bin.?? | tar --unlink -xpzf - bin -C /
    # cat bin.?? | tar --unlink -xpzf - usr -C /
    
etc.  Just don't extract /var and /etc over the exiting files.

    # cat bin.?? | tar --unlink -xpzf - etc
    # diff -u /etc /var/tmp/etc |more
    # vi ....
    # reboot

to find the differences.  At least this is what I did on a box I don't
have physical access to.  The procedure nevers touches /home and other
valuable files.

-- 
-- David    (obrien@NUXI.com  -or-  obrien@FreeBSD.org)