Configuring rsync

Added by Justa Guy over 3 years ago

I'm trying to use an open-source rsync client called NasBackup(.com) to connect to NexentaStor's rsync server, and keep getting "connection refused".

At one point for a little while I got a different error message regarding having to use a module instead of a /, and I don't know what I did to make that happen or to make it stop happening. Now all I get is connection refused.

Server settings were done like so:

In NexentaStor under Settings > Users, I created a UNIX user and a group by the same name, and have the boxes next to "Can search in folders" & "Can view confidential data" checked.

Then under Data Management > Shares I clicked the directory name under the "Folder" column, then the "Add Permissions for User" link, entered the username in the "UNIX/LDAP Owner" field and after checking every checkbox below, pressed the "Add New User" button.

This user's "Allow" column in the ACL list shows: listdirectory, readdata, addfile, writedata, addsubdirectory, appenddata, writexattr, execute, deletechild, writeattributes, delete, writeacl, writeowner, fileinherit, dirinherit, nopropagate, inherit_only

Then back under Data Management > Shares, I check the box under the RSYNC column and then the "Edit" link next to the box.

I populated the "Share Name" field, left the rest blank &/or unchecked & clicked the "Save" button.

Then in the "RSYNC Server" section of the sidebar I click the "Configure" link, check the box next to "Service State" where it says "Service is currently enabled", set the "Listening Port" field at 837, enter the username into the "User" & the group name of the same value in the "Group" field, "Max Connections" at 0, "Read-Only" unchecked & click the "Save" button.

In the rsync client I give it NexentaStor's IP address and the share name, which it automatically uses for the user name. I enter that user's password & set the scheduled task to run every 12 hours.

The attached screenshot just happens to show the task unscheduled- I cleared it after I gave up trying, and so it remains when I took the screenshot for this post.

When I run the task from Windows Task Scheduler by right-clicking it and choosing "Run", the progress window appears & gives a bunch of "Connection refused (111)" & "Error Code 10" messages.

Where am I doing it wrong?

Please advise.


Replies

RE: Configuring rsync - Added by Samgar   over 3 years ago

I have got similar problems with RSYNC. Is there a project related configuration manual? My RSYNC client cannot achieve write access on the server.