git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* Repository backups
@ 2007-09-19 15:14 Jason Sewall
  2007-09-19 15:27 ` Johannes Schindelin
  0 siblings, 1 reply; 2+ messages in thread
From: Jason Sewall @ 2007-09-19 15:14 UTC (permalink / raw
  To: git

I'd like to build a modest safety net for my various git repositories
in case of catastrophic failure. Currently, everything is backed up on
machines in the same building. I'm not expecting the Computer Science
building to get hit by terrorists and we're in a seismically stable
place, but there *is* construction nearby...

Anyway, my university offers a "mass storage" tape-based service that
is supposedly very safe. We are encouraged to give them single big
files for backups.

The temptation to just make bundles of all branch heads is great but
probably not what I really want - things like reflogs don't get handed
off with those, if I understand correctly.

Is there any argument against just making a tar of a bare clone of the
repo? Any other ideas? I'm reluctant to actually clone into the tape
(SAM-FS, which I know nothing about) because of the number of files it
would create and the lack of git tools on the machines with access to
this machine.

Thanks,
Jason

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Repository backups
  2007-09-19 15:14 Repository backups Jason Sewall
@ 2007-09-19 15:27 ` Johannes Schindelin
  0 siblings, 0 replies; 2+ messages in thread
From: Johannes Schindelin @ 2007-09-19 15:27 UTC (permalink / raw
  To: Jason Sewall; +Cc: git

Hi,

On Wed, 19 Sep 2007, Jason Sewall wrote:

> I'd like to build a modest safety net for my various git repositories
> in case of catastrophic failure. Currently, everything is backed up on
> machines in the same building. I'm not expecting the Computer Science
> building to get hit by terrorists and we're in a seismically stable
> place, but there *is* construction nearby...
> 
> Anyway, my university offers a "mass storage" tape-based service that
> is supposedly very safe. We are encouraged to give them single big
> files for backups.
> 
> The temptation to just make bundles of all branch heads is great but
> probably not what I really want - things like reflogs don't get handed
> off with those, if I understand correctly.
> 
> Is there any argument against just making a tar of a bare clone of the
> repo?

If you make a bare clone, you lose reflogs, too.

So I would backup the complete .git/ directory instead.

Hth,
Dscho

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-09-19 15:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-19 15:14 Repository backups Jason Sewall
2007-09-19 15:27 ` Johannes Schindelin

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).