Install etckeeper to backup Ubuntu application setup

etckeeper saves your Ubuntu package configuration using a version control (Git, Subversion, Bazaar, Mercurial etc). Everytime you add/remove/update apt/aptitude packages etckeeper automagically commits the changes to version control.

Ever need to quickly roll-back Ubuntu to s previous application setup state. Yeah.. me too!!

Install

apt-get install etckeeper

(not really optional) Change to Git version Control System

I use Git (doesn't everyone?!)... so switch verison control to Git from Bazaar

nano /etc/etckeeper/etckeeper.conf     

Change from

    # The VCS to use.
    #VCS="hg"
    #VCS="git"
    VCS="bzr"
    #VCS="darcs"

To

    # The VCS to use.
    #VCS="hg"
    VCS="git"
    #VCS="bzr"
    #VCS="darcs"

Initalise the etckeeper system

etckeeper init

So what do it do?!

Marvel at the new Git repository in /etc/.git/