[Q] post-commit hook to backup repo by emailing git bundle
- From
Alexander Gladysh <agladysh@gmail.com>
- Date
- Jan 4, 2009, 15:27 UTC
- Message-ID
- <c6c947f60901040727m328a814av8edd72570c39e0b5@mail.gmail.com>
Hi, list!
I have a server, where I store my light-weight private data (a wiki contents) inside a git repo. I need a backup solution for this data.
Setting up a mirror repository and fetching/pushing over the network is highly uncomfortable for a number of reasons for this specific case.
I'm thinking of setting up a post-commit hook on my wiki repo, which would prepare git bundle for the commit and send it to me via e-mail.
Perhaps someone already has something like this, so I would not have to reimplement the wheel?
Alexander.