rsync to connect and back up to a hard drive on a remote computer that I have ssh access to.
rsync is connecting correctly. The code that's working is
rsync -av --progress -e "ssh -p port_number -i key/file/path" \ "path/on/local/computer/to/back/up" \ ssh_username@ssh_ip_address:"'path/on/remote/computer/to/back/up/to'"
I'm wondering if there is a way to get
rsync to use its
--log-file option to generate a log-file on the remote system (I want the file to be on the same remote hard drive that I'm backing up to). Any time I give it a remote path to use for the log-file (for example, with
--log-file="path/on/remote/computer"), it seems to be looking for the path on my local system. I even tried
--log-file=ssh_username@ssh_ip_address:path/on/remote/system, but it didn't work.
Is this possible, or do I need to make a log-file on the local system and then
scp it to the remote system?
Both the local and remote systems are running Ubuntu 12.04.