dsync backup touch source index files.
Hi everyone,
Can someone explain me why dsync need read-write access to source box when pulling data (dsync -R backup)?
I am working on migration from Dovecot 1.x with maildir to latest Dovecot 2.2.15 with mdbox and found that there is no way to do this from ro filesystem (got "failed: Read-only file system" on access to /dovecot.index.log).
I am wondering is it bug or feature?
I am not sure that this is save to allow dsync v2.2.15 to have write access to v1.x indexes.
-- Anton Chevychalov
I don't know the answer to your question, but in case you don't get a suitable answer from someone better qualified than me, you might try having dovadm pull the data my making an imap connection to the older server like:
doveadm -o imapc_features=fetch-headers -o mail_prefetch_count=20 -o imapc_port=993 -o imapc_ssl=imaps -o imapc_ssl_verify=no -o mail_fsync=never -o imapc_host=mail.example.com -o imapc_user=mailuser@exmple.com -o imapc_password=123456 backup -R imapc:
Thanks for answer. I know about that way, but that too slow compared to direct fs way. I think to make file system snapshot to be sure that I broke nothing.
But all this looks like a bug for me.
Casey Stone писал 25-02-2015 23:50:
I don't know the answer to your question, but in case you don't get a suitable answer from someone better qualified than me, you might try having dovadm pull the data my making an imap connection to the older server like:
doveadm -o imapc_features=fetch-headers -o mail_prefetch_count=20 -o imapc_port=993 -o imapc_ssl=imaps -o imapc_ssl_verify=no -o mail_fsync=never -o imapc_host=mail.example.com -o imapc_user=mailuser@exmple.com -o imapc_password=123456 backup -R imapc:
participants (3)
-
Anton Chevychalov
-
Anton Chevychalov
-
Casey Stone