From owner-freebsd-isp Fri Jan 15 13:09:29 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA12428 for freebsd-isp-outgoing; Fri, 15 Jan 1999 13:09:29 -0800 (PST) (envelope-from owner-freebsd-isp@FreeBSD.ORG) Received: from is2.net.ohio-state.edu (is2.net.ohio-state.edu [128.146.48.9]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id NAA12414 for ; Fri, 15 Jan 1999 13:09:25 -0800 (PST) (envelope-from maf@dev1.net.ohio-state.edu) Received: (qmail 13462 invoked from network); 15 Jan 1999 21:09:24 -0000 Received: from dev1.net.ohio-state.edu (128.146.222.3) by is2.net.ohio-state.edu with SMTP; 15 Jan 1999 21:09:24 -0000 Received: (qmail 12707 invoked by uid 4454); 15 Jan 1999 21:09:23 -0000 Message-ID: <19990115160923.A12095@net.ohio-state.edu> Date: Fri, 15 Jan 1999 16:09:23 -0500 From: Mark Fullmer To: freebsd-isp@FreeBSD.ORG Cc: freebsd-ports@FreeBSD.ORG Subject: Re: PATCH for Apache: Add FreeBSD Server Layout References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91i In-Reply-To: ; from Jesse on Fri, Jan 15, 1999 at 04:32:50AM -0800 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, Jan 15, 1999 at 04:32:50AM -0800, Jesse wrote: > > > What do you do to upgrade, delete the whole directory and reinstall it > > and restore your backup data? If you do, I'm glad I don't have to clean up > > the mess that can make. > > To upgrade, you simply run the upgrade scripts, or the install scripts of > the newest version is --prefix=/usr/local/program. To delete the entire > package, rm -rf /usr/local/program. To reinstall it, ./configure > --prefix=/usr/local/program; make install. To backup my data, tar cvf > program-backup.tar /usr/local/program. To restore my data, cd /usr/local; > tar xvf program-backup.tar. This works fine for a single machine. When you have many servers delegating one to act as a build box and then pushing out /usr and /usr/local with sdist(1) to each client buys you a consistant environment, less backup tape space, and time installing the same software/upgrade n times. /var, /, and /home/x are all the need to be backed up. It's also nice to be able to dump/restore a /usr or /usr local from one machine to the next when a disk goes bad. The current ports and packages collections don't take this type of environment into account. > Now, imagine doing any of those things with all your files scattered all > over multiple directories, especially when you start coming across some > files which you're not whether they below to that program or not. All that's required is a packing list, or if there are files created at run-time (ie a web server) just stick them in /var/package. *1 rdist modified to use ssh. -- mark To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message