Re: re-sync slave after crash

Marcus Schopen <[email protected]>
Newsgroups gmane.mail.imap.cyrus
Message-ID <[email protected]>
Am Donnerstag, dem 11.11.2021 um 13:17 +0100 schrieb Michael Menge:
> Hi,
> 
> 
> Quoting Marcus Schopen <[email protected]>:
> 
> > Hi,
> > 
> > I had to recover my slave qcow image from backup, so that data on
> > slave
> > is one day older than on master now. Can I just fire up slave and
> > it is
> > getting in sync with master?
> > 
> 
> Rolling replication will only sync folders/sievscripts/subscribtions
> if there
> is a "new" change at that place. But then the sync_client will sync  
> all changes for that folder,
> all sievescripts, for that user or all subscriptions for that user.
> 
> Cyrus would eventually catch up, but it would be hard to figure out
> if/when
> the slave would be completely sycn with the master again.
> 
> The best method to fix this is to use "sync_client -A" to sync all
> users
> and "sync_client -m -f ListOfPublicFolders.txt"  to sync all folders
> not
> owned by any user
> 
> The two sync_client commands can run while the rolling replication is
> running.

Thanks for your help!

sync_client command must be started as user cyrus?

  /bin/su - cyrus -c "sync_client -A"

Cheers
Marcus



------------------------------------------
Cyrus: Info
Permalink: https://cyrus.topicbox.com/groups/info/Tb992829a709baf76-M19f8cdf6de3e856c8df532bb
Delivery options: https://cyrus.topicbox.com/groups/info/subscription
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.