Date: Sun, 16 Apr 2006 09:34:49 -0700 From: Glenn Dawson <glenn@antimatter.net> To: Oliver Iberien <oliver-mailinglist@charter.net>, freebsd-questions@freebsd.org Cc: Andy Reitz <ajr9@po.cwru.edu> Subject: Re: Newbie question -- which files to back up? Message-ID: <7.0.1.0.2.20060416092402.09d28bd0@antimatter.net> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7.0.1.0.2.20060416092402.09d28bd0>