Changes

From Amahi Wiki
Jump to: navigation, search
How to configure rsync daemon in amahi/ubuntu to allow backups FROM a synology unit
$ sudo apt-get -y install xinetd
 
3. Create the file /etc/xinetd.d/rsync on Amahi box to launch rsync via xinetd. It should contain the following lines of text.
If I have anything other than user = root, I can't get it to work. Don't make it the user below. If I change it to "kevin" (user below) it fails to connect.
 
4. Create the file /etc/rsyncd.conf configuration on Amahi box to use rsync/daemon. The file should contain the following.
I made auth user = kevin and uid = kevin. "kevin" is an amahi user with admin checked (in the user area of Amahi dashboard). For multiple shares to backup to, just copy the "destination module" created by [datashare] above, and paste and edit. In my case I have 4 shares: data, media, backup, autocad. So, I have 4 modules in the rsyncd.conf file.
 
5. Create /etc/rsyncd.secrets on Amahi box for user's password. User should be the same as above, with password the one used to log into/ SSH into the HP/Amahi box.
$ sudo nano /etc/rsyncd.secrets
kevin:theuserpassword
 
$ sudo chmod 600 /etc/rsyncd.secrets
 
not sure if this was needed, but what the heck.