![]() |
rsync sending data from the client to the server?
Hi all,
I hope someone can shed some light on what I am doing. I am wondering if I just have things back to front. Server (MESH): Fedora 13 Firewall ports open tcp 22(ssh), tcp 873(rsync) sshd service started Client (RADIUS): Fedora 13 Firewall ports open tcp 22(ssh) sshd service started Step 1. Create network eg hardware, network address etc Step 2. Test network ping client to server Quote:
Quote:
Create a folder and files on the server and client for test purposes Client Quote:
Quote:
Create server-side config file Quote:
Code:
#motd file = /etc/rsyncd.motdCreate server-side secrets file and set access to it Quote:
Code:
mengoshmink:secretQuote:
Start rsync daemon on the server Quote:
View file list on the server, remotely Quote:
Transfer files from the server Quote:
Quote:
Now for the problem Transfer files to the server Quote:
I have not written it here but I can successfully transfer files by ssh / scp. Any comments or suggestions welcome. Thank you in advance. |
Right so it's failing to make a temp file in the root of the filesystem, should that user be able to do that? you can use the -T or --temp-dir option to specify a different location for temporary files.
|
and our survey says ...
Quote:
|
I think I have found the solution.
I think I have found the solution.
Edited /etc/rsyncd.conf Code:
#motd file = /etc/rsyncd.motdQuote:
Quote:
For example: /etc/rsyncd.conf Code:
#motd file = /etc/rsyncd.motdQuote:
Quote:
Quote:
I have done a quick test using the -a option (which includes -p to preserve permissions) and it has given me the same results as above but this could well be me doing something wrong. Ultimately transmitting the files by ssh (rsync -e /usr/bin/ssh) is a much better method but I have yet to test to see what it does (if anything) to the file/folder permissions. References: http://www.linuxformat.com/forums/vi...ighlight=rsync http://www.gaztronics.net/rsync.php http://www.unix.com/shell-programmin...t-uid-gid.html http://samba.anu.edu.au/ftp/rsync/rsyncd.conf.html http://everythinglinux.org/rsync/ http://samba.anu.edu.au/rsync/documentation.html |
Did you try "rsync -rv --inplace /tmp/test/ rsync://mesh/testpath/" ?
|
No, --inplace is not a switch that I had tried. What does it do?
|
Quote:
|
Pleased to hear it. I must implement this solution to my new clients and file server.
|
| All times are GMT -5. The time now is 03:03 AM. |