On Jun 03 09:52:44, [email protected] wrote:
> 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,
> 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.

While rsync is running on the fedora box, look at (pgrep -fl)
the exact rsync command it spawns on the obsd box.

Reply via email to