Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Apr 2009 21:18:01 +0200
From:      Roland Smith <rsmith@xs4all.nl>
To:        Mel Flynn <mel.flynn+fbsd.questions@mailing.thruhere.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Saving configuration files (was Re: FreeBSD Upgrade: Ports That Need Rebuilding)
Message-ID:  <20090416191801.GA20327@slackbox.xs4all.nl>
In-Reply-To: <200904162059.31243.mel.flynn%2Bfbsd.questions@mailing.thruhere.net>
References:  <49E64867.5060209@gmail.com> <200904161217.08784.mel.flynn%2Bfbsd.questions@mailing.thruhere.net> <20090416162732.GA5626@slackbox.xs4all.nl> <200904162059.31243.mel.flynn%2Bfbsd.questions@mailing.thruhere.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--VbJkn9YxBvnuCH5J
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Apr 16, 2009 at 08:59:30PM +0200, Mel Flynn wrote:
<snip>=20
> I guess I'm just anti-redoing-configuration, since there's so many format=
s out=20
> there. One can of course backup ${LOCALBASE}/etc --exclude rc.d, but the=
=20
> number of exceptions grows over time (/etc/X11/xorg.conf, /usr/local/squi=
d/*,=20
> /usr/local/pgsql/data/*, /usr/local/hybserv/*).

I keep all configuration files that I have changed myself in a tree
under ~/setup, complete with two scripts that check (check.pl) if config
files have changed or installs them (install.pl) if they are out of
date. Both scripts read a file with a list of what to install
where. This directory is kept under revision control with git. I've
documented this setup on my homepage: http://www.xs4all.nl/~rsmith/freebsd/=
index.html#doc

This repository and support scripts enables me to easily absorb changes
=66rom mergemaster if necessary, while I can easily restore my settings if
I screw something up. Note that I remove the FreeBSD RCSid from the
files that I change, so that mergemaster will skip them automatically.

Roland
--=20
R.F.Smith                                   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)

--VbJkn9YxBvnuCH5J
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (FreeBSD)

iEYEARECAAYFAknnhGkACgkQEnfvsMMhpyVvbwCgk6Yd6F7fE7W+dhzmifjlwcCA
+TYAoJi6RIebv+q4HzEOgy424YwLH2P+
=uJZC
-----END PGP SIGNATURE-----

--VbJkn9YxBvnuCH5J--



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