# [Q] post-commit hook to backup repo by emailing git bundle

1 messages from 2009-01-04 to 2009-01-04. Participants: Alexander Gladysh.
Thread: https://gitlist.dev/t/16982

## Alexander Gladysh, 2009-01-04 15:27

Subject: [Q] post-commit hook to backup repo by emailing git bundle
Message-ID: <c6c947f60901040727m328a814av8edd72570c39e0b5@mail.gmail.com>
URL: https://gitlist.dev/e/c6c947f60901040727m328a814av8edd72570c39e0b5%40mail.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.

```
