incremental backups

venizio krups 0000.vk at gmail.com
Wed Jan 20 18:52:15 CST 2010


On Wed, Jan 20, 2010 at 5:45 PM,  <Deepak.Kumar1 at rbs.com> wrote:
> Is there a way to take incremental backups of the repository and then
> reconstitute them to a separate location as required ?
> Similar to a sql database where the logs can be separately backed up and
> then replayed
>
>
> thanks
> kumar

check out hg bundles --base. write a little script/extension that
keeps track of the last hash id it was run on, and then pass that to
--base, update the hashid,  and so on ....

we've done this for more than a year, and on one instance restored
from the incremental-backup-bundle store. works very well.

hope that helps.

-vk


More information about the Mercurial mailing list