incremental backups

Igor Lautar igor.lautar at gmail.com
Thu Jan 21 11:37:29 CST 2010


On Thu, Jan 21, 2010 at 2:48 PM, venizio krups <0000.vk at gmail.com> wrote:
> On Thu, Jan 21, 2010 at 2:34 AM, Igor Lautar <igor.lautar at gmail.com> wrote:
>> Isn't this the same to doing pulls to a clone?
>
> the incremental backups have to be encrypted (we encrypt the bundles
> after creation), and there is no hg in the medium that hosts the
> bundles. i know it's crazy.

Uh, makes sense now, but seams like a pain. What do you (backup wise)
do with decryption keys?

>> To elegantly solve this, we use separate repo for these files and
>> symlink them to their location. You can then just clone config repo
>> and be done with it (and config repo hgrc also points to file inside
>> this repo).
>> There is also post-commit hook to update config repo local working dir
>> so we can push new config - no need for login etc.
>
> do you symlink .hg itslef?

No no, just the hgrc inside .hg. Similar to the way mercurial-server
(accessing repos over ssh) does it with its admin repo.


More information about the Mercurial mailing list