From owner-freebsd-hackers@FreeBSD.ORG Thu May 22 03:41:14 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 19EB837B401 for ; Thu, 22 May 2003 03:41:14 -0700 (PDT) Received: from HAL9000.homeunix.com (12-233-57-131.client.attbi.com [12.233.57.131]) by mx1.FreeBSD.org (Postfix) with ESMTP id 77E0643F75 for ; Thu, 22 May 2003 03:41:13 -0700 (PDT) (envelope-from das@FreeBSD.ORG) Received: from HAL9000.homeunix.com (localhost [127.0.0.1]) by HAL9000.homeunix.com (8.12.9/8.12.5) with ESMTP id h4MAfCXD001018; Thu, 22 May 2003 03:41:12 -0700 (PDT) (envelope-from das@FreeBSD.ORG) Received: (from das@localhost) by HAL9000.homeunix.com (8.12.9/8.12.5/Submit) id h4MAfCeo001017; Thu, 22 May 2003 03:41:12 -0700 (PDT) (envelope-from das@FreeBSD.ORG) Date: Thu, 22 May 2003 03:41:12 -0700 From: David Schultz To: Nader Atoofi Message-ID: <20030522104112.GA931@HAL9000.homeunix.com> Mail-Followup-To: Nader Atoofi , freebsd-hackers@FreeBSD.org References: <0DC2A4733C6E8A42A66702B4B7B862DF510BBC@bcmsg011.corp.ads> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0DC2A4733C6E8A42A66702B4B7B862DF510BBC@bcmsg011.corp.ads> cc: freebsd-hackers@FreeBSD.ORG 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:41:14 -0000 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).