[Borgbackup] borg can't find executable on remote

Thomas Waldmann tw at waldmann-edv.de
Wed May 11 17:17:14 EDT 2016


Hi Steve,

 > I installed using pip on OSX and I installed the standalone binary
 > on linux.
>
>  From either platform I can init a new repo and create backups to them an mount them with fuse.
>
> What I really want to do now is run a backup job over the network from linux, that connects to the OSX borg on another machine and backs itself up.
>
> I enabled SSH on the OSX machine and tested that I can login from the linux machine using SSH (check)
>
> 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?).

> So looks like borg is not able to find the borg executable on the remote OSX host.
 > On that host, its at /usr/local/bin/borg and works from there, but I 
just can’t seem to call it remotely and use borg in a networked fashion.
>
> What am I missing?

Is maybe /usr/local/bin not in the PATH of that user you use for ssh?

Cheers, Thomas

-- 

GPG ID: FAF7B393
GPG FP: 6D5B EF9A DD20 7580 5747 B70F 9F88 FB52 FAF7 B393



More information about the Borgbackup mailing list