Assistance with doveadm backup...

SH Development listaccount at starionline.com
Thu Feb 21 09:52:55 EET 2019


Here is my command:

[root at mail maelstrombackups] #mkdir -p vmailbackup
[root at mail vmail]# chown: vmail:vmail /mnt/maelstrombackups/vmailbackup
[root at mail vmail]# doveadm backup -u jeff maildir:/mnt/maelstrombackups/vmailbackup

Only gives me the usage list, doesn’t work.

Jeff

> On Feb 21, 2019, at 1:29 AM, Sami Ketola <Sami.Ketola at Open-Xchange.com> wrote:
> 
> 
> 
>> 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