Re: dsync “destination” argument
Sami Ketola
sami.ketola at dovecot.fi
Wed May 20 17:46:28 EEST 2020
> On 16. May 2020, at 3.46, Felipe Gasper <felipe at felipegasper.com> wrote:
>
> Hello,
>
> Some code that I didn’t write but am maintaining passes a local script’s path as dsync’s “destination” argument, like so:
>
> dsync -D -u john -v backup -R -1 "/code/dsync_client.pl" 127.0.0.1 john at mydomain.org
>
> dsync_client.pl establishes a TCP connection with a remote dsync process then acts as a proxy between the two dsync processes. “127.0.0.1” and “john at mydomain.org” are given as arguments to dsync_client.pl.
>
> I don’t see this usage described in dsync’s man page. I just want to be sure: is this a supported use of dsync?
>
> Thank you!
Is there any reason why you are doing it this way and not using it the way it is usually used? backup does not support -1 btw.
doveadm backup -u john -R ssh sshuser at remote "sudo /usr/bin/doveadm dsync-server -u john"
Sami
More information about the dovecot
mailing list