From owner-freebsd-hackers@FreeBSD.ORG Thu May 22 03:50:26 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3A2D837B401 for ; Thu, 22 May 2003 03:50:26 -0700 (PDT) Received: from shrike.submonkey.net (pc1-cdif2-5-cust38.cdif.cable.ntl.com [81.101.150.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id 765A243F75 for ; Thu, 22 May 2003 03:50:25 -0700 (PDT) (envelope-from setantae@submonkey.net) Received: from setantae by shrike.submonkey.net with local (Exim 4.12) id 19IneM-0002wz-00; Thu, 22 May 2003 11:50:18 +0100 Date: Thu, 22 May 2003 11:50:18 +0100 From: Ceri Davies To: Nader Atoofi , freebsd-hackers@FreeBSD.org Message-ID: <20030522105018.GA11303@submonkey.net> References: <0DC2A4733C6E8A42A66702B4B7B862DF510BBC@bcmsg011.corp.ads> <20030522104112.GA931@HAL9000.homeunix.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030522104112.GA931@HAL9000.homeunix.com> User-Agent: Mutt/1.5.4i Sender: Ceri Davies Subject: Re: A utility to retrieve system configuration X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 May 2003 10:50:26 -0000 On Thu, May 22, 2003 at 03:41:12AM -0700, David Schultz wrote: > On Tue, May 20, 2003, Nader Atoofi wrote: > > Hi All, > > > > Is there any utility/script in FreeBSD to collect system > > configuration information from the system for recovery > > purposes. I'm looking for something like Sun Explorer in Solaris > > or Snap in AIX. > > I'm not aware of any such tool, but the base system maintains > everything interesting configuration-wise in /etc, which you can > simply tar up. If you use a custom kernel config or custom > /boot/loader.conf, you will want to back those up as well, but > this is easily done by putting these two files in /etc and making > symlinks. For third-party packages installed through ports, you > probably want /usr/local/etc plus the output of pkg_info(1). I also grab /var/cron in my backups; with the stuff that David has mentioned above, that's (crossed fingers) all I need to fully recover a system's configuration. Ceri --