On Friday, August 17, 2012 10:52:54 AM UTC+2, Michal Idziorek wrote: > > 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? > > 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 https://groups.google.com/d/msg/git-users/-/Nt8ocMwAch0J. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/git-users?hl=en.
