Re: Replication to more than one replica?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Rob Mueller wrote:
>> Could you do it then with sync_client -S -u instead of -r to one of 
>> the relicas?
> 
>       -u     User mode.  Remaining arguments are list of users who 
> should be replicated.
> 
> Which user though? You could do all users, but that takes time.
> 
> The point is that cyrus programs (lmtpd, imapd, etc) log actions that 
> change mailboxes, so you know exactly which mailboxes need syncing. It's 
> those logs you have to "play" twice to apply to two replicas to keep 
> replication as close as possible to real time.

It would be a way to keep a second offline replica for backing up to a 
tape archive, which is what I plan to do. I realize it's slower than the 
standard rolling replication but the archive is mainly for "ooops I 
deleted that mail" kind of scenario. In fact, I'm testing the setup 
right know with a list of all users. First run will take a while but 
further ones should only take a couple of minutes.

Of course this setup is a workaround and it gets increasingly more 
difficult with the number of users, here we only have around 500 
although many mailboxes are quite large.

Per olof
----
Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux