Replication and single instance store
    Andy Fiddaman 
    cyrus at fiddaman.net
       
    Tue Sep  4 05:21:10 EDT 2007
    
    
  
On Tue, 4 Sep 2007, Bron Gondwana wrote:
; Does this mean there is no way to get single-instance-store on a replica
; if you're rebuilding it from scratch?
I've always used rsync to initialise the replica since that will
preserve the hard links - so rsync followed by shutdown, rsync
again and remove sync logs, then start it all up.
I run this on the replica to re-instate it.
for d in config data sieve; do
        echo "* Syncing /$d/"
        rsync \
                --verbose \
                --recursive \
                --perms --owner --group --times \
                --links --hard-links \
                --delete \
                --human-readable --human-readable \
                --exclude=.zfs \
                master:$cyrusroot/$d/ $cyrusroot/$d
done
A.
    
    
More information about the Info-cyrus
mailing list