[Dovecot] one way replication
            
            
            
                22 Apr
                
                    2014
                
            
            
                22 Apr
                
                '14
                
            
            
            
        
    
                10:35 p.m.
            
        Hi,
anyone using one way (or master/slave) replication instead of master/master ? There is no info in documentation but in sources (src/doveadm/dsync/doveadm-dsync.c) i found some flags which looks like for setting up master/slave
    switch (c) {
    case '1':
            ctx->oneway = TRUE;
            ctx->backup = TRUE;
            break;
    case 'R':
            ctx->reverse_backup = TRUE;
            break;So on master i add -1 : replication_dsync_parameters = -1 -d -n INBOX -l 30 -U and on slave -1 -R: replication_dsync_parameters = -1 -R -d -n INBOX -l 30 -U
It looks it works, if i but question is if it is production ready.
[ Ohodnotte kvalitu mailu: http://nicereply.com/websupport/Stano/ ]
Pavel Stano | Troubleshooter
http://WebSupport.sk *** BERTE A VYCHUTNAVAJTE ***
        4210
        
      
          Age (days ago)
        
      
        4210
        
    
          Last active (days ago)
        
        
        
        0 comments
    
    
        
        1 participants
    
    
    
    
    
    
    
    
    participants (1)
- 
                
                Pavel Stano