[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Rsync Permissions Issue




On Apr 12, 2009, at 12:20 PM, H.S. wrote:

Hal Vaughan wrote:
I'm trying to use rsync to back up from one computer to another.
Recently I had used NIS so all my systems had the same user on them so there was never a permission issue. Now I'm trying to back up from my
iMac to my Debian server.  I can't put the iMac on NIS (or probably
could, but it would NOT be fun to set up, I'm sure).

In the past I could use:

rsync -av server::Writing /data/Writing

And all my writing would be backed up from the local /data/writing to
the server.  Now that I'm not using NIS, I use:

rsync -av me@server::Writing /data/Writing

I use rsync through SSH without any problems. If you have SSH server
running on the remote machine, try:
$> rsync -ave ssh me@server:Writing /data/Writing

where "me" is your username at server machine.


Okay, that did the trick! I'm kicking myself because once I saw that, I searched the man page for "colon" and found it -- up at the top, in the "general" section, the part I skipped while looking for some obscure command line option that I was sure would do the trick! It seems the more obvious or basic something is, the more likely I am to miss it and start searching for the wrong thing.

Thanks!


Hal


Reply to: