From owner-freebsd-questions@FreeBSD.ORG Sun Sep 3 17:57:11 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A3D3816A4DF for ; Sun, 3 Sep 2006 17:57:11 +0000 (UTC) (envelope-from kline@sage.thought.org) Received: from sage.thought.org (dsl231-043-140.sea1.dsl.speakeasy.net [216.231.43.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id 474F943D66 for ; Sun, 3 Sep 2006 17:56:57 +0000 (GMT) (envelope-from kline@sage.thought.org) Received: from sage.thought.org (kline@localhost [127.0.0.1]) by sage.thought.org (8.13.6/8.12.10) with ESMTP id k83HutmF006931; Sun, 3 Sep 2006 10:56:55 -0700 (PDT) (envelope-from kline@sage.thought.org) Received: (from kline@localhost) by sage.thought.org (8.13.6/8.13.1/Submit) id k83HusN7006930; Sun, 3 Sep 2006 10:56:54 -0700 (PDT) (envelope-from kline) Date: Sun, 3 Sep 2006 10:56:54 -0700 From: Gary Kline To: Matthew Seaman Message-ID: <20060903175654.GB6793@thought.org> References: <20060902033024.GA68680@thought.org> <20060902040551.GI25190@wantadilla.lemis.com> <20060903011102.GB2261@thought.org> <20060903040355.GF2261@thought.org> <44FA8FFE.9040107@infracaninophile.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <44FA8FFE.9040107@infracaninophile.co.uk> X-Organization: Thought Unlimited. Public service Unix for 20 years. User-Agent: Mutt/1.5.11 Cc: Gary Kline , Jerold McAllister , Atom Powers , FreeBSD Mailing List Subject: Re: From FIXIT: (was:Re: System down, won't come up X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Sep 2006 17:57:11 -0000 On Sun, Sep 03, 2006 at 09:19:10AM +0100, Matthew Seaman wrote: > Gary Kline wrote: > > > fixit mode. What I really want is to get the data files off > > and over to another servr. Havng /etc/* and maybe /var/db/pkg/* > > would be a big help. Then I could reinstall 5.3 ->5.5 and > > finally over to 6.1. > > Why go via 5.5 if you're upgrading by installing a new system on the > machine? Just go straight to 6.1. Good point. > > Stuff you should backup before doing that: > > /etc --- absolutely vital Yep; and I do have a Tao.tbz; but it is sitting right in /usr/tmp, on tao. (....) > /usr/local/etc --- ditto: most people have put hours of work into > port configuration files which would be painful > to have to recreate. > /var --- lots of programs keep their state in files in > /var, not to mention stuff like MYSQL DB files. > /home or /usr/home - depending on how your disk is laid out. > /root > > Other stuff you might need to backup: > > /usr/local/www --- if you run web sites of this machine > /usr/X11R6/lib/X11/{xdm,app-defaults,...} > --- if you've customised stuff under there > > /boot/loader.conf > /usr/src/sys/i386/conf/HOSTNAME > --- these two should be mostly for reference as > their contents have changed significantly with > changes to the system. > /usr/local/share/snmp/{snmp.conf,snmpd.conf} > --- only if you run net-snmpd: for some reason it > keeps its config files here instead of under > /usr/local/etc > > That covers all of the locations I know of where hand customised files > can generally be found (on machines I admin, at least). Everything else > should be replacable by running a 'make world' cycle or by using the ports. > No doubt other people do things differently, so will have a slightly different > list... > Every night I tar -y my website files up and sent them remote. --Whenever-I-remember, I tar up the /etc directories and ship them to local servers. (I *really* do gotta get a plan. Never expect 5.4 to [ct]rap out! What a wakeup call....) Oh: /boot/loader.conf is something to consider too. Thanks much. gary > > Cheers, > > Matthew > > -- > Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard > Flat 3 > PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate > Kent, CT11 9PW > -- Gary Kline kline@thought.org www.thought.org Public service Unix