etckeeper is a collection of tools to let /etc be stored in a git, mercurial, darcs, or bzr repository. It hooks into apt (and other package managers including yum and pacman-g2) to automatically commit changes made to /etc during package upgrades. It tracks file metadata that revison control systems do not normally support, but that is important for /etc, such as the permissions of /etc/shadow. It's quite modular and configurable, while also being simple to use if you understand the basics of working with revision control.

etckeeper is available in git at git://git.kitenet.net/etckeeper, or in gitweb. It's packaged in Debian, Ubuntu, Fedora, etc.

News

version 1.11

etckeeper 1.11 released with these changes

  • Fix too broad matching of .gitignored files. Closes: #732339
Posted
version 1.10

etckeeper 1.10 released with these changes

  • Remove lvm/backup from default ignores, because lvm documentation recommends backing that up, for use by vgcfgrestore.
  • Fix exporting of some git variables. Closes: #728583
Posted
version 1.9

etckeeper 1.9 released with these changes

  • Fix git update-ignore syntax. Closes: #721873
Posted