TurnKey Linux Virtual Appliance Library

rsync I/O Error using Turnkey Core

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

A few things to check

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.


I'm running it as root, so it

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

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <strike> <caption>

More information about formatting options

Leave this field empty. It's part of a security mechanism.
(Dear spammers: moderators are notified of all new posts. Spam is deleted immediately)