online conversion using replication?

Daniel Miller dmiller at amfes.com
Sun Sep 2 04:14:27 EEST 2018


With a single server - and no intent to have a second server online at 
this time - is it possible to use the replication service to keep a 
"live" backup? Or otherwise perform a storage format conversion?

I'm presently using sdbox - and considering going back to mdbox though 
without SIS.  My intent now is ONLY a 1-way backup, to be kept current, 
and no clients will utilize the converted storage (unless/until I change).

I've successfully executed:

doveadm backup -u <username> -n inbox mdbox:/var/mail/<domain>/<user>/mdbox

For a few users - but reading the docs leads me to believe I can 
automate this.  But there's no explicit example for this - so I'm not 
sure what to set.

Initially I'm thinking of:

dsync_remote_cmd = doveadm backup -u %u -n inbox mdbox:/var/mail/%d/%n/mdbox

and if that's right - which other services/listeners do I need to setup?

-- 
Daniel



More information about the dovecot mailing list