4

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

1
  • If you have lost control of your question (as indicated by your edit) then please contact support via the help centre to get your accounts merged and so be able to mark an answer as correct: superuser.com/help/merging-accounts
    – Mokubai
    Commented Nov 2, 2013 at 21:47

1 Answer 1

4

From the rsync manual page:

Here's a example command that requests the remote side to log what is happening:

rsync -av --rsync-path="rsync --log-file=/tmp/rlog" src/ dest/

I think this is what you are searching for.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .