[Borgbackup] borg can't find executable on remote

Adrian Klaver adrian.klaver at aklaver.com
Wed May 11 18:43:59 EDT 2016


On 05/11/2016 03:40 PM, Steve Schow wrote:
> On May 11, 2016, at 3:17 PM, Thomas Waldmann <tw at waldmann-edv.de> wrote:
>
>> Hi Steve,
>>
>>> when I attempt to do the following from linux I get error:
>>>
>>>   borg init me at 192.168.1.50:/Users/me/trial.borg
>>>   Remote: bash: borg: command not found
>>
>> Sounds like the "borg" command is not in the path (or not executable or not readable?).
>>
>
> its definitely in the path, I have that dir in the path of the username being used and I am able to execute it when I login to command line using that user name on the remote machine directly.  the file is readable and executable by all.
>
> is there any reason by borg’s method of calling SSH would not get the user’s env?

There is always --remote-path:

https://borgbackup.readthedocs.io/en/stable/usage.html#borg-init

"--remote-path PATH    set remote path to executable (default: "borg")"

> _______________________________________________
> Borgbackup mailing list
> Borgbackup at python.org
> https://mail.python.org/mailman/listinfo/borgbackup
>


-- 
Adrian Klaver
adrian.klaver at aklaver.com


More information about the Borgbackup mailing list