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

Re: ok to delete tmp_pack file(s)? also, backing up a git repository

From
Adam Monsen <haircut@gmail.com>
Date
May 20, 2010, 02:55 UTC
Message-ID
<loom.20100520T044929-726@post.gmane.org>
In-Reply-To
<alpine.LFD.2.00.1005191935400.12758@xanadu.home>
Nicolas Pitre writes:
> If you want your rsync backup to be fine, you need to follow some 
> ordering.

Ah, good to know! I don't want to complicate my backup job too much, so I'll probably switch to a job that does the following for each repository, daily (or so):

1) "git fetch": update bare clone
2) rsync backup "hooks/", "config", and "description".
I think that's all I've customized that I'd miss in a catastrophic failure.
Thanks for the tips.
Previous: Nicolas Pitre
Message 3 of 3 in “ok to delete tmp_pack file(s)? also, backing up a git repository”
  1. Adam MonsenMay 19, 2010
  2. Nicolas PitreMay 19, 2010
  3. Adam MonsenMay 20, 2010

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.