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

how-to "backup" a repository

From
Wink Saville <wink@saville.com>
Date
Nov 6, 2006, 05:46 UTC
Message-ID
<454ECC23.6010503@saville.com>
Hello,

I've been working with git for a little while, but still very much a neophyte. One thing I'd like to do is be able to backup my work on a server located on my network.

Currently I have cloned the Linux 2.6 tree on my personal computer and have been backing it up by tar'ing the subdirectory with the cloned repository and then using scp to copy it to my server.

I suspect there is a better way, probably using git itself:)
How is the typically handled?
Cheers,
Next: Shawn Pearce
Message 1 of 5 in “how-to "backup" a repository”
  1. Wink SavilleNov 6, 2006
  2. Shawn PearceNov 6, 2006
  3. Wink SavilleNov 6, 2006
  4. Shawn PearceNov 6, 2006
  5. Junio C HamanoNov 6, 2006

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.