Re: Live backup

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

 



Replication looks to be the solution. Surprisingly I hadn't discovered
it on my own. Many thanks to everyone for pointing it out!

However, while setting it up, I noticed a really weird thing. When
authentication fails on the master-initiated master->slave connection,
master will block connections from all clients! That's a seriously
weird design choice. Does the same thing happen when the slave goes
down? For example, if I reboot the slave, is the master mail server
down for everyone while the slave reboots? I have not dared to
experiment as when authentication failed and the Cyrus master server
stopped letting clients connect, everyone in the office started
shouting within seconds.

Best,
Elver

elver.loho@xxxxxxxxx
+372 5661 6933
http://elver.wordpress.com/
skype: elver.loho

On 16 June 2010 12:10, Patrick Boutilier <boutilpj@xxxxxxxxxxx> wrote:
> On 06/16/2010 06:08 AM, Elver Loho wrote:
>> Hi,
>>
>> I'm looking to keep a live or near-live backup of our Cyrus system
>> (currently serving about 10 people with a fairly high volume of email)
>> and the murder system seems like an overkill for such a simple thing.
>> What other options do I have?
>>
>> For MySQL I've set up master-slave replication. All the write queries
>> are replicated to the slave in near-real-time. It's good enough for
>> us. If the main server ever catches fire, we can promote the slave to
>> master and have an almost-up-to-the-second copy of things going on.
>> For PostgreSQL, I've set up a cronjob to dump the DB off the main
>> server every six hours and load it into the backup server. It's as
>> real-time as we need it.
>> Many folders that keep changing on the main server are rsynced over to
>> the backup server once a day.
>>
>> What can I do with Cyrus that would be similar, but where I wouldn't
>> have to deploy scary murder? I don't want to access the Cyrus server
>> on the backup server, but I would like the ability to easily turn it
>> on after the main server fails and lose, at most, half an hour's worth
>> of emails.
>
> Replication?
>
> http://cyrusimap.web.cmu.edu/imapd/install-replication.html
>
>
>
>>
>> Best,
>> Elver
>>
>> elver.loho@xxxxxxxxx
>> +372 5661 6933
>> http://elver.wordpress.com/
>> skype: elver.loho
>> ----
>> 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
>
> ----
> 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
>
----
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