Yeah, this "works", but it's not quite what I want. I'd like the deltas between the default installation and my installation. Although disaster recovery is my primary objective, the list of deltas can also be used for other things, including:
- problem resolution - i.e. what's non-standard about a particular system.
- review and justification of each delta.
- security - compare two config deltas for unexpected changes.
- clean up.


Since apt-get/dpkg
(a) knows about the .conf files
(b) knows the default .conf.
(c) "upgrade" detects deltas and queries what to do about the situation
I thought there might be some way to report the set of deltas.

The files in /etc fall into for categories
1.  default .conf files from installed .debs.
2.  non-default .conf files from installed .debs
3.  old .conf files from removed .debs; failed installations, etc.
4.  other files; typically user installed.

My configuration has ~1500 files in /etc and its subdirs and ~1100 .conf files listed in /var/lib/dpkg/status. I'd like to sort things out and clean up some of the cruft.

--rich


Alvin Oga wrote:
hi ya

On Thu, 27 Feb 2003, Rich Johnson wrote:


Hi folks--


...


Is there a way to list the _non-default_, or modified, .conf files required to transferd/or restore a configuration?
Files like:
- krb5.conf;
- httpd.conf
- timezone
- cron.d files
- bind files


I already maintain the list of packages (dpkg --get-selections) but that only yields a default configuration.


i put "all" conf files in /etc not in /var/* etc.etc..

and backup of "the server's conf" ( /etc ) fits on a floppy

c ya
alvin




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Reply via email to