Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Sep 2004 20:29:06 +0100
From:      Dick Davies <rasputnik@hellooperator.net>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: What to backup
Message-ID:  <20040916192906.GC13481@lb.tenfour>
In-Reply-To: <41489412.4000908@dreamchaser.org>
References:  <CCD7FB7C-0743-11D9-A059-000393934006@npc-usa.com> <7DD3A492-0744-11D9-881F-000393801C60@g-it.ca> <41489412.4000908@dreamchaser.org>

next in thread | previous in thread | raw e-mail | index | archive | help
* Gary Aitken <garya@dreamchaser.org> [0911 20:11]:
> Scott Gerhardt wrote:
> >
> >On Sep 15, 2004, at 12:19 PM, Curtis Vaughan wrote:
> >
> >>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
> 
> You probably do want to back up /usr/src/sys/xxx/conf,
> where xxx is i386 or whatever for your sys, since that is
> where your kernel config for custom kernels normally resides.

What I do is keep my kernel config in my home directory (under CVS
control) and symlink to it from /usr/src. I have 'rm -rf /usr/src'ed
once too often in anger :)
Also I prefer to have /usr/local/etc as a symlik into /etc/local/ , again
so I can 'cp -Rp /etc /etc.ok' before I start to reconfigure the system
(changing network IPs or similar) and restore everything easily.

-- 
The only real way to look younger is not to be born so soon.
		-- Charles Schulz, "Things I've Had to Learn Over and
		   Over and Over"
Rasputin :: Jack of All Trades - Master of Nuns



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