Saturday, April 26, 2008

Gitback: Git based backup tool (with OS X support)

gibak is backup tool based on Git. It uses Git's hook system to handle metadata - save and restore the information Git doesn't track itself, such as permissions, empty directories and optionally mtime fields.

Install

cp find-git-* gibak ometastore.ml to path

Usage
- Run once to initialize the backup system
~ $ gibak init

- Edit .gitignore to ignore files and paths, or add exceptions etc.
/Desktop
/Videos
/Music
/opt
/.*
!/.bash*
!/.tcsh*
!/.zsh*
!/.emacs
!/.gnupg
!/.mail
!/.maildir
!/.Maildir
!/.mail-aliases
!/.muttrc
!/.ssh
!/.vimrc
.#*
*~

- Perform the backup
gibak commit

0 comments: