doveadm -A backup

Aki Tuomi aki.tuomi at dovecot.fi
Fri Nov 10 09:28:34 EET 2017


You need to provide the user name in path. There is (currently) no
support for %u variable in cmdline. Sorry.

Aki


On 10.11.2017 07:45, DurgaPrasad - DatasoftComnet wrote:
> Hello,
>
> I am trying to backup all users mails using 
>
>  
>
> doveadm -Dv backup -A mdbox:/nasdrive/mailbackupfolder
>
>  
>
> However the script is not doing the backup into individual folders but is
> trying to overwrite the data in /nasdrive/mailbackupfolder for every user.
>
> Logically it should write into /nasdrive/mailbackupfolder/user1 ,
> /nasdrive/mailbackupfolder/user2 etc.
>
>  
>
> I know we can run a shell script by listing all users into a file but I feel
> that will be far slower and it will spawn multiple doveadm commands in
> parallel and is prone to delays.
>
>  
>
> Can someone suggest something on how to backup using  -A in a single
> command?
>
>  
>
> Regards
>
> DP
>
>
>
> ---
> This email has been checked for viruses by Avast antivirus software.
> https://www.avast.com/antivirus



More information about the dovecot mailing list