尝试使用borg将机器1备份到远程机器2(即语法),给出了错误
Remote: sh: borg: command not found
Connection closed by remote host. Is borg working on the server?所有权限和防火墙都经过了测试。Machine1可以从ssh到Machine2,但是当尝试从Machine1执行borg init --encryption=repokey borgdemo@Machine2:./demo时,它会出现上述错误。尝试在Machine2上使用borg很好。有什么想法吗?
发布于 2019-07-04 16:16:53
我在这里找到答案了。https://pod.disroot.org/posts/e18176ef-415c-e091-c340-9b5239891533
所以,在Machine1上做Machine1就是给了我/usr/bin/borg,在Machine2上输出的是/usr/local/bin/borg。只需在Machine2上创建一个符号链接,它就会如下所示
borg -> /usr/local/bin/borghttps://serverfault.com/questions/973995
复制相似问题