I am talking about a program that will show you all the changes you made to the system, in case I have to trouble shoot my system? A CLI one will be better, in case of worst case scenario
I am talking about a program that will show you all the changes you made to the system, in case I have to trouble shoot my system? A CLI one will be better, in case of worst case scenario
Install the
etckeeper
package and run (once and for all)sudo etckeeper init
. This puts/etc
(the directory containing all system configuration file) under version control (Bazaar by default). Under the default configuration, changes are recordedapt-get
,aptitude
, Synaptic or other apt-based package managers;sudo etckeeper commit
, orbzr commit
in/etc
; this gives you the opportunity of entering a meaningful commit message.Etckeeper doesn't record the names of installed packages, but you can find that in
/var/log/apt/
and/var/log/dpkg.log
(with different sets of details). These files are rotated, so they will disappear after a few months; if you want to keep them longer, this is configured in/etc/logrotate.d/dpkg
and/etc/logrotate.d/apt
.For your personal configurtion files, see How to keep “dot files” under version control?.
I would be tempted to say
copyfs
:but hardly it could be used for the whole root directory or for anything system (not user) related.
See this page about viewing logs in ubuntu:
View log files in Ubuntu
I am not sure that you can trace all your changes except in looking at your log files ...
If you want to "backup" changes you made to the system (to troubleshoot or reinstall) your can :
If you want to restore your packages : apt-get update && dpkg --set-selections < installed_packages && apt-get upgrade
Later, you'll be able to compare your package list and config files