From owner-freebsd-stable@FreeBSD.ORG Tue Sep 21 17:20:38 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5D9F816A4E8; Tue, 21 Sep 2004 17:20:38 +0000 (GMT) Received: from freebsd.takeda.tk (node-402413e2.sna.onnet.us.uu.net [64.36.19.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 45ADC43D48; Tue, 21 Sep 2004 17:20:33 +0000 (GMT) (envelope-from takeda@takeda.tk) Received: from takeda.lan (takeda.lan [10.0.0.3]) by freebsd.takeda.tk (8.12.11/8.12.11) with ESMTP id i8LHKWSc066425; Tue, 21 Sep 2004 10:20:32 -0700 (PDT) (envelope-from takeda@takeda.tk) Date: Tue, 21 Sep 2004 10:05:34 -0700 From: Dariusz Kulinski X-Mailer: The Bat! (v2.01) X-Priority: 3 (Normal) Message-ID: <12247499375.20040921100534@takeda.tk> To: "Bruce A. Mah" In-Reply-To: <20040921154116.GB36705@tomcat.kitchenlab.org> References: <20040920211231.89904.qmail@web53808.mail.yahoo.com> <200409201753.38308.so14k@so14k.com> <414F9C6D.9020709@corp.grupos.com.br> <20040921041017.GA963@tomcat.kitchenlab.org> <127205680265.20040920222835@takeda.tk> <20040921154116.GB36705@tomcat.kitchenlab.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: freebsd-stable@freebsd.org Subject: Re: upgrade questions 4.10 -> 5-stable X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd-stable@freebsd.org List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Sep 2004 17:20:38 -0000 Hello Bruce, Tuesday, September 21, 2004, 8:41:16 AM, you wrote: >> It's nice guide, but I personally think there few important thing stat >> are missing (and I was trying to found answer, but without luck): >> - what directories, should be especially backed up and restored after >> upgrade, I know /etc /usr/local/etc, /var/mail /var/cron /var/db >> what else? > For the case of a reinstalling from installation media, what to > restore depends on how you've configured your system. It's beyond the > scope of the document to try to enumerate all possible directories > that might be holding data you care about. At a bare minimum, things > I usually care about on my systems can be found in /boot, /etc, > /usr/local/etc, /var, and whereever home directories live. Beyond > that, it depends too much on how your own system is set up. That's > why you want to make sure you've saved *everything* to backup media, > so if you miss restoring something you can always go back and get it > later. What about directories that I definitively shouldn't restore, for example: /usr/include /usr/lib most likely /bin /sbin /usr/bin /usr/sbin /stand and so on, maybe that could help me better. >> - how to upgrade config files while while doing source upgrade, is it >> possible to use mergemaster, what are recommended steps? >> Overwrite all the new files and run mergemaster or there is better >> way? > Step 16 of the source upgrade procedure says specifically to use > "mergemaster -i". That step was in source upgrade category, so I assumed it might not be correct for binary upgrade. >> - some other stuff that I just forgot > Sorry, can't help you with that part. What about ports, I know that I need to recompile them, but will they work for that time? >> Basically I would like make the migration flawlessly, and in shortest >> time possible. > In my experience, sometimes those two goals are at odds with each > other. > You didn't say anything about the machine(s) you're trying to upgrade, > but if any of them happen to be providing mission-critical services, I > highly recommend running through the upgrade process on a scratch > machine first. Or even better, build up a new system and gradually > migrate data and services over to it. It's not really mission-critical, but it's like that for me :) It works as my mail/web server so I want to have shortest downtime possible :) -- Best regards, Dariusz mailto:takeda@takeda.tk CCNA, SCSA, SCNA, LPIC, MCP certified http://www.takeda.tk