From owner-freebsd-stable@FreeBSD.ORG Tue Sep 21 15:41:17 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 1E37B16A4CF; Tue, 21 Sep 2004 15:41:17 +0000 (GMT) Received: from b.mail.sonic.net (b.mail.sonic.net [64.142.19.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id EB04943D31; Tue, 21 Sep 2004 15:41:16 +0000 (GMT) (envelope-from bmah@freebsd.org) Received: from tomcat.kitchenlab.org (adsl-64-142-31-107.sonic.net [64.142.31.107]) by b.mail.sonic.net (8.12.11/8.12.11) with ESMTP id i8LFfGqS013179 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Tue, 21 Sep 2004 08:41:16 -0700 Received: from tomcat.kitchenlab.org (localhost.kitchenlab.org [127.0.0.1]) by tomcat.kitchenlab.org (8.13.1/8.13.1) with ESMTP id i8LFfGvw036755; Tue, 21 Sep 2004 08:41:16 -0700 (PDT) (envelope-from bmah@freebsd.org) Received: (from bmah@localhost) by tomcat.kitchenlab.org (8.13.1/8.13.1/Submit) id i8LFfG6K036754; Tue, 21 Sep 2004 08:41:16 -0700 (PDT) (envelope-from bmah@freebsd.org) X-Authentication-Warning: tomcat.kitchenlab.org: bmah set sender to bmah@freebsd.org using -f Date: Tue, 21 Sep 2004 08:41:16 -0700 From: "Bruce A. Mah" To: freebsd-stable@freebsd.org Message-ID: <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> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="IiVenqGWf+H9Y6IX" Content-Disposition: inline In-Reply-To: <127205680265.20040920222835@takeda.tk> X-Image-Url: http://www.employees.org/~bmah/Images/bmah-cisco-small.gif X-url: http://www.employees.org/~bmah/ User-Agent: Mutt/1.5.6i cc: "Bruce A. Mah" Subject: Re: upgrade questions 4.10 -> 5-stable X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list 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 15:41:17 -0000 --IiVenqGWf+H9Y6IX Content-Type: text/plain; charset=us-ascii Content-Disposition: inline If memory serves me right, Dariusz Kulinski 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? As a rule of thumb, back up everything. 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. For the case of a source upgrade, you still want to back up everything, but since most of what's overwritten is your base system, you won't be restoring anything explicitly unless you mess something up. > - 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". > - some other stuff that I just forgot Sorry, can't help you with that part. > 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. Bruce. --IiVenqGWf+H9Y6IX Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBUEub2MoxcVugUsMRAj35AKCryX2LyAu1K1aXz6bmOh517iO1zgCfVJUq Iz/R7JAa1hBP4u+KNJ5eI0U= =YdSY -----END PGP SIGNATURE----- --IiVenqGWf+H9Y6IX--