I tried to use rsync -R to backup a directory together with its path. however it didn't work. the following is what happened.
]# rsync -a -e -R ssh firstname.lastname@example.org
link_stat "/email@example.com:/etc/squid" failed: No such file or directoryrsync error: some files could not be transferred (code 23) at main.c(633)
If I remove the -R it becomes ok, but I need to try the -R so that I can backup the whole directory path isntead of just the directory at the end of the path.
anyone who knows, please help me.
Thanks a lot for taking note of my question!