From owner-freebsd-questions@FreeBSD.ORG Wed Sep 15 19:10:08 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 B7CB816A4CE for ; Wed, 15 Sep 2004 19:10:08 +0000 (GMT) Received: from mail-relay4.mirrorimage.net (mail-relay4.mirrorimage.net [209.58.140.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id 898ED43D1D for ; Wed, 15 Sep 2004 19:10:08 +0000 (GMT) (envelope-from FreeBSD@keyslapper.org) Received: from localhost (unknown [10.10.4.59]) by mail-relay4.mirrorimage.net (Postfix) with SMTP id D5A756925A for ; Wed, 15 Sep 2004 15:10:07 -0400 (EDT) Received: by localhost (sSMTP sendmail emulation); Wed, 15 Sep 2004 15:08:03 -0400 Date: Wed, 15 Sep 2004 15:08:03 -0400 From: Louis LeBlanc To: freebsd-questions@freebsd.org Message-ID: <20040915190803.GE86029@keyslapper.org> Mail-Followup-To: freebsd-questions@freebsd.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.6i Subject: Re: What to backup X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd-questions@FreeBSD.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Sep 2004 19:10:08 -0000 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 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 /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 ports directory (I changed the screen wraparound behavior) so I just keep that one in my home directory. That's pretty much the only port I've 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 -- Louis LeBlanc FreeBSD@keyslapper.org Fully Funded Hobbyist, KeySlapper Extrordinaire :) http://www.keyslapper.org ԿԬ QOTD: "It's hard to tell whether he has an ace up his sleeve or if the ace is missing from his deck altogether."