I can confirm the same issue with borgbackup2==2.0.0b19-1.
As workaround I need to use:
export BORG_REMOTE_PATH="borg2"
On Thu, 17 Oct 2024 19:56:56 +0200 =?utf-8?q?J=C3=BCrgen_Bausa?=
<[email protected]> wrote:
> Package: borgbackup2
> Version: 2.0.0b5-1
> Severity: important
>
> Dear Maintainer,
>
> I installed borgbackup2 on my debian bookworm worstation and server.
When I try to create a
> repesitory on the server using "borg2 rcreate ssh://borg@la..." on
the workstation, I get an error
> message saying "command not found".
>
> The reason is that borg2 on the client tries to call borg via ssh on
the server.
> However, borg does not exist, as only borg2 is installed.
>
> By creating a symlink for borg2 I could solve the problem.
>
> Regards,
>
> Jürgen
>
> -- System Information:
> Debian Release: 12.7
> APT prefers stable-updates
> APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500,
'proposed-updates'), (500, 'stable')
> Architecture: amd64 (x86_64)
>
> Kernel: Linux 6.1.0-26-amd64 (SMP w/4 CPU threads; PREEMPT)
> Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8),
LANGUAGE=de:en_US
> Shell: /bin/sh linked to /usr/bin/dash
> Init: systemd (via /run/systemd/system)
> LSM: AppArmor: enabled
>
> Versions of packages borgbackup2 depends on:
> ii libacl1 2.3.1-3
> ii libc6 2.36-9+deb12u8
> ii liblz4-1 1.9.4-1
> ii libssl3 3.0.14-1~deb12u2
> ii libxxhash0 0.8.1-1
> ii libzstd1 1.5.4+dfsg2-5
> ii python3 3.11.2-1+b1
> ii python3-argon2 21.1.0-2
> ii python3-msgpack 1.0.3-2+b1
> ii python3-packaging 23.0-1
> ii python3-pkg-resources 66.1.1-1
> ii python3-platformdirs 2.6.0-1
>
> Versions of packages borgbackup2 recommends:
> ii fuse3 [fuse] 3.14.0-4
> ii python3-llfuse 1.4.1+dfsg-2+b3
> ii python3-pyfuse3 3.2.1-2+b2
>
> Versions of packages borgbackup2 suggests:
> pn borgbackup2-doc <none>
>
> -- no debconf information