From owner-freebsd-questions@FreeBSD.ORG Thu Sep 16 19:29:38 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 795C316A4CE for ; Thu, 16 Sep 2004 19:29:38 +0000 (GMT) Received: from 9.hellooperator.net (cpc3-cdif2-3-0-cust202.cdif.cable.ntl.com [81.103.32.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2EAFC43D1D for ; Thu, 16 Sep 2004 19:29:38 +0000 (GMT) (envelope-from rasputin@hellooperator.net) Received: from rasputin by 9.hellooperator.net with local (Exim 4.34) id 1C81wI-0005Bj-UD for freebsd-questions@freebsd.org; Thu, 16 Sep 2004 20:29:06 +0100 Date: Thu, 16 Sep 2004 20:29:06 +0100 From: Dick Davies To: FreeBSD Questions Message-ID: <20040916192906.GC13481@lb.tenfour> References: <7DD3A492-0744-11D9-881F-000393801C60@g-it.ca> <41489412.4000908@dreamchaser.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <41489412.4000908@dreamchaser.org> User-Agent: Mutt/1.4.2.1i Sender: Rasputin Subject: Re: What to backup X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Dick Davies List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Sep 2004 19:29:38 -0000 * Gary Aitken [0911 20:11]: > Scott Gerhardt wrote: > > > >On Sep 15, 2004, at 12:19 PM, Curtis Vaughan wrote: > > > >>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 > >>backup. But perhaps some is overkill. > >> > >>/etc > >>/boot > >>/home > >>/var/log > >>/usr/ports > >>/root > >>/usr/local > >>/usr/src > > You probably do want to back up /usr/src/sys/xxx/conf, > where xxx is i386 or whatever for your sys, since that is > where your kernel config for custom kernels normally resides. What I do is keep my kernel config in my home directory (under CVS control) and symlink to it from /usr/src. I have 'rm -rf /usr/src'ed once too often in anger :) Also I prefer to have /usr/local/etc as a symlik into /etc/local/ , again so I can 'cp -Rp /etc /etc.ok' before I start to reconfigure the system (changing network IPs or similar) and restore everything easily. -- The only real way to look younger is not to be born so soon. -- Charles Schulz, "Things I've Had to Learn Over and Over and Over" Rasputin :: Jack of All Trades - Master of Nuns