Maxim wrote on 03.06.2026 09:52:
Thomas Kupper, 2026-06-03 06:43 +0200:
      linux$ rsync --rsync-path=openrsync -a -v $HOME/ openbsd-host:/path

Pleaes post the actual command line that throws that errors.

That was the actual command minus the exact hostname and path, *shrug*.

     rsync --rsync-path=openrsync -a -v -x --exclude=/.cache/ --delete $HOME/ 
obsd:/backup/path

The following works for me (Fedora 41 -> OpenBSD 7.9):

fedora$ rsync --rsync-path=openrsync -a -v -x --exclude=/.cache/ $HOME/
obsd79-2:/tmp/sync

When both -x and --exclude are given, the latter takes precedence and the error
message is: "building file list ... openrsync: syntax error in received rules".
I tried to add and remove slashes, but the result is the same.

When only -x is given, the initial sync works, but the subsequent one fails
with "openrsync: error: .: stat: No such file or directory". I tried syncing
an empty directory, and also adding/removing the trailing slash --
all to the same effect.

My rsync is from Fedora 44, which is potentially older than yours. Perhaps,

Mine Fedora is older, version 41 vs yours 44 (latest) but it's the same rsync version 3.4.1 protocol 32. I'll give it a go with Fedora 44.

But for me it doesn't work at all when I add '--delete', no combination works.

it passes different arguments to the remote openrsync or speaks an older
protocol version. I may have to throw a bunch of -v's, --info's, and --debug's
to see what rsync is telling openrsync that might upset it.

What OpenBSD version are you running it on?

Reply via email to