backing up my repositories, anything special needed?
Gábor Farkas
gabor at nekomancer.net
Fri Aug 10 16:28:07 CDT 2007
hi,
i create daily backups of my important files (well, not yet, but working
on it :), which include also my mercurial repositories...
is it enough to simply backup the directory which contains the repositories?
for example, what happens if someone is pushing to a repository at the
same time when it's backed up?
will that be ok?
or should i rather do something like:
- create a temp directory
- clone all my repositories into that directory
- backup that temp directory
?
or is hg-bundle or hg-export or something of that kind better suited for
this?
p.s: if i have the repositories on a filesystem that can create atomic
snapshots(like zfs), then is it safe to simply create a snapshot of the
repository-directory, and then back it up?
thanks,
gabor
More information about the Mercurial
mailing list