How can I direct rsync output / log to the remote server?
Posted
by
Guest
on Super User
See other posts from Super User
or by Guest
Published on 2013-10-26T19:40:15Z
Indexed on
2013/10/27
9:59 UTC
Read the original article
Hit count: 220
I am able to output rsync logs on the client machine using --log-file=FILE
but I want the output to be sent to the server instead. The client is a W7 machine (cygwin) and the server a Linux NAS.
This is the command I use which successfully logs the file on the client. I'm looking to have the file sent to the server instead:
rsync -PavOs --delete --log-file=/somepath/rsynclog.txt -e "ssh -i /somepath/keyfile -p 1000" "/somepath/User/" [email protected]:/somepath/User/
Thanks
© Super User or respective owner