Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Sep 2004 15:08:03 -0400
From:      Louis LeBlanc <FreeBSD@keyslapper.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: What to backup
Message-ID:  <20040915190803.GE86029@keyslapper.org>
In-Reply-To: <CCD7FB7C-0743-11D9-A059-000393934006@npc-usa.com>
References:  <CCD7FB7C-0743-11D9-A059-000393934006@npc-usa.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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                     ԿԬ

QOTD:
  "It's hard to tell whether he has an ace up his sleeve or if
  the ace is missing from his deck altogether."



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040915190803.GE86029>