Forum: 

rsync I/O Error using Turnkey Core

Chad Huntley's picture

I have a standard turnkey core appliance running and I'm trying to run rsync on a folder under /home. Everytime I run it I get the following errors:

rsync: mkdir "/home/hello/folder" No such file or directory (2)
rsync error: error in file IO (code 11) at main.c(595) [Receiver=3.0.7]
receiving incremental file list

The script is:

rsync --verbose  --progress --stats --compress --rsh=ssh --recursive --times --perms --links --delete --exclude 'cache' test@96.55.4.80:/home/test/public_html /home/hello/folder
 

I'm guessing it has something to do with the folder permissions? The /home/hello/folder does not exist, and I just want rsync to create that.

Eric (tssgery)'s picture

does the userid you're running as have permission to create /home/hello/folder?

 

Also, if /home/hello doesn't already exist then rsync won't be able to create the folder within it.


Chad Huntley's picture

You are correct, I had to create a couple directories further down. Thank you for the help.

Post new comment