Re: Server migration with rsync seems buggy

"Simon Matter" <[email protected]>
Newsgroups gmane.mail.imap.cyrus
Message-ID <[email protected]>
> Hello List,
>
> we migrated from Debian 4 to Debian10 and moved the mailboxes with rsync
> like this:
>
>   rsync -sptq -dirs --delete-delay --no-inc-recursive $Source:"$sourcedir"
> "$targetdir"

I suggest to add -H to rsync if you have hardlinked duplicates in your spool.

Simon

>   chown -R cyrus:mail "$targetdir"
>   su cyrus -c "/usr/lib/cyrus/bin/reconstruct -q -s -f \"$mboxSource\""
> 2>&1 >/dev/null
> 
> The problem we face now is that new mails only appear when we start a imap
> client (like thunderbird).
> One the connection is open, we dont see new incoming mails, even if we
> force to check for new mails.
> 
> Any hints/ideas on this?
> 
> Cheers,
> Michael
> 
> p.s next time we will use imapsync i guess :-P



------------------------------------------
Cyrus: Info
Permalink: https://cyrus.topicbox.com/groups/info/Te795b40b965149a2-M398133b2a14d40160ec6c6ab
Delivery options: https://cyrus.topicbox.com/groups/info/subscription
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.