r/BorgBackup • u/LateJunction • 12d ago
help Re Testing Release 1.4.6rc1:
Limited understanding of Borg or github or GNU in general. I have installed Borg1.4.6 in /usr/local/bin. It starts without problem.
Now, how do I make Vorta use this RC rather than borg version 1.4.5? Vorta tells me this version of borg is installed at /app/bin/borg (I assume this means ~/.var/app/com.borgbase.Vorta because there is no path ending in /app/bin/borg on that PC). Please clarify.
1
Upvotes
2
u/Moocha 11d ago
The Vorta flatpak ships its own borg installation, currently 1.4.5. In addition, flatpak by design can't directly map the host's
/usrinside the sandbox at/usr. That's why it's not seeing the host's/usr/local/bin.If a flatpak has the
filesystem=hostpermission, i.e. full access to all system files (and the Vorta flatpak does have it by its nature), then you can find the host's file system exposed inside the sandbox at/run/host-- so inside the sandbox you'd see your own/usr/local/bin/borgat the path/run/host/usr/local/bin/borg. However, I don't know if there's any way to tell Vorta the path to the borg binary it should use, you'd have to consult its documentation. Using a borg binary different from the bundled one may not be possible at all with the flatpak build, you may have to use another way of installing Vorta.1
u/ThomasJWaldmann 12d ago
I would have assumed that this should work, that it only needs to be in PATH.
Is /usr/local/bin/borg executable? chmod +x ?