From owner-freebsd-questions@FreeBSD.ORG Wed Sep 15 22:23:30 2004 Return-Path: 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 5961516A4CE for ; Wed, 15 Sep 2004 22:23:30 +0000 (GMT) Received: from blue.gerhardt-it.com (gw.gerhardt-it.com [204.83.38.103]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2AE7B43D3F for ; Wed, 15 Sep 2004 22:23:30 +0000 (GMT) (envelope-from scott@g-it.ca) Received: from [10.0.0.100] (S0106004005832434.ss.shawcable.net [70.64.67.248]) by blue.gerhardt-it.com (Postfix) with ESMTP id 829F2FDC0 for ; Wed, 15 Sep 2004 16:23:29 -0600 (CST) Mime-Version: 1.0 (Apple Message framework v619) In-Reply-To: <20040915190803.GE86029@keyslapper.org> References: <20040915190803.GE86029@keyslapper.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Message-Id: Content-Transfer-Encoding: quoted-printable From: Scott Gerhardt Date: Wed, 15 Sep 2004 16:23:28 -0600 To: freebsd-questions@FreeBSD.org X-Mailer: Apple Mail (2.619) Subject: Re: What to backup X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Sep 2004 22:23:30 -0000 On Sep 15, 2004, at 1:08 PM, Louis LeBlanc wrote: > On 09/15/04 11:19 AM, Curtis Vaughan sat at the `puter and typed: >> I have a question about what exactly I should backup on my 5.3 = FreeBSD >> Server. So far I have chosen the following directories for full=20 >> backup. >> But perhaps some is overkill. >> >> /etc >> /boot >> /home >> /var/log >> /usr/ports >> /root >> /usr/local >> /usr/src > > As mentioned by other posters, you can probably omit /usr/local, > /usr/ports, and /usr/src, but of course you may want to include any > directories you make code changes in, particularly if you have a habit > of hacking the kernel. I also make a point of saving any custom = kernel > configs in /root/kernels, and softlinking them to=20 > /usr/src/sys/i386/conf/ > so that when /root is backed up, the kernel config is too. > > I still haven't found a reliable way to save my fvwm2 patch in the=20 > ports > directory (I changed the screen wraparound behavior) so I just keep=20 > that > one in my home directory. That's pretty much the only port I've=20 > hacked, > so it works for now. > > You might also want to back up /usr/local/etc if you skip /usr/local. > Many important ports will use this area for configs, and you won't = want > to lose the weeks or months you spend tweaking these out either. > > Good luck > > Lou > --=20 > Louis LeBlanc FreeBSD@keyslapper.org > Fully Funded Hobbyist, KeySlapper Extrordinaire :) > http://www.keyslapper.org =D4=BF=D4=AC You might want to make sure to get /usr/local/etc/ which includes all=20 the local configs and periodic scripts. Thanks, -- Scott A. Gerhardt, P.Geo. Gerhardt Information Technologies