[Dirvish] Change rsync options

Jenny Hopkins hopkins.jenny at gmail.com
Wed Nov 1 08:51:37 UTC 2017


On 1 November 2017 at 08:43, Jenny Hopkins <hopkins.jenny at gmail.com> wrote:
> On 1 November 2017 at 06:30, H Oli <olih10200 at gmail.com> wrote:
>> Hi Jenny,
>>
>> Yes, of course
>>
>> from the man (dirvish.conf):
>> ###
>>        rsh: command (S)
>>               Remote shell utility.
>>
>>               This can be used to specify the location of ssh or rsh
>> and/or to provide addition options for said utility such as -p port
>> for  ssh  to  use  an
>>               alternate port number.
>>
>>               If not specified ssh will be used.
>>
>>               This remote shell command will be used not only as the
>> default rsync transport but also for any pre-client and post-client
>> commands.
>>
>> ###
>>
>> --
>> Olivér
>>
>> 2017-10-31 22:11 GMT+01:00 Jenny Hopkins <hopkins.jenny at gmail.com>:
>>> Hello,
>>>
>>> Is it possible to change the options passed to rysnc when dirvish
>>> runs?  I want to get rid of the -x as it seems to be preventing
>>> dirvish from backing up /dev/mapper/home directory.
>>>
>>> Thanks,
>>>
>>> Jenny
>>> _______________________________________________
>>>
>
> Morning,
>
>  I've added a line in the default.conf that says "rsh: ssh -p 22" but
> it hasn't made any difference to the rsync command generated by
> dirvish.  Have a misunderstood?
>


Hah - got it!  It's the xdev option!  Set it to 0 thanks to finding
this excellent page:
http://redbrick.readthedocs.io/en/latest/legacy/procedures/dirvish_tutorial/

Thanks everyone.

Jenny


More information about the Dirvish mailing list