One-way synchronization with doveadm/TCP
Hello,
the replication procedure described at https://doc.dovecot.org/configuration_manual/replication/ suggests to open a server port 12345 on two systems, and then point each system to the other one. This creates bi-directional synchronization.
I want to synchronize only from server A to server B, but not in the opposite direction. Is it sufficient on server A to set
service doveadm { inet_listener { port = 12345 } } doveadm_password = secret
and server B to set
doveadm_port = 12345 doveadm_password = secret
? In other words, when a doveadm client (system B) connects to a server (system A) for replication purposes, does it only read data? Or does it instruct the server also to delete data?
To start the replication I had to executed «doveadm replicator replicate '*'». Is in necessary to run this periodically?
Thanks for your answer, Дилян
On 04/07/2024 09:35, Дилян Палаузов via dovecot wrote:
Hello,
the replication procedure described at https://doc.dovecot.org/configuration_manual/replication/ suggests to open a server port 12345 on two systems, and then point each system to the other one. This creates bi-directional synchronization.
I want to synchronize only from server A to server B, but not in the opposite direction. Is it sufficient on server A to set
service doveadm { inet_listener { port = 12345 } } doveadm_password = secret
and server B to set
doveadm_port = 12345 doveadm_password = secret
? In other words, when a doveadm client (system B) connects to a server (system A) for replication purposes, does it only read data? Or does it instruct the server also to delete data?
To start the replication I had to executed «doveadm replicator replicate '*'». Is in necessary to run this periodically?
Thanks for your answer, Дилян
Hi Дилян
in case you had not seen it, from my understanding of previous posts on the list, the replication feature will be removed in 2.4 release. I know that doesn't help with the detailed questions, but thought I'd mention it before you decide to spend time on setting it up.
John
participants (2)
-
John Fawcett
-
Дилян Палаузов