title: Backing up a DB with Git - a good idea?
body: <p>The way I see it dumping a PostgeSQL DB into one big SQL file and then committing and pushing to a remote Git repo can be a terrific backup solution: I get a history of all versions, hashing, secure transport, one-way (really hard to mess up and delete data by pushing), efficient storage (assuming no binaries) and no chance of a new image corrupting the backup (which is the risk with rsync).</p>
  
  <p>Has anybody used this approach, especially with pg, and can share his/her experience? Pitfalls?</p>