Re: how to backup git
- From
Miklos Vajna <vmiklos@frugalware.org>
- Date
- May 12, 2008, 14:54 UTC
- Message-ID
- <20080512145426.GN27724@genesis.frugalware.org>
- In-Reply-To
- <48285087.3090402@gmail.com>
On Mon, May 12, 2008 at 10:13:27PM +0800, bill lam <cbill.lam@gmail.com> wrote:
Show 5 quoted lines
> Thanks to all responders for quick reply. I still have a related question. > svn has a hotcopy command to ensure integrity so that it is possible to > backup without shutting down the svn server. If someone update the .git > while I am performing backup using tar or rsync? Will the atomicity of that > commit still preserve in my backup copy?
the only problem can be when someone runs git-gc (as it runs git-prune) while you are doing the backup. other commands never remove objects.