>> On Tue 26 Nov 2024 at 01:21:31 (-0500), Charlie Gibbs wrote:
> 
> How do the rest of you deal with all the user-added stuff that vanishes
> when you do a fresh install?  Are there some tricks I can use, rather
> than painstakingly re-installing all my utilities one by one?

I do two things:-

1 - Keep a simple text list of packages I have added to the system
using 'apt install' (or aptitude, or synaptic, or whatever).  Then
when I do a clean install I can simply add all the extra packages, I
suppose I could automate it even but I don't bother doing that.

2 - I have a mercurial repository in /etc, it has an ignore file that,
by default, ignores every file in /etc. Then, when I modify something,
I first do an 'hg add <file>' and then do the change and commit it to
the repository.  I thus have a history (and diffs) of all the changes
I have done in /etc.  With a new install I make a backup copy of the
old /etc and refer to it to make similar changes to the new system.


-- 
Chris Green
ยท

Reply via email to