Short version: dump your production database into a git repository for an instant backup solution. Long version: keeping backups of production data is fundamental for a well-run web application, but it’s tricky to maintain history while keeping disk usage at a reasonable level. You could continually overwrite the backup with the latest data, but you risk automatically replacing good data with bad.
![Backup your Database in Git | Viget Extend](https://cdn-ak-scissors.b.st-hatena.com/image/square/869637157ce312bc219fb2de39d448b32d1357a9/height=288;version=1;width=512/https%3A%2F%2Fwww.viget.com%2Fimages%2Fviget-social-share-1200.png)