Re: dsync “destination” argument

Felipe Gasper felipe at felipegasper.com
Wed May 20 17:51:08 EEST 2020


> On May 20, 2020, at 10:46 AM, Sami Ketola <sami.ketola at dovecot.fi> wrote:
> 
>> 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"

Isn’t this actually the same syntax that I’m asking about, where <destination> is a command name and arguments? I guess the documentation is just in want of emendation to mention this usage?

-FG


More information about the dovecot mailing list