How do you get rsync to output a log file - don't understand the MAN pages sorry
Hi There,
Just trying to backup our web hosting server using rsync but can't figure out how to add a log file.
The MAN pages say to use the following syntax:
rsync -av --rsync-path="rsync --log-file=/tmp/rlog" src/ dest/But when I add that log command into my call like this:
rsync -avz -e --rsync-path="rsync --log-file=/Users/username/rsync.log" ssh user@server:/home/ /Volumes/ServerVolume/webserver-backups/LIVE/home/I get errors and the command won't run - obviously my syntax is wrong somehow.
Does anyone know how to add a log file to an rsync command?
Any help would be much appreciated.