Skip to content

remote borg backup to synology nas fails #5608

Discussion options

You must be logged in to vote

OK, I think I found the source of the problem and a workaround.
When installing borg from the SynoCommunity package, it populates /usr/local/bin/borg and not /usr/bin/borg.
When ssh-ing from my computer to the synology nas with: ssh [email protected] -p YYYY -i ~/.ssh/key borg it fails with the very same error as in the logs above (sh: borg: command not found).

After creating a symlink using the task planner of the synology nas, run as root with a user defined script ln -s /usr/local/bin/borg /usr/bin/borg , the borg backup from nextcloudAIO starts working successfully.

So, it's not really a bug of nextcloudAIO but just a synology related problem...

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by szaimen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #5607 on November 18, 2024 13:12.