From owner-freebsd-questions@FreeBSD.ORG Sun Apr 16 16:36:19 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 2496D16A400 for ; Sun, 16 Apr 2006 16:36:19 +0000 (UTC) (envelope-from glenn@antimatter.net) Received: from cobalt.antimatter.net (cobalt.antimatter.net [69.55.224.239]) by mx1.FreeBSD.org (Postfix) with ESMTP id CDEFE43D45 for ; Sun, 16 Apr 2006 16:36:18 +0000 (GMT) (envelope-from glenn@antimatter.net) Received: from foo.antimatter.net (cpe-72-132-240-21.san.res.rr.com [72.132.240.21]) (authenticated bits=0) by cobalt.antimatter.net (8.13.4/8.13.4) with ESMTP id k3GGZlkd017963 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 16 Apr 2006 09:36:16 -0700 X-MailKey: purple frogs are falling from the sky Message-Id: <7.0.1.0.2.20060416092402.09d28bd0@antimatter.net> X-Mailer: QUALCOMM Windows Eudora Version 7.0.1.0 Date: Sun, 16 Apr 2006 09:34:49 -0700 To: Oliver Iberien , freebsd-questions@freebsd.org From: Glenn Dawson In-Reply-To: <200604160908.56707.oliver-mailinglist@charter.net> References: <111406706926b8b45671.846930886.ajr9@po.cwru.edu> <7.0.1.0.2.20060416085459.06653ab8@antimatter.net> <200604160908.56707.oliver-mailinglist@charter.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Cc: Andy Reitz Subject: Re: Newbie question -- which files to back up? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Apr 2006 16:36:19 -0000 At 09:08 AM 4/16/2006, Oliver Iberien wrote: >On Sunday 16 April 2006 09:00, Glenn Dawson wrote: > > At 09:58 PM 2/22/2006, Andy Reitz wrote: > > >Hi Oliver, > > > > > >At a minimum, you will probably want to back up the following directories: > > > > > > /etc > > > /usr/local/etc > > > /home > > > > > >That will get all of the configuration files for FreeBSD and the > > >software thar you installed from ports. > > > > Actually, no. If you want to backup the software installed from > > ports you will typically need /usr/local. > > > > The contents of /var/db would also be desirable so that you know > > which ports are installed on the machine among other things. > > > > -Glenn > > > > > The last directory will det all of your user's data. Some other > > > applications might put data in other places, however, so you might > > > want to research the applications that you are running to make sure > > > you don't miss any important data. > > > > > >-Andy. > >Thanks for all this information. Can /usr/local and /var/db just be copied >directly back in after recovery, or (if it's more complicated that that) >would there be a tutorial on this somewhere? Generally speaking, /usr/local is empty after a clean install, so simply replacing its contents should be ok. Though keep in mind that some ports put things outside /usr/local so they may not work until other things are restored. /var/db/pkg is the dir you want for restoring the database of installed ports/packages. The other things in /var/db you will probably want to put back as needed instead of all at once. -Glenn >Oliver >_______________________________________________ >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"