threads / discuss / 16982

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

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

## tl;dr

One message between Jan 4, 2009 and Jan 4, 2009.

replies: 0people: 1as markdown or json

Alexander Gladysh· Jan 4, 2009, 15:27 UTC · lore
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.

← back to recent threads