On Friday, August 17, 2012 10:52:54 AM UTC+2, Michal Idziorek 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 during the backup?
Safest way I guess is to clone it, as this will ensure consistency.
If you clone it locally, you probably better use the --no-hardlink option
to make sure it's a proper copy.
You received this message because you are subscribed to the Google Groups "Git
for human beings" group.
To view this discussion on the web visit
To post to this group, send email to firstname.lastname@example.org.
To unsubscribe from this group, send email to
For more options, visit this group at