Assistance with doveadm backup...

Sami Ketola sami.ketola at dovecot.fi
Thu Feb 21 09:51:55 EET 2019



> On 21 Feb 2019, at 7.04, SH Development via dovecot <dovecot at dovecot.org> wrote:
> 
> Not really.  The suggestions in the post seemed to be:
> 
> 1. Tar the whole directory, which I have tried in the past, but a 130G directory takes over 18 hours to tar.
> 2. It was also suggested to rsync the directory, but the question was brought up, and not answered, about whether it was advisable to copy live mail, thus the need for doveadm sync/backup.
> 
> Based on what I’ve read about doveadm backup, this is what I need, I am just having a hard time formulating the syntax for the command.


root at ketola ~]# mkdir -p /backup/sami
root at ketola ~]# chown vmail:vmail /backup/sami
root at ketola ~]# doveadm backup -u sami Maildir:/backup/sami
<snip>
root at ketola ~]# du -hs /backup/sami
211M     /backup/sami

does this help?

Sami



More information about the dovecot mailing list