<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi,</p>
<p>I've just tried <br>
</p>
<p>doveadm backup /var/spool2/mail/user1 /home/backup/</p>
<p>doveadm(user1): <b>Error: Index is read-only</b>, can't
write-lock /var/spool2/mail/user1/dovecot.list.index.log<br>
doveadm(user1): Fatal: execvp(/var/spool2/mail/user1) failed:
Permission denied<br>
dsync-local(user1)<RYx1OMIeCGLn3AMATqx/tA>: Error:
read(remote) failed: EOF (version not received)</p>
<p>even this, with a chmod 777 on the all folder (
/var/spool2/mail/user1 before :-( )<br>
</p>
<p>What is the trick ? :-)<br>
</p>
<p>What did I miss out ?</p>
<p>Thanks for your help<br>
</p>
<div class="moz-cite-prefix">On 2/12/22 15:44, Bernardo Reino wrote:<br>
</div>
<blockquote type="cite"
cite="mid:q7r6rn76-r5o9-5q2q-85nq-2porsn9s5pp5@oozx.bet">On Fri,
11 Feb 2022, Stephane Magnier wrote:
<br>
<br>
<blockquote type="cite">OK , so I can see that there is this
doveadm backup..
<br>
<br>
I don't use any MailDir on each account.. but all the emails are
stored into the folder /var/www/mail ( user 1 , user2, etc... )
<br>
<br>
in that case, a very basic backup would be : *doveadm backup
/var/www/mail /var/backup/folder* ?
<br>
</blockquote>
<br>
I use doveadm backup like that and then rsync the backup (not the
"live" mailboxes) to another place.
<br>
<br>
<blockquote type="cite">( I prefer to ask before trying, because
If break something.. here, they will kill me :-( )
<br>
</blockquote>
<br>
It's understandable :)
<br>
<br>
Cheers,
<br>
Bernardo<br>
</blockquote>
</body>
</html>