Hello,
What would be the most elegant way to fully backup a bare git repository.
Would the following approach work fine?
tar -cf repository.tar repository/
I wonder what happens if the repository is accessed during the backup?
Warm regards and thanks in advance,
michal
--
You received
On Fri, 17 Aug 2012 01:52:54 -0700 (PDT)
Michal Idziorek idzio...@gmail.com wrote:
What would be the most elegant way to fully backup a bare git
repository.
Would the following approach work fine?
tar -cf repository.tar repository/
I wonder what happens if the repository is accessed
On Fri, Aug 17, 2012 at 11:43 AM, Konstantin Khomoutov
flatw...@users.sourceforge.net wrote:
In my shop, we back up each Git repo on the main server to its mirror
bare repository on another box using a call to `git fetch`:
git fetch --quiet --prune repo '+refs/*:refs/*'
which essentially
On Fri, 17 Aug 2012 13:20:17 +0100
Adam Prescott a...@aprescott.com wrote:
In my shop, we back up each Git repo on the main server to its
mirror bare repository on another box using a call to `git fetch`:
git fetch --quiet --prune repo '+refs/*:refs/*'
which essentially means bring
On Fri, Aug 17, 2012 at 1:49 PM, Konstantin Khomoutov
flatw...@users.sourceforge.net wrote:
Quite probably. The problem with `git clone` is that it's supposed to
create a repository, but we keep the mirror repositories around
(I mean, they are not tarred and gzipped, and just sit there
On Fri, 17 Aug 2012 14:47:07 +0100
Adam Prescott a...@aprescott.com wrote:
Quite probably. The problem with `git clone` is that it's supposed
to create a repository, but we keep the mirror repositories around
(I mean, they are not tarred and gzipped, and just sit there waiting
for the