[Dirvish] replicate a vault with hardlinks

Richard Hector richard at walnut.gen.nz
Sun Oct 9 06:12:48 UTC 2016

Apologies for replying to myself ...

On 09/10/16 18:50, Richard Hector wrote:
> Hi all,
> I'm shifting a directory (containing my mail store) from one server to
> another.
> I'd like to keep all my history together, though.
> Does it make sense, and would it work, to "cp -al" the entire tree of my
> existing mailserver to the new one, before doing the first backup of the
> new one?

I mean "cp -al" the dirvish vault, of course. Except I presumably want
real copies of the index.gz, summary, and log files. Would they need
editing to reflect the new client name etc?

> Hopefully that will result in not doubling the space
> requirements, while keeping all the history - including any diverged
> history from this point on (due for example to misconfiguration of my
> mail server, filing my mail in the wrong place)
> Any tips appreciated.

I've just read about branches, which is close to a good solution, but I
don't think I want it arranged under one vault like that.


More information about the Dirvish mailing list