0

I play with different settings quite often, in Ubuntu itself and in apps I'm using on it. Some changes turn out to be incorrect or even harmful and I often don't remember what I've exactly done and how to revert it. Moreover, apps I install sometimes create/modify things on my hard drive without me knowing about it.

I'm looking for a way to track all changes that happen on my system. I know there is etckeeper, but it tracks only /etc but AFAIK this is not the only place system configuration is stored. I know there are tools like Ansible, but I'm looking for solution for desktop user, not for server.

Is there a list of all places on Linux filesystem that can possibly store configurations of any kind so I could track them with some VCS like git? Are there any guidelines of what to track? Naming conventions that could help me filter out files I'm not interested in tracking?

Piotrek
  • 401

2 Answers2

1

There are many places where configuration files are stored, but backing up $HOME/.config and /etc would already cover up most of it. But, if you want to be really sure everything relevant has been backed up / saved, you'd literally need to to do a complete disk backup.

Most configuration files have a .cfg, .conf or .ini extension - but that too, can be different.

TheEagle
  • 153
0

Well, I can't say about all configurations and settings, but you can get all the apps you have ever installed by sudo apt list --installed > ~/all-my-programs Taken from

https://askubuntu.com/a/1193626/707756