cyrus replication validation

John Capo jc at irbs.com
Mon Apr 9 12:05:22 EDT 2007


Quoting Dmitriy Kirhlarov (dkirhlarov at oilspace.com):
> On Fri, Apr 06, 2007 at 05:52:28PM -0400, John Capo wrote:
> 
> > > On both servers:
> > > find imap/ -type f | awk '!/(cache|index|header)/ {print}' | sort > server1.lst
> > > find imap/ -type f | awk '!/(cache|index|header)/ {print}' | sort > server2.lst
> > > 
> > > and
> > > diff -u server1.lst server2.lst
> > > 
> > 
> > Quick mailboxes.db check.
> > 
> > ctl_mboxlist -d | md5   on server1
> > ctl_mboxlist -d | md5   on server2
> > 
> > Both hashes should be identical.  Or diff the ctl_mboxlist -d
> > outputs.
> 
> Please, correct me, if I wrong. It's just check of mailbox lists, but
> not messages numbers.

Correct.



> 
> WBR.
> Dmitriy
> ----
> 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


More information about the Info-cyrus mailing list