[Eisfair] Backup-Zip Argument --rsync-path funktioniert nicht

Matthias Prill m.prill at gmx.de
So Jan 16 12:10:57 CET 2022


Am 16.01.2022 um 11:33 schrieb Marcus Röckrath:
> Hallo Matthias,
> 
> Matthias Prill wrote:
> 
>>> #!/bin/sh
>>> sudo rsync
>>>
>>> und dann auf eisseite dieses samt Pfad anzugeben.
>>>
>> aber das muß ich doch dann auch wieder in dieses Argument verpacken?
>> Dann laufe ich sicher wieder in dieselben Probleme? Aber ich probiere es
>> einfach aus...
> 
> Da würde wohl ein
> 
> --rsync-path=/path/to/rsyncwrapper
> 
> ohne " reichen, wenn die " bzw. das Leerzeichen für das Problem
> verantwortlich sind.
> 
mit dem wrapperscript bekomme ich als Ausgabe die Ausgabe von rsync ohne 
parameter, also alle Parameter usw.

Backup pi at 192.168.227.115:/etc, tec: rsyn, size: not available for ssh 
backups
Backup is running, please wait.
[---rsync  version 3.2.3  protocol version 31
Copyright (C) 1996-2020 by Andrew Tridgell, Wayne Davison, and others.
Web site: https://rsync.samba.org/
Capabilities:
     64-bit files, 64-bit inums, 32-bit timestamps, 64-bit long ints,
     socketpairs, hardlinks, hardlink-specials, symlinks, IPv6, atimes,
     batchfiles, inplace, append, ACLs, xattrs, optional protect-args,
.
...einige Ausgaben entfernt...
.
documentation.
See https://rsync.samba.org/ for updates, bug reports, and answers
rsync error: syntax or usage error (code 1) at main.c(1735) [client=3.2.3]
rsync: connection unexpectedly closed (0 bytes received so far) [Receiver]
rsync error: error in rsync protocol data stream (code 12) at io.c(228) 
[Receiver=3.2.3]
- 8 Sec.]
Backup finished!


Muß ich nicht noch die Aufrufparameter womit das Wrapperscript 
aufgerufen wird irgendwie weiterreichen?


Mehr Informationen über die Mailingliste Eisfair