From owner-freebsd-questions@FreeBSD.ORG Thu Sep 16 01:31:11 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 C709D16A4D0 for ; Thu, 16 Sep 2004 01:31:11 +0000 (GMT) Received: from smtp103.rog.mail.re2.yahoo.com (smtp103.rog.mail.re2.yahoo.com [206.190.36.81]) by mx1.FreeBSD.org (Postfix) with SMTP id 6782A43D49 for ; Thu, 16 Sep 2004 01:31:11 +0000 (GMT) (envelope-from Mike.Jeays@rogers.com) Received: from unknown (HELO ?192.168.2.100?) (mjeays2551@24.43.95.82 with plain) by smtp103.rog.mail.re2.yahoo.com with SMTP; 16 Sep 2004 01:31:10 -0000 From: Mike Jeays To: Scott Gerhardt In-Reply-To: References: <20040915190803.GE86029@keyslapper.org> Content-Type: text/plain; charset=ISO-8859-1 Organization: Message-Id: <1095298269.757.63.camel@chaucer> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.4 Date: 15 Sep 2004 21:31:09 -0400 Content-Transfer-Encoding: 8bit cc: freebsd-questions@freebsd.org 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: Thu, 16 Sep 2004 01:31:11 -0000 On Wed, 2004-09-15 at 18:23, Scott Gerhardt wrote: > 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 > >> 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 ԿԬ > > > You might want to make sure to get /usr/local/etc/ which includes all > the local configs and periodic scripts. > > > Thanks, > > -- > Scott A. Gerhardt, P.Geo. > Gerhardt Information Technologies > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > For my desktop machine, I make a habit of putting a comment with my initials in every configuration file that I modify. I then have a nightly run that finds all these files and copies them to a sub-directory in my home directory, and the home directory is then copied to another machine. Periodically, I burn a CD of the home directory. I have found this a reliable way to make sure that I can always re-create my machine if things go badly wrong. I don't mind if it takes an hour or two to reinstall and reconfigure, provided I am sure I won't lose anything I have worked on myself.