<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>I'm not sure what you are attempting to do here. It looks like
you just ran a doveadm backup and the process completed for userx
with a warning that the remote system (your nfs mount) lost a
particular mailbox (possibly your indexes changed or a mailbox was
deleted). From the logs you pasted it appears the process
completed normally.</p>
<p>I personally do not use dovecot's backup or replication
processes. If I needed to I would use its replication process to
sync active data between multiple systems, but I have no need for
this as of yet. Personally I chose to create offsite backups using
rsync a long time ago, as rebuilding a mailbox (reindexing) is
very simple.</p>
<p>Try running doveadm mailbox status -u userx guid
'*' as the mailbox administrator and see if you can find that
GUID, 7e05c335174bf1608f0a02004eac7fb4. Also, see if the backup
you've written to nfs has the GUID.</p>
<p><br>
</p>
<div class="moz-cite-prefix">On 2/27/22 23:33, Stephane Magnier
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:6cde49c9-f8fb-a003-d71c-5077d8968d44@netcourrier.com">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<p>Well no ..I thought that dsync was for synchro " realtime for 2
different places ?</p>
<p>Having no 2 machines in parallel ( Just a single machine ) , I
thought that a backup at regular interval would be enough ?</p>
<p>So, a simple backup should be done by dsync finally ?</p>
<p>Do you recommend finally NOT to do a backup ( Doveadm backup )
but a replication process ? ( <a class="moz-txt-link-freetext"
href="https://wiki.dovecot.org/Replication"
moz-do-not-send="true">https://wiki.dovecot.org/Replication</a>
) ?<br>
</p>
<div class="moz-cite-prefix">On 2/28/22 06:24, Ben Burk wrote:<br>
</div>
<blockquote type="cite"
cite="mid:1ff32de4-d222-45fc-999e-2aeab5f11410@burk.tech">
<meta http-equiv="Content-Type" content="text/html;
charset=UTF-8">
<p>Did you try running dsync?</p>
<div class="moz-cite-prefix">On 2/27/22 23:15, Stephane Magnier
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:cc127ad9-b455-c34e-d1b4-d66ff4a982c1@netcourrier.com">
<meta http-equiv="Content-Type" content="text/html;
charset=UTF-8">
<p>HI, <br>
</p>
<p>Any idea ? Any clue ?<br>
</p>
<div class="moz-cite-prefix">On 2/25/22 21:50, Stephane
Magnier wrote:<br>
</div>
<blockquote type="cite"
cite="mid:9cf5dc59-9871-b820-ad6e-96bc3c2c91e5@netcourrier.com">
<meta http-equiv="content-type" content="text/html;
charset=UTF-8">
<p>Hi</p>
<p>I've recently tried to use the Dovecadm backup to backup
the emails.. with the following syntax</p>
<p>doveadm -Dv backup -u userx maildir:/mnt/nfs-backup/userx</p>
<p>Sounds to be OK with few emails... Some of them got a lot
of emails and one f them got an error and stop !</p>
<blockquote>
<p>dsync(userx): Debug: brain S: Import Trash: Import
change type=expunge
GUID=1725fa475d774ee19cb98dfb6737b4f1 UID=24891
hdr_hash= result=GUIDs match<br>
dsync(userx): Debug: brain S: Import Trash: Import
change type=expunge
GUID=916ed110b4b1522868be6194f1ae36ff UID=24892
hdr_hash= result=GUIDs match<br>
dsync(userx): Debug: brain S: Import Trash: Import
change type=expunge
GUID=eb8d75c530a7b02fc26b494d9006c91b UID=24893
hdr_hash= result=GUIDs match<br>
dsync(userx): Debug: brain S: Import Trash: Import
change type=expunge
GUID=aee9155875c34861fd6500f1f2f51a26 UID=24894
hdr_hash= result=GUIDs match<br>
dsync(userx): Debug: brain S: Import Trash: Last common
UID=24894. Delayed expunges=<br>
dsync(userx): Debug: brain S: Import Trash: Saved UIDs:
<br>
dsync(userx): Debug: brain S: Import Trash: Finish
update: min_next_uid=24895 min_first_recent_uid=24895
min_highest_modseq=35344 min_highest_pvt_modseq=0<br>
dsync(userx): Debug:
/mnt/nfs-backup/userx/.Trash/dovecot.index.cache:
Compressed, file_seq changed 1645803588 ->
1645803589, size=32, max_uid=24894<br>
dsync(userx): Warning: Mailbox changes caused a desync.
You may want to run dsync again: Remote lost mailbox
GUID 7e05c335174bf1608f0a02004eac7fb4 (maybe it was just
deleted?)<br>
dsync(userx): Debug: auth-master: conn
unix:/run/dovecot/auth-userdb: Disconnected: Connection
closed (fd=10)</p>
</blockquote>
<p><br>
</p>
<p>I empty the trash... exactly the same problem...</p>
<p>Any idea why this ??</p>
<p>Thanks and regards,<br>
</p>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</body>
</html>