git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[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.
Message 1 of 1 in “[Q] post-commit hook to backup repo by emailing git bundle”
  1. Alexander GladyshJan 4, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.