Differences between revisions 3 and 4
Revision 3 as of 2007-08-17 06:05:48
Size: 512
Comment:
Revision 4 as of 2007-08-17 06:08:39
Size: 704
Comment:
Deletions are marked like this. Additions are marked like this.
Line 7: Line 7:
   * mpm: There will be a partial commit in progress during the backup. The repo will contain part of the commit and won't pass verify. Doing a pull of the last good revision will repair it.

(this is a summary of a thread on the mailing list around 2007-08-11. backing up of a mercurial repository can be done:

  • regular cloning - only if you check in regularly
    • you may use mq init -c to also allow backup of your local changes (see MqTutorial)

  • copy the filesystem
    • mpm: there is a "potential not serious race" when somebody is pushing at the same time to the rep
    • mpm: There will be a partial commit in progress during the backup. The repo will contain part of the commit and won't pass verify. Doing a pull of the last good revision will repair it.
    • mpm: if the filesystem is able to create snapshots (like zfs) there is no race. take a snapshot, then back it up

BackUp (last edited 2009-05-19 19:31:05 by localhost)