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

Re: how to backup git

From
SRSverre Rabbelier <alturin@gmail.com>
Date
May 12, 2008, 19:49 UTC
Message-ID
<bd6139dc0805121249q76282be1mfc888e3707598a29@mail.gmail.com>
In-Reply-To
<20080512191002.GQ31039@zakalwe.fi>
On Mon, May 12, 2008 at 9:10 PM, Heikki Orsila <shdl@zakalwe.fi> wrote:
>  So you assume everyone syncs everyone else often enough. I don't think
>  many organizations want to rely on that assumption. The point is to
>  have a simple, efficient and manageable backup system that
>  does _not_ require knowledge of Git internals.

Isn't that what Dscho and others have mentioned a few times now? Initially you git clone the repo, every few hours you have cron do a git pull and daily you do 'rm yesterday.tar.gz && mv today.tar.gz yesterday.tar.gz && tar czvf today.tar.gz .git '. Why would git need a 'backup script' for something so trivial? I reckon everybody wants a different type of backup too, so creating a 'git backup' would probably not be very usefull to most.

-- 
Cheers,

Sverre Rabbelier
Previous: Heikki OrsilaNext: Jakub Narebski
Message 17 of 21 in “how to backup git”
  1. bill lamMay 12, 2008
  2. Tobias SarnowskiMay 12, 2008
  3. Sverre Hvammen JohansenMay 12, 2008
  4. Eric HanchrowMay 12, 2008
  5. Johannes SchindelinMay 12, 2008
  6. bill lamMay 12, 2008
  7. Miklos VajnaMay 12, 2008
  8. Johannes SchindelinMay 12, 2008
  9. Heikki OrsilaMay 12, 2008
  10. Johannes SchindelinMay 12, 2008
  11. Heikki OrsilaMay 12, 2008
  12. Johannes SchindelinMay 12, 2008
  13. Heikki OrsilaMay 12, 2008
  14. Heikki OrsilaMay 12, 2008
  15. Tim HarperMay 12, 2008
  16. Heikki OrsilaMay 12, 2008
  17. Sverre RabbelierMay 12, 2008
  18. Jakub NarebskiMay 12, 2008
  19. Daniel BarkalowMay 12, 2008
  20. Junio C HamanoMay 12, 2008
  21. Daniel BarkalowMay 12, 2008

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.