<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>That works for a one-time migration, or perhaps via a cron-job,
but what I want is basically a constant one-way backup and it
seems replication could do it more elegantly & efficiently.<br>
</p>
<pre class="moz-signature" cols="72">--
Daniel
</pre>
<div class="moz-cite-prefix">On 9/1/2018 11:14 PM, Aki Tuomi wrote:<br>
</div>
<blockquote type="cite"
cite="mid:20180902061434.0DE6B2B3DEF@talvi.dovecot.org">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<div>You don't need to setup replication for that. See
<a class="moz-txt-link-freetext" href="https://wiki2.dovecot.org/Migration/MailFormat">https://wiki2.dovecot.org/Migration/MailFormat</a></div>
<div><br>
</div>
<div id="composer_signature">
<meta http-equiv="Content-Type" content="text/html;
charset=utf-8">
---
<div>Aki Tuomi</div>
<div>Dovecot oy</div>
</div>
<div><br>
</div>
<div style="font-size:100%;color:#000000"><!-- originalMessage -->
<div>-------- Original message --------</div>
<div>From: Daniel Miller <a class="moz-txt-link-rfc2396E" href="mailto:dmiller@amfes.com"><dmiller@amfes.com></a> </div>
<div>Date: 02/09/2018 04:14 (GMT+02:00) </div>
<div>To: Dovecot Mailing List <a class="moz-txt-link-rfc2396E" href="mailto:dovecot@dovecot.org"><dovecot@dovecot.org></a> </div>
<div>Subject: online conversion using replication? </div>
<div><br>
</div>
</div>
With a single server - and no intent to have a second server
online at <br>
this time - is it possible to use the replication service to keep
a <br>
"live" backup? Or otherwise perform a storage format conversion?<br>
<br>
I'm presently using sdbox - and considering going back to mdbox
though <br>
without SIS. My intent now is ONLY a 1-way backup, to be kept
current, <br>
and no clients will utilize the converted storage (unless/until I
change).<br>
<br>
I've successfully executed:<br>
<br>
doveadm backup -u <username> -n inbox
mdbox:/var/mail/<domain>/<user>/mdbox<br>
<br>
For a few users - but reading the docs leads me to believe I can <br>
automate this. But there's no explicit example for this - so I'm
not <br>
sure what to set.<br>
<br>
Initially I'm thinking of:<br>
<br>
dsync_remote_cmd = doveadm backup -u %u -n inbox
mdbox:/var/mail/%d/%n/mdbox<br>
<br>
and if that's right - which other services/listeners do I need to
setup?<br>
<br>
-- <br>
Daniel<br>
<br>
</blockquote>
<br>
</body>
</html>