fail: doveadm backup -s "<state>" with a huuge number of mailboxes
Heiko Schlittermann
hs at schlittermann.de
Thu Nov 12 10:56:44 UTC 2015
Hello,
I'm using 2.2.13.
For syncing I'm using repetitions of about the
following (simplified for readability):
state_file=.s
doveadm \
-o imapc_master_user=<master> \
-o imapc_password=<pw> \
-o imapc_host=<host> \
-o mail_fsync=never \
backup -s "$(<.s)" -u "<user>" -R imapc: >.s_new
mv .s_new .s
The user has about 4501 IMAP folders. This makes a huge
state output of about 128 kB. This in turn leads to an overly long
command line in the next iteration. (excuse: command line too long)
Is there any chance to solve this? I think, the only possibility would
be to have doveadm-backup -s read the state from a *file*, wouldn't it?
(Apart from the fact that I do not see a manpage for this, except
entries in the Wiki (but this may be due to poor packaging) of the
Debian dovecot package.)
Best regards from Dresden/Germany
Viele Grüße aus Dresden
Heiko Schlittermann
--
SCHLITTERMANN.de ---------------------------- internet & unix support -
Heiko Schlittermann, Dipl.-Ing. (TU) - {fon,fax}: +49.351.802998{1,3} -
gnupg encrypted messages are welcome --------------- key ID: F69376CE -
! key id 7CBF764A and 972EAC9F are revoked since 2015-01 ------------ -
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <http://dovecot.org/pipermail/dovecot/attachments/20151112/f3485470/attachment.sig>
More information about the dovecot
mailing list