Re: re-sync slave after crash

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

 



Am Donnerstag, dem 11.11.2021 um 13:17 +0100 schrieb Michael Menge:
> Hi,
> 
> 
> Quoting Marcus Schopen <lists@xxxxxxxxxxxx>:
> 
> > 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




[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