Copying vs of cloning?

Matt Mackall mpm at selenic.com
Tue Oct 2 19:07:11 CDT 2007


On Tue, Oct 02, 2007 at 03:59:43PM -0700, Greg Lindahl wrote:
> Speaking of backups and Mercurial, is it clever to back up a clone of
> a repo instead of the repo itself, given that those pesky users might
> change the repo during the backup?

That's one solution. Another is to take a snapshot when the lock isn't
held. And another is to regularly pull from main into a backup repo.

But the easiest thing is to just do a straight backup and be prepared
to do a verify and potentially repair a partial commit in the unlikely
event of a restore.

-- 
Mathematics is the supreme nostalgia of our time.


More information about the Mercurial mailing list