<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.amahi.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Kevin+Robison</id>
	<title>Amahi Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.amahi.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Kevin+Robison"/>
	<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php/Special:Contributions/Kevin_Robison"/>
	<updated>2026-05-11T09:33:41Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.34.2</generator>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=Network_backup_FROM_Synology_TO_Amahi&amp;diff=89096</id>
		<title>Network backup FROM Synology TO Amahi</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=Network_backup_FROM_Synology_TO_Amahi&amp;diff=89096"/>
		<updated>2014-10-10T17:17:59Z</updated>

		<summary type="html">&lt;p&gt;Kevin Robison: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&amp;lt;!--Your text bellow this line--&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
This is for those trying to get a synology/xpenology box (source) to backup over the network to an Amahi box (target).  I thought that one could fill out the dashboard on the source, and hit the &amp;quot;go&amp;quot; button to start the backup to the HP/Amahi. I found it was not so easy.  This is for Amahi 6/ Ubuntu 12.04.  &lt;br /&gt;
&lt;br /&gt;
For some reason, xpenology likes an rsync daemon running on the target. So we have to setup the target to be ready.&lt;br /&gt;
&lt;br /&gt;
1. Edit the file /etc/default/rsync in the Amahi box to start rsync as daemon using xinetd. &lt;br /&gt;
&lt;br /&gt;
{{Code|&lt;br /&gt;
Code = sudo nano /etc/default/rsync&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The entry listed below, should be changed from false to inetd.&lt;br /&gt;
&lt;br /&gt;
RSYNC_ENABLE=inetd&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2. Install xinetd on the Amahi box because it's apparently not installed by default.&lt;br /&gt;
&lt;br /&gt;
{{Code|&lt;br /&gt;
Code = sudo apt-get -y install xinetd&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3. Create the file /etc/xinetd.d/rsync on Amahi box to launch rsync via xinetd. &lt;br /&gt;
&lt;br /&gt;
{{Code|&lt;br /&gt;
Code = sudo nano /etc/xinetd.d/rsync&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
It should contain the following lines of text:&lt;br /&gt;
&lt;br /&gt;
service rsync &amp;lt;br /&amp;gt;&lt;br /&gt;
{ &amp;lt;br /&amp;gt;&lt;br /&gt;
disable = no &amp;lt;br /&amp;gt;&lt;br /&gt;
socket_type = stream &amp;lt;br /&amp;gt;&lt;br /&gt;
wait = no &amp;lt;br /&amp;gt;&lt;br /&gt;
user = root &amp;lt;br /&amp;gt;&lt;br /&gt;
server = /usr/bin/rsync &amp;lt;br /&amp;gt;&lt;br /&gt;
server_args = --daemon &amp;lt;br /&amp;gt;&lt;br /&gt;
log_on_failure += USERID &amp;lt;br /&amp;gt;&lt;br /&gt;
flags = IPv6 &amp;lt;br /&amp;gt;&lt;br /&gt;
} &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
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 &amp;quot;kevin&amp;quot; (user below) it fails to connect.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4. Create the file /etc/rsyncd.conf configuration on Amahi box to use rsync/daemon. &lt;br /&gt;
{{Code|&lt;br /&gt;
Code = sudo nano /etc/rsyncd.conf&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The file should contain the following.&lt;br /&gt;
&lt;br /&gt;
max connections = 2 &amp;lt;br /&amp;gt;&lt;br /&gt;
log file = /var/log/rsync.log &amp;lt;br /&amp;gt;&lt;br /&gt;
timeout = 300 &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[datashare] &amp;lt;br /&amp;gt;&lt;br /&gt;
comment = Data backup share &amp;lt;br /&amp;gt;&lt;br /&gt;
path = /var/hda/files/data &amp;lt;br /&amp;gt;&lt;br /&gt;
read only = no &amp;lt;br /&amp;gt;&lt;br /&gt;
list = yes &amp;lt;br /&amp;gt;&lt;br /&gt;
uid = kevin &amp;lt;br /&amp;gt;&lt;br /&gt;
gid = nogroup &amp;lt;br /&amp;gt;&lt;br /&gt;
auth users = kevin &amp;lt;br /&amp;gt;&lt;br /&gt;
secrets file = /etc/rsyncd.secrets &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I made auth user = kevin and uid = kevin. &amp;quot;kevin&amp;quot; is an amahi user with admin checked (in the user area of Amahi dashboard). For multiple shares to backup to, just copy the &amp;quot;destination module&amp;quot; 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.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5. Create /etc/rsyncd.secrets on Amahi box for user's password. &lt;br /&gt;
&lt;br /&gt;
{{Code|&lt;br /&gt;
Code = sudo nano /etc/rsyncd.secrets&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
User should be the same as above, with password the one used to log into/ SSH into the HP/Amahi box. Format is user:password, like below.&lt;br /&gt;
&lt;br /&gt;
kevin:theuserpassword&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
6. Then set the file permissions for rsyncd.secrets on the Amahi box.&lt;br /&gt;
&lt;br /&gt;
{{Code|&lt;br /&gt;
Code = sudo chmod 600 /etc/rsyncd.secrets&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
7. Start/Restart xinetd&lt;br /&gt;
&lt;br /&gt;
{{Code|&lt;br /&gt;
Code = sudo /etc/init.d/xinetd restart&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
not sure if this was needed, but what the heck.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now for the source side of things:  &amp;lt;br /&amp;gt;&lt;br /&gt;
1. In the xpenology box, load the dashboard/web interface --&amp;gt; mainmenu/backup and replication. &amp;lt;br /&amp;gt;&lt;br /&gt;
2. click &amp;quot;backup destination&amp;quot; &amp;lt;br /&amp;gt;&lt;br /&gt;
3. click &amp;quot;create&amp;quot; &amp;lt;br /&amp;gt;&lt;br /&gt;
4. pick &amp;quot;network destination / rsync compatible&amp;quot; then NEXT &amp;lt;br /&amp;gt;&lt;br /&gt;
5. Name it something you'll understand ... in my case: &amp;quot;data share on Amahi&amp;quot; &amp;lt;br /&amp;gt;&lt;br /&gt;
6. IP address (self explanatory) &amp;lt;br /&amp;gt;&lt;br /&gt;
7. user: kevin &amp;lt;br /&amp;gt;&lt;br /&gt;
8. password: theuserpassword &amp;lt;br /&amp;gt;&lt;br /&gt;
9. backup module: datashare (if you made 4 modules like I did, all 4 are available for selection as backup targets) &amp;lt;br /&amp;gt;&lt;br /&gt;
10. hit APPLY. If it doesn't work, check the user and passwords. &amp;lt;br /&amp;gt;&lt;br /&gt;
11. Do the other modules in the same manner &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now, to setup a backup job on the xpenology box: &amp;lt;br /&amp;gt;&lt;br /&gt;
1. click &amp;quot;backup&amp;quot; , then &amp;quot;create&amp;quot;, then &amp;quot;data backup task&amp;quot; &amp;lt;br /&amp;gt;&lt;br /&gt;
2. select the folders to backup (pick one with little data or a test folder to make sure it works) &amp;lt;br /&amp;gt;&lt;br /&gt;
3. select one of the backup destinations you just created and hit NEXT &amp;lt;br /&amp;gt;&lt;br /&gt;
4. name the task, say &amp;quot;backup of data to Amahi&amp;quot; &amp;lt;br /&amp;gt;&lt;br /&gt;
5. name the directory on the Amahi share where the backup is going &amp;lt;br /&amp;gt;&lt;br /&gt;
6. side note: here's where it got interesting. if I leave metadata and thumbnails selected or unselected and I have &amp;quot;kevin&amp;quot; as the user, it works fine. If I have &amp;quot;rsync&amp;quot; as the user with admin permission (as when I was experimenting with the setup) and have the above 2 things selected, the files came over with protections. I couldn't delete some folders of the test run (I think the metadata ones). I'd have to chmod them to be able to delete them. When I deselected them they were deletable. Someone better than me at this can tell me why. Anyhow, I can't see why you'd really need it, so deselect them and give it a shot. &amp;lt;br /&amp;gt;&lt;br /&gt;
7. then hit APPLY &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Do a &amp;quot;backup now&amp;quot; to see if it works and that you can delete the backup directory (no odd permissions). If it works, then you can edit the backup task and put a schedule on it.&lt;br /&gt;
&lt;br /&gt;
I think I captured everything I did accurately, and I hope that helps someone.&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--Your text above this line--&amp;gt;&lt;br /&gt;
[[Category:Platform]]&lt;/div&gt;</summary>
		<author><name>Kevin Robison</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=Network_backup_FROM_Synology_TO_Amahi&amp;diff=89091</id>
		<title>Network backup FROM Synology TO Amahi</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=Network_backup_FROM_Synology_TO_Amahi&amp;diff=89091"/>
		<updated>2014-10-10T17:06:32Z</updated>

		<summary type="html">&lt;p&gt;Kevin Robison: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&amp;lt;!--Your text bellow this line--&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
This is for those trying to get a synology/xpenology box (source) to backup over the network to an Amahi box (target).  I thought that one could fill out the dashboard on the source, and hit the &amp;quot;go&amp;quot; button to start the backup to the HP/Amahi. I found it was not so easy.  This is for Amahi 6/ Ubuntu 12.04.  &lt;br /&gt;
&lt;br /&gt;
For some reason, xpenology likes an rsync daemon running on the target. So we have to setup the target to be ready.&lt;br /&gt;
&lt;br /&gt;
1. Edit the file /etc/default/rsync in the Amahi box to start rsync as daemon using xinetd. &lt;br /&gt;
&lt;br /&gt;
{{Code|&lt;br /&gt;
Code = sudo nano /etc/default/rsync&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The entry listed below, should be changed from false to inetd.&lt;br /&gt;
&lt;br /&gt;
RSYNC_ENABLE=inetd&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2. Install xinetd on the Amahi box because it's apparently not installed by default.&lt;br /&gt;
&lt;br /&gt;
{{Code|&lt;br /&gt;
Code = sudo apt-get -y install xinetd&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3. Create the file /etc/xinetd.d/rsync on Amahi box to launch rsync via xinetd. &lt;br /&gt;
&lt;br /&gt;
{{Code|&lt;br /&gt;
Code = sudo nano /etc/xinetd.d/rsync&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
It should contain the following lines of text.&lt;br /&gt;
&lt;br /&gt;
service rsync &amp;lt;br /&amp;gt;&lt;br /&gt;
{ &amp;lt;br /&amp;gt;&lt;br /&gt;
disable = no &amp;lt;br /&amp;gt;&lt;br /&gt;
socket_type = stream &amp;lt;br /&amp;gt;&lt;br /&gt;
wait = no &amp;lt;br /&amp;gt;&lt;br /&gt;
user = root &amp;lt;br /&amp;gt;&lt;br /&gt;
server = /usr/bin/rsync &amp;lt;br /&amp;gt;&lt;br /&gt;
server_args = --daemon &amp;lt;br /&amp;gt;&lt;br /&gt;
log_on_failure += USERID &amp;lt;br /&amp;gt;&lt;br /&gt;
flags = IPv6 &amp;lt;br /&amp;gt;&lt;br /&gt;
} &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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 &amp;quot;kevin&amp;quot; (user below) it fails to connect.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4. Create the file /etc/rsyncd.conf configuration on Amahi box to use rsync/daemon. &lt;br /&gt;
{{Code|&lt;br /&gt;
Code = sudo nano /etc/rsyncd.conf&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The file should contain the following.&lt;br /&gt;
&lt;br /&gt;
max connections = 2 &amp;lt;br /&amp;gt;&lt;br /&gt;
log file = /var/log/rsync.log &amp;lt;br /&amp;gt;&lt;br /&gt;
timeout = 300 &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[datashare] &amp;lt;br /&amp;gt;&lt;br /&gt;
comment = Data backup share &amp;lt;br /&amp;gt;&lt;br /&gt;
path = /var/hda/files/data &amp;lt;br /&amp;gt;&lt;br /&gt;
read only = no &amp;lt;br /&amp;gt;&lt;br /&gt;
list = yes &amp;lt;br /&amp;gt;&lt;br /&gt;
uid = kevin &amp;lt;br /&amp;gt;&lt;br /&gt;
gid = nogroup &amp;lt;br /&amp;gt;&lt;br /&gt;
auth users = kevin &amp;lt;br /&amp;gt;&lt;br /&gt;
secrets file = /etc/rsyncd.secrets &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I made auth user = kevin and uid = kevin. &amp;quot;kevin&amp;quot; is an amahi user with admin checked (in the user area of Amahi dashboard). For multiple shares to backup to, just copy the &amp;quot;destination module&amp;quot; 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.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5. Create /etc/rsyncd.secrets on Amahi box for user's password. &lt;br /&gt;
&lt;br /&gt;
{{Code|&lt;br /&gt;
Code = sudo nano /etc/rsyncd.secrets&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
User should be the same as above, with password the one used to log into/ SSH into the HP/Amahi box. Format is user:password, like below.&lt;br /&gt;
&lt;br /&gt;
kevin:theuserpassword&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
6. Then set the file permissions for rsyncd.secrets on the Amahi box.&lt;br /&gt;
&lt;br /&gt;
{{Code|&lt;br /&gt;
Code = sudo chmod 600 /etc/rsyncd.secrets&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
7. Start/Restart xinetd&lt;br /&gt;
&lt;br /&gt;
{{Code|&lt;br /&gt;
Code = sudo /etc/init.d/xinetd restart&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
not sure if this was needed, but what the heck.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now for the source side of things:  &amp;lt;br /&amp;gt;&lt;br /&gt;
1. In the xpenology box, load the dashboard/web interface --&amp;gt; mainmenu/backup and replication. &amp;lt;br /&amp;gt;&lt;br /&gt;
2. click &amp;quot;backup destination&amp;quot; &amp;lt;br /&amp;gt;&lt;br /&gt;
3. click &amp;quot;create&amp;quot; &amp;lt;br /&amp;gt;&lt;br /&gt;
4. pick &amp;quot;network destination / rsync compatible&amp;quot; then NEXT &amp;lt;br /&amp;gt;&lt;br /&gt;
5. Name it something you'll understand ... in my case: &amp;quot;data share on Amahi&amp;quot; &amp;lt;br /&amp;gt;&lt;br /&gt;
6. IP address (self explanatory) &amp;lt;br /&amp;gt;&lt;br /&gt;
7. user: kevin &amp;lt;br /&amp;gt;&lt;br /&gt;
8. password: theuserpassword &amp;lt;br /&amp;gt;&lt;br /&gt;
9. backup module: datashare (if you made 4 modules like I did, all 4 are available for selection as backup targets) &amp;lt;br /&amp;gt;&lt;br /&gt;
10. hit APPLY. If it doesn't work, check the user and passwords. &amp;lt;br /&amp;gt;&lt;br /&gt;
11. Do the other modules in the same manner &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now, to setup a backup job on the xpenology box: &amp;lt;br /&amp;gt;&lt;br /&gt;
1. click &amp;quot;backup&amp;quot; , then &amp;quot;create&amp;quot;, then &amp;quot;data backup task&amp;quot; &amp;lt;br /&amp;gt;&lt;br /&gt;
2. select the folders to backup (pick one with little data or a test folder to make sure it works) &amp;lt;br /&amp;gt;&lt;br /&gt;
3. select one of the backup destinations you just created and hit NEXT &amp;lt;br /&amp;gt;&lt;br /&gt;
4. name the task, say &amp;quot;backup of data to Amahi&amp;quot; &amp;lt;br /&amp;gt;&lt;br /&gt;
5. name the directory on the Amahi share where the backup is going &amp;lt;br /&amp;gt;&lt;br /&gt;
6. side note: here's where it got interesting. if I leave metadata and thumbnails selected or unselected and I have &amp;quot;kevin&amp;quot; as the user, it works fine. If I have &amp;quot;rsync&amp;quot; as the user with admin permission (as when I was experimenting with the setup) and have the above 2 things selected, the files came over with protections. I couldn't delete some folders of the test run (I think the metadata ones). I'd have to chmod them to be able to delete them. When I deselected them they were deletable. Someone better than me at this can tell me why. Anyhow, I can't see why you'd really need it, so deselect them and give it a shot. &amp;lt;br /&amp;gt;&lt;br /&gt;
7. then hit APPLY &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Do a &amp;quot;backup now&amp;quot; to see if it works and that you can delete the backup directory (no odd permissions). If it works, then you can edit the backup task and put a schedule on it.&lt;br /&gt;
&lt;br /&gt;
I think I captured everything I did accurately, and I hope that helps someone.&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--Your text above this line--&amp;gt;&lt;br /&gt;
[[Category:Platform]]&lt;/div&gt;</summary>
		<author><name>Kevin Robison</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=Network_backup_FROM_Synology_TO_Amahi&amp;diff=89086</id>
		<title>Network backup FROM Synology TO Amahi</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=Network_backup_FROM_Synology_TO_Amahi&amp;diff=89086"/>
		<updated>2014-10-10T17:03:56Z</updated>

		<summary type="html">&lt;p&gt;Kevin Robison: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- &lt;br /&gt;
This page is crated automaticaly by a script.&lt;br /&gt;
This part is commented and shall not show&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&amp;lt;!--At the top of the page can be vissible one of the following tags..--&amp;gt;&lt;br /&gt;
    {{WorkInProgress}}&lt;br /&gt;
&amp;lt;!--{{NeedsUpdate}}--&amp;gt;&lt;br /&gt;
&amp;lt;!--{{NeedsMerge | [[Main Page]]}}--&amp;gt;&lt;br /&gt;
&amp;lt;!--{{NeedsExpantion}}--&amp;gt;&lt;br /&gt;
&amp;lt;!--{{NeedsDelete |[[Main Page]]}}--&amp;gt;&lt;br /&gt;
&amp;lt;!--Please remove or place comment accordingly--&amp;gt;&lt;br /&gt;
&amp;lt;!--Your text bellow this line--&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
This is for those trying to get a synology/xpenology box (source) to backup over the network to an Amahi box (target).  I thought that one could fill out the dashboard on the source, and hit the &amp;quot;go&amp;quot; button to start the backup to the HP/Amahi. I found it was not so easy.  This is for Amahi 6/ Ubuntu 12.04.  &lt;br /&gt;
&lt;br /&gt;
For some reason, xpenology likes an rsync daemon running on the target. So we have to setup the target to be ready.&lt;br /&gt;
&lt;br /&gt;
1. Edit the file /etc/default/rsync in the Amahi box to start rsync as daemon using xinetd. &lt;br /&gt;
&lt;br /&gt;
{{Code|&lt;br /&gt;
Code = sudo nano /etc/default/rsync&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The entry listed below, should be changed from false to inetd.&lt;br /&gt;
&lt;br /&gt;
RSYNC_ENABLE=inetd&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2. Install xinetd on the Amahi box because it's apparently not installed by default.&lt;br /&gt;
&lt;br /&gt;
{{Code|&lt;br /&gt;
Code = sudo apt-get -y install xinetd&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3. Create the file /etc/xinetd.d/rsync on Amahi box to launch rsync via xinetd. &lt;br /&gt;
&lt;br /&gt;
{{Code|&lt;br /&gt;
Code = sudo nano /etc/xinetd.d/rsync&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
It should contain the following lines of text.&lt;br /&gt;
&lt;br /&gt;
service rsync &amp;lt;br /&amp;gt;&lt;br /&gt;
{ &amp;lt;br /&amp;gt;&lt;br /&gt;
disable = no &amp;lt;br /&amp;gt;&lt;br /&gt;
socket_type = stream &amp;lt;br /&amp;gt;&lt;br /&gt;
wait = no &amp;lt;br /&amp;gt;&lt;br /&gt;
user = root &amp;lt;br /&amp;gt;&lt;br /&gt;
server = /usr/bin/rsync &amp;lt;br /&amp;gt;&lt;br /&gt;
server_args = --daemon &amp;lt;br /&amp;gt;&lt;br /&gt;
log_on_failure += USERID &amp;lt;br /&amp;gt;&lt;br /&gt;
flags = IPv6 &amp;lt;br /&amp;gt;&lt;br /&gt;
} &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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 &amp;quot;kevin&amp;quot; (user below) it fails to connect.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4. Create the file /etc/rsyncd.conf configuration on Amahi box to use rsync/daemon. &lt;br /&gt;
{{Code|&lt;br /&gt;
Code = sudo nano /etc/rsyncd.conf&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The file should contain the following.&lt;br /&gt;
&lt;br /&gt;
max connections = 2 &amp;lt;br /&amp;gt;&lt;br /&gt;
log file = /var/log/rsync.log &amp;lt;br /&amp;gt;&lt;br /&gt;
timeout = 300 &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[datashare] &amp;lt;br /&amp;gt;&lt;br /&gt;
comment = Data backup share &amp;lt;br /&amp;gt;&lt;br /&gt;
path = /var/hda/files/data &amp;lt;br /&amp;gt;&lt;br /&gt;
read only = no &amp;lt;br /&amp;gt;&lt;br /&gt;
list = yes &amp;lt;br /&amp;gt;&lt;br /&gt;
uid = kevin &amp;lt;br /&amp;gt;&lt;br /&gt;
gid = nogroup &amp;lt;br /&amp;gt;&lt;br /&gt;
auth users = kevin &amp;lt;br /&amp;gt;&lt;br /&gt;
secrets file = /etc/rsyncd.secrets &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I made auth user = kevin and uid = kevin. &amp;quot;kevin&amp;quot; is an amahi user with admin checked (in the user area of Amahi dashboard). For multiple shares to backup to, just copy the &amp;quot;destination module&amp;quot; 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.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5. Create /etc/rsyncd.secrets on Amahi box for user's password. &lt;br /&gt;
&lt;br /&gt;
{{Code|&lt;br /&gt;
Code = sudo nano /etc/rsyncd.secrets&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
User should be the same as above, with password the one used to log into/ SSH into the HP/Amahi box. Format is user:password, like below.&lt;br /&gt;
&lt;br /&gt;
kevin:theuserpassword&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
6. Then set the file permissions for rsyncd.secrets on the Amahi box.&lt;br /&gt;
&lt;br /&gt;
{{Code|&lt;br /&gt;
Code = sudo chmod 600 /etc/rsyncd.secrets&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
7. Start/Restart xinetd&lt;br /&gt;
&lt;br /&gt;
{{Code|&lt;br /&gt;
Code = sudo /etc/init.d/xinetd restart&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
not sure if this was needed, but what the heck.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now for the source side of things:  &amp;lt;br /&amp;gt;&lt;br /&gt;
1. In the xpenology box, load the dashboard/web interface --&amp;gt; mainmenu/backup and replication. &amp;lt;br /&amp;gt;&lt;br /&gt;
2. click &amp;quot;backup destination&amp;quot; &amp;lt;br /&amp;gt;&lt;br /&gt;
3. click &amp;quot;create&amp;quot; &amp;lt;br /&amp;gt;&lt;br /&gt;
4. pick &amp;quot;network destination / rsync compatible&amp;quot; then NEXT &amp;lt;br /&amp;gt;&lt;br /&gt;
5. Name it something you'll understand ... in my case: &amp;quot;data share on Amahi&amp;quot; &amp;lt;br /&amp;gt;&lt;br /&gt;
6. IP address (self explanatory) &amp;lt;br /&amp;gt;&lt;br /&gt;
7. user: kevin &amp;lt;br /&amp;gt;&lt;br /&gt;
8. password: theuserpassword &amp;lt;br /&amp;gt;&lt;br /&gt;
9. backup module: datashare (if you made 4 modules like I did, all 4 are available for selection as backup targets) &amp;lt;br /&amp;gt;&lt;br /&gt;
10. hit APPLY. If it doesn't work, check the user and passwords. &amp;lt;br /&amp;gt;&lt;br /&gt;
11. Do the other modules in the same manner &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now, to setup a backup job on the xpenology box: &amp;lt;br /&amp;gt;&lt;br /&gt;
1. click &amp;quot;backup&amp;quot; , then &amp;quot;create&amp;quot;, then &amp;quot;data backup task&amp;quot; &amp;lt;br /&amp;gt;&lt;br /&gt;
2. select the folders to backup (pick one with little data or a test folder to make sure it works) &amp;lt;br /&amp;gt;&lt;br /&gt;
3. select one of the backup destinations you just created and hit NEXT &amp;lt;br /&amp;gt;&lt;br /&gt;
4. name the task, say &amp;quot;backup of data to Amahi&amp;quot; &amp;lt;br /&amp;gt;&lt;br /&gt;
5. name the directory on the Amahi share where the backup is going &amp;lt;br /&amp;gt;&lt;br /&gt;
6. side note: here's where it got interesting. if I leave metadata and thumbnails selected or unselected and I have &amp;quot;kevin&amp;quot; as the user, it works fine. If I have &amp;quot;rsync&amp;quot; as the user with admin permission (as when I was experimenting with the setup) and have the above 2 things selected, the files came over with protections. I couldn't delete some folders of the test run (I think the metadata ones). I'd have to chmod them to be able to delete them. When I deselected them they were deletable. Someone better than me at this can tell me why. Anyhow, I can't see why you'd really need it, so deselect them and give it a shot. &amp;lt;br /&amp;gt;&lt;br /&gt;
7. then hit APPLY &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Do a &amp;quot;backup now&amp;quot; to see if it works and that you can delete the backup directory (no odd permissions). If it works, then you can edit the backup task and put a schedule on it.&lt;br /&gt;
&lt;br /&gt;
I think I captured everything I did accurately, and I hope that helps someone.&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--Your text above this line--&amp;gt;&lt;br /&gt;
&amp;lt;!--This page must bellong to one of the following categories please remove comment--&amp;gt;&lt;br /&gt;
&amp;lt;!--[[category:Apps]]--&amp;gt;&lt;br /&gt;
&amp;lt;!--[[Category:Fedora]]--&amp;gt;&lt;br /&gt;
&amp;lt;!--[[Category:Platform]]--&amp;gt;&lt;br /&gt;
&amp;lt;!--[[Category:Pro Version]]--&amp;gt;&lt;br /&gt;
&amp;lt;!--[[Category:Services]]--&amp;gt;&lt;br /&gt;
&amp;lt;!--[[Category:VPN]]--&amp;gt;&lt;/div&gt;</summary>
		<author><name>Kevin Robison</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=Network_backup_FROM_Synology_TO_Amahi&amp;diff=89081</id>
		<title>Network backup FROM Synology TO Amahi</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=Network_backup_FROM_Synology_TO_Amahi&amp;diff=89081"/>
		<updated>2014-10-10T17:02:54Z</updated>

		<summary type="html">&lt;p&gt;Kevin Robison: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- &lt;br /&gt;
This page is crated automaticaly by a script.&lt;br /&gt;
This part is commented and shall not show&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&amp;lt;!--At the top of the page can be vissible one of the following tags..--&amp;gt;&lt;br /&gt;
    {{WorkInProgress}}&lt;br /&gt;
&amp;lt;!--{{NeedsUpdate}}--&amp;gt;&lt;br /&gt;
&amp;lt;!--{{NeedsMerge | [[Main Page]]}}--&amp;gt;&lt;br /&gt;
&amp;lt;!--{{NeedsExpantion}}--&amp;gt;&lt;br /&gt;
&amp;lt;!--{{NeedsDelete |[[Main Page]]}}--&amp;gt;&lt;br /&gt;
&amp;lt;!--Please remove or place comment accordingly--&amp;gt;&lt;br /&gt;
&amp;lt;!--Your text bellow this line--&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
This is for those trying to get a synology/xpenology box (source) to backup over the network to an Amahi box (target).  I thought that one could fill out the dashboard on the source, and hit the &amp;quot;go&amp;quot; button to start the backup to the HP/Amahi. I found it was not so easy.  This is for Amahi 6/ Ubuntu 12.04.  &lt;br /&gt;
&lt;br /&gt;
For some reason, xpenology likes an rsync daemon running on the target. So we have to setup the target to be ready.&lt;br /&gt;
&lt;br /&gt;
1. Edit the file /etc/default/rsync in the Amahi box to start rsync as daemon using xinetd. &lt;br /&gt;
&lt;br /&gt;
{{Code|&lt;br /&gt;
Code = sudo nano /etc/default/rsync&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The entry listed below, should be changed from false to inetd.&lt;br /&gt;
&lt;br /&gt;
RSYNC_ENABLE=inetd&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2. Install xinetd on the Amahi box because it's apparently not installed by default.&lt;br /&gt;
&lt;br /&gt;
{{Code|&lt;br /&gt;
Code = sudo apt-get -y install xinetd&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3. Create the file /etc/xinetd.d/rsync on Amahi box to launch rsync via xinetd. &lt;br /&gt;
&lt;br /&gt;
{{Code|&lt;br /&gt;
Code = sudo nano /etc/xinetd.d/rsync&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
It should contain the following lines of text.&lt;br /&gt;
&lt;br /&gt;
service rsync &amp;lt;br /&amp;gt;&lt;br /&gt;
{ &amp;lt;br /&amp;gt;&lt;br /&gt;
disable = no &amp;lt;br /&amp;gt;&lt;br /&gt;
socket_type = stream &amp;lt;br /&amp;gt;&lt;br /&gt;
wait = no &amp;lt;br /&amp;gt;&lt;br /&gt;
user = root &amp;lt;br /&amp;gt;&lt;br /&gt;
server = /usr/bin/rsync &amp;lt;br /&amp;gt;&lt;br /&gt;
server_args = --daemon &amp;lt;br /&amp;gt;&lt;br /&gt;
log_on_failure += USERID &amp;lt;br /&amp;gt;&lt;br /&gt;
flags = IPv6 &amp;lt;br /&amp;gt;&lt;br /&gt;
} &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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 &amp;quot;kevin&amp;quot; (user below) it fails to connect.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4. Create the file /etc/rsyncd.conf configuration on Amahi box to use rsync/daemon. &lt;br /&gt;
{{Code|&lt;br /&gt;
Code = sudo nano /etc/rsyncd.conf&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The file should contain the following.&lt;br /&gt;
&lt;br /&gt;
max connections = 2 &amp;lt;br /&amp;gt;&lt;br /&gt;
log file = /var/log/rsync.log &amp;lt;br /&amp;gt;&lt;br /&gt;
timeout = 300 &amp;lt;br /&amp;gt;&lt;br /&gt;
 &amp;lt;br /&amp;gt;&lt;br /&gt;
[datashare] &amp;lt;br /&amp;gt;&lt;br /&gt;
comment = Data backup share &amp;lt;br /&amp;gt;&lt;br /&gt;
path = /var/hda/files/data &amp;lt;br /&amp;gt;&lt;br /&gt;
read only = no &amp;lt;br /&amp;gt;&lt;br /&gt;
list = yes &amp;lt;br /&amp;gt;&lt;br /&gt;
uid = kevin &amp;lt;br /&amp;gt;&lt;br /&gt;
gid = nogroup &amp;lt;br /&amp;gt;&lt;br /&gt;
auth users = kevin &amp;lt;br /&amp;gt;&lt;br /&gt;
secrets file = /etc/rsyncd.secrets &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I made auth user = kevin and uid = kevin. &amp;quot;kevin&amp;quot; is an amahi user with admin checked (in the user area of Amahi dashboard). For multiple shares to backup to, just copy the &amp;quot;destination module&amp;quot; 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.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5. Create /etc/rsyncd.secrets on Amahi box for user's password. &lt;br /&gt;
&lt;br /&gt;
{{Code|&lt;br /&gt;
Code = sudo nano /etc/rsyncd.secrets&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
User should be the same as above, with password the one used to log into/ SSH into the HP/Amahi box. Format is user:password, like below.&lt;br /&gt;
&lt;br /&gt;
kevin:theuserpassword&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
6. Then set the file permissions for rsyncd.secrets on the Amahi box.&lt;br /&gt;
&lt;br /&gt;
{{Code|&lt;br /&gt;
Code = sudo chmod 600 /etc/rsyncd.secrets&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
7. Start/Restart xinetd&lt;br /&gt;
&lt;br /&gt;
{{Code|&lt;br /&gt;
Code = sudo /etc/init.d/xinetd restart&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
not sure if this was needed, but what the heck.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now for the source side of things: &lt;br /&gt;
1. In the xpenology box, load the dashboard/web interface --&amp;gt; mainmenu/backup and replication. &amp;lt;br /&amp;gt;&lt;br /&gt;
2. click &amp;quot;backup destination&amp;quot; &amp;lt;br /&amp;gt;&lt;br /&gt;
3. click &amp;quot;create&amp;quot; &amp;lt;br /&amp;gt;&lt;br /&gt;
4. pick &amp;quot;network destination / rsync compatible&amp;quot; then NEXT &amp;lt;br /&amp;gt;&lt;br /&gt;
5. Name it something you'll understand ... in my case: &amp;quot;data share on Amahi&amp;quot; &amp;lt;br /&amp;gt;&lt;br /&gt;
6. IP address (self explanatory) &amp;lt;br /&amp;gt;&lt;br /&gt;
7. user: kevin &amp;lt;br /&amp;gt;&lt;br /&gt;
8. password: theuserpassword &amp;lt;br /&amp;gt;&lt;br /&gt;
9. backup module: datashare (if you made 4 modules like I did, all 4 are available for selection as backup targets) &amp;lt;br /&amp;gt;&lt;br /&gt;
10. hit APPLY. If it doesn't work, check the user and passwords. &amp;lt;br /&amp;gt;&lt;br /&gt;
11. Do the other modules in the same manner &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now, to setup a backup job on the xpenology box:&lt;br /&gt;
1. click &amp;quot;backup&amp;quot; , then &amp;quot;create&amp;quot;, then &amp;quot;data backup task&amp;quot; &amp;lt;br /&amp;gt;&lt;br /&gt;
2. select the folders to backup (pick one with little data or a test folder to make sure it works) &amp;lt;br /&amp;gt;&lt;br /&gt;
3. select one of the backup destinations you just created and hit NEXT &amp;lt;br /&amp;gt;&lt;br /&gt;
4. name the task, say &amp;quot;backup of data to Amahi&amp;quot; &amp;lt;br /&amp;gt;&lt;br /&gt;
5. name the directory on the Amahi share where the backup is going &amp;lt;br /&amp;gt;&lt;br /&gt;
6. side note: here's where it got interesting. if I leave metadata and thumbnails selected or unselected and I have &amp;quot;kevin&amp;quot; as the user, it works fine. If I have &amp;quot;rsync&amp;quot; as the user with admin permission (as when I was experimenting with the setup) and have the above 2 things selected, the files came over with protections. I couldn't delete some folders of the test run (I think the metadata ones). I'd have to chmod them to be able to delete them. When I deselected them they were deletable. Someone better than me at this can tell me why. Anyhow, I can't see why you'd really need it, so deselect them and give it a shot. &amp;lt;br /&amp;gt;&lt;br /&gt;
7. then hit APPLY &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Do a &amp;quot;backup now&amp;quot; to see if it works and that you can delete the backup directory (no odd permissions). If it works, then you can edit the backup task and put a schedule on it.&lt;br /&gt;
&lt;br /&gt;
I think I captured everything I did accurately, and I hope that helps someone.&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--Your text above this line--&amp;gt;&lt;br /&gt;
&amp;lt;!--This page must bellong to one of the following categories please remove comment--&amp;gt;&lt;br /&gt;
&amp;lt;!--[[category:Apps]]--&amp;gt;&lt;br /&gt;
&amp;lt;!--[[Category:Fedora]]--&amp;gt;&lt;br /&gt;
&amp;lt;!--[[Category:Platform]]--&amp;gt;&lt;br /&gt;
&amp;lt;!--[[Category:Pro Version]]--&amp;gt;&lt;br /&gt;
&amp;lt;!--[[Category:Services]]--&amp;gt;&lt;br /&gt;
&amp;lt;!--[[Category:VPN]]--&amp;gt;&lt;/div&gt;</summary>
		<author><name>Kevin Robison</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=Network_backup_FROM_Synology_TO_Amahi&amp;diff=89076</id>
		<title>Network backup FROM Synology TO Amahi</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=Network_backup_FROM_Synology_TO_Amahi&amp;diff=89076"/>
		<updated>2014-10-10T17:01:16Z</updated>

		<summary type="html">&lt;p&gt;Kevin Robison: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- &lt;br /&gt;
This page is crated automaticaly by a script.&lt;br /&gt;
This part is commented and shall not show&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&amp;lt;!--At the top of the page can be vissible one of the following tags..--&amp;gt;&lt;br /&gt;
    {{WorkInProgress}}&lt;br /&gt;
&amp;lt;!--{{NeedsUpdate}}--&amp;gt;&lt;br /&gt;
&amp;lt;!--{{NeedsMerge | [[Main Page]]}}--&amp;gt;&lt;br /&gt;
&amp;lt;!--{{NeedsExpantion}}--&amp;gt;&lt;br /&gt;
&amp;lt;!--{{NeedsDelete |[[Main Page]]}}--&amp;gt;&lt;br /&gt;
&amp;lt;!--Please remove or place comment accordingly--&amp;gt;&lt;br /&gt;
&amp;lt;!--Your text bellow this line--&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
This is for those trying to get a synology/xpenology box (source) to backup over the network to an Amahi box (target).  I thought that one could fill out the dashboard on the source, and hit the &amp;quot;go&amp;quot; button to start the backup to the HP/Amahi. I found it was not so easy.  This is for Amahi 6/ Ubuntu 12.04.  &lt;br /&gt;
&lt;br /&gt;
For some reason, xpenology likes an rsync daemon running on the target. So we have to setup the target to be ready.&lt;br /&gt;
&lt;br /&gt;
1. Edit the file /etc/default/rsync in the Amahi box to start rsync as daemon using xinetd. &lt;br /&gt;
&lt;br /&gt;
{{Code|&lt;br /&gt;
Code = sudo nano /etc/default/rsync&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The entry listed below, should be changed from false to inetd.&lt;br /&gt;
&lt;br /&gt;
RSYNC_ENABLE=inetd&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2. Install xinetd on the Amahi box because it's apparently not installed by default.&lt;br /&gt;
&lt;br /&gt;
{{Code|&lt;br /&gt;
Code = sudo apt-get -y install xinetd&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3. Create the file /etc/xinetd.d/rsync on Amahi box to launch rsync via xinetd. &lt;br /&gt;
&lt;br /&gt;
{{Code|&lt;br /&gt;
Code = sudo nano /etc/xinetd.d/rsync&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
It should contain the following lines of text.&lt;br /&gt;
&lt;br /&gt;
service rsync &amp;lt;br /&amp;gt;&lt;br /&gt;
{ &amp;lt;br /&amp;gt;&lt;br /&gt;
disable = no &amp;lt;br /&amp;gt;&lt;br /&gt;
socket_type = stream &amp;lt;br /&amp;gt;&lt;br /&gt;
wait = no &amp;lt;br /&amp;gt;&lt;br /&gt;
user = root &amp;lt;br /&amp;gt;&lt;br /&gt;
server = /usr/bin/rsync &amp;lt;br /&amp;gt;&lt;br /&gt;
server_args = --daemon &amp;lt;br /&amp;gt;&lt;br /&gt;
log_on_failure += USERID &amp;lt;br /&amp;gt;&lt;br /&gt;
flags = IPv6 &amp;lt;br /&amp;gt;&lt;br /&gt;
} &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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 &amp;quot;kevin&amp;quot; (user below) it fails to connect.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4. Create the file /etc/rsyncd.conf configuration on Amahi box to use rsync/daemon. &lt;br /&gt;
{{Code|&lt;br /&gt;
Code = sudo nano /etc/rsyncd.conf&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The file should contain the following.&lt;br /&gt;
&lt;br /&gt;
max connections = 2&lt;br /&gt;
log file = /var/log/rsync.log&lt;br /&gt;
timeout = 300&lt;br /&gt;
&lt;br /&gt;
[datashare]&lt;br /&gt;
comment = Data backup share&lt;br /&gt;
path = /var/hda/files/data&lt;br /&gt;
read only = no&lt;br /&gt;
list = yes&lt;br /&gt;
uid = kevin&lt;br /&gt;
gid = nogroup&lt;br /&gt;
auth users = kevin&lt;br /&gt;
secrets file = /etc/rsyncd.secrets&lt;br /&gt;
&lt;br /&gt;
I made auth user = kevin and uid = kevin. &amp;quot;kevin&amp;quot; is an amahi user with admin checked (in the user area of Amahi dashboard). For multiple shares to backup to, just copy the &amp;quot;destination module&amp;quot; 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.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5. Create /etc/rsyncd.secrets on Amahi box for user's password. &lt;br /&gt;
{{Code|&lt;br /&gt;
Code = sudo nano /etc/rsyncd.secrets&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
User should be the same as above, with password the one used to log into/ SSH into the HP/Amahi box. Format is user:password, like below.&lt;br /&gt;
&lt;br /&gt;
kevin:theuserpassword&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
6. Then set the file permissions for rsyncd.secrets on the Amahi box.&lt;br /&gt;
&lt;br /&gt;
{{Code|&lt;br /&gt;
Code = sudo chmod 600 /etc/rsyncd.secrets&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
7. Start/Restart xinetd&lt;br /&gt;
&lt;br /&gt;
{{Code|&lt;br /&gt;
Code = sudo /etc/init.d/xinetd restart&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
not sure if this was needed, but what the heck.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now for the source side of things: &lt;br /&gt;
1. In the xpenology box, load the dashboard/web interface --&amp;gt; mainmenu/backup and replication.&lt;br /&gt;
2. click &amp;quot;backup destination&amp;quot;&lt;br /&gt;
3. click &amp;quot;create&amp;quot;&lt;br /&gt;
4. pick &amp;quot;network destination / rsync compatible&amp;quot; then NEXT&lt;br /&gt;
5. Name it something you'll understand ... in my case: &amp;quot;data share on Amahi&amp;quot;&lt;br /&gt;
6. IP address (self explanatory)&lt;br /&gt;
7. user: kevin&lt;br /&gt;
8. password: theuserpassword&lt;br /&gt;
9. backup module: datashare (if you made 4 modules like I did, all 4 are available for selection as backup targets)&lt;br /&gt;
10. hit APPLY. If it doesn't work, check the user and passwords.&lt;br /&gt;
11. Do the other modules in the same manner&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now, to setup a backup job on the xpenology box:&lt;br /&gt;
1. click &amp;quot;backup&amp;quot; , then &amp;quot;create&amp;quot;, then &amp;quot;data backup task&amp;quot;&lt;br /&gt;
2. select the folders to backup (pick one with little data or a test folder to make sure it works)&lt;br /&gt;
3. select one of the backup destinations you just created and hit NEXT&lt;br /&gt;
4. name the task, say &amp;quot;backup of data to Amahi&amp;quot;&lt;br /&gt;
5. name the directory on the Amahi share where the backup is going&lt;br /&gt;
6. side note: here's where it got interesting. if I leave metadata and thumbnails selected or unselected and I have &amp;quot;kevin&amp;quot; as the user, it works fine. If I have &amp;quot;rsync&amp;quot; as the user with admin permission (as when I was experimenting with the setup) and have the above 2 things selected, the files came over with protections. I couldn't delete some folders of the test run (I think the metadata ones). I'd have to chmod them to be able to delete them. When I deselected them they were deletable. Someone better than me at this can tell me why. Anyhow, I can't see why you'd really need it, so deselect them and give it a shot.&lt;br /&gt;
7. then hit APPLY&lt;br /&gt;
&lt;br /&gt;
Do a &amp;quot;backup now&amp;quot; to see if it works and that you can delete the backup directory (no odd permissions). If it works, then you can edit the backup task and put a schedule on it.&lt;br /&gt;
&lt;br /&gt;
I think I captured everything I did accurately, and I hope that helps someone.&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--Your text above this line--&amp;gt;&lt;br /&gt;
&amp;lt;!--This page must bellong to one of the following categories please remove comment--&amp;gt;&lt;br /&gt;
&amp;lt;!--[[category:Apps]]--&amp;gt;&lt;br /&gt;
&amp;lt;!--[[Category:Fedora]]--&amp;gt;&lt;br /&gt;
&amp;lt;!--[[Category:Platform]]--&amp;gt;&lt;br /&gt;
&amp;lt;!--[[Category:Pro Version]]--&amp;gt;&lt;br /&gt;
&amp;lt;!--[[Category:Services]]--&amp;gt;&lt;br /&gt;
&amp;lt;!--[[Category:VPN]]--&amp;gt;&lt;/div&gt;</summary>
		<author><name>Kevin Robison</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=Network_backup_FROM_Synology_TO_Amahi&amp;diff=89071</id>
		<title>Network backup FROM Synology TO Amahi</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=Network_backup_FROM_Synology_TO_Amahi&amp;diff=89071"/>
		<updated>2014-10-10T16:58:06Z</updated>

		<summary type="html">&lt;p&gt;Kevin Robison: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- &lt;br /&gt;
This page is crated automaticaly by a script.&lt;br /&gt;
This part is commented and shall not show&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&amp;lt;!--At the top of the page can be vissible one of the following tags..--&amp;gt;&lt;br /&gt;
    {{WorkInProgress}}&lt;br /&gt;
&amp;lt;!--{{NeedsUpdate}}--&amp;gt;&lt;br /&gt;
&amp;lt;!--{{NeedsMerge | [[Main Page]]}}--&amp;gt;&lt;br /&gt;
&amp;lt;!--{{NeedsExpantion}}--&amp;gt;&lt;br /&gt;
&amp;lt;!--{{NeedsDelete |[[Main Page]]}}--&amp;gt;&lt;br /&gt;
&amp;lt;!--Please remove or place comment accordingly--&amp;gt;&lt;br /&gt;
&amp;lt;!--Your text bellow this line--&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
This is for those trying to get a synology/xpenology box (source) to backup over the network to an Amahi box (target).  I thought that one could fill out the dashboard on the source, and hit the &amp;quot;go&amp;quot; button to start the backup to the HP/Amahi. I found it was not so easy.  This is for Amahi 6/ Ubuntu 12.04.  &lt;br /&gt;
&lt;br /&gt;
For some reason, xpenology likes an rsync daemon running on the target. So we have to setup the target to be ready.&lt;br /&gt;
&lt;br /&gt;
1. Edit the file /etc/default/rsync in the Amahi box to start rsync as daemon using xinetd. &lt;br /&gt;
&lt;br /&gt;
{{Code|&lt;br /&gt;
Code = sudo nano /etc/default/rsync&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The entry listed below, should be changed from false to inetd.&lt;br /&gt;
&lt;br /&gt;
RSYNC_ENABLE=inetd&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2. Install xinetd on the Amahi box because it's apparently not installed by default.&lt;br /&gt;
&lt;br /&gt;
{{Code|&lt;br /&gt;
Code = sudo apt-get -y install xinetd&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3. Create the file /etc/xinetd.d/rsync on Amahi box to launch rsync via xinetd. &lt;br /&gt;
&lt;br /&gt;
{{Code|&lt;br /&gt;
Code = sudo nano /etc/xinetd.d/rsync&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
It should contain the following lines of text.&lt;br /&gt;
&lt;br /&gt;
service rsync&lt;br /&gt;
{&lt;br /&gt;
disable = no&lt;br /&gt;
socket_type = stream&lt;br /&gt;
wait = no&lt;br /&gt;
user = root&lt;br /&gt;
server = /usr/bin/rsync&lt;br /&gt;
server_args = --daemon&lt;br /&gt;
log_on_failure += USERID&lt;br /&gt;
flags = IPv6&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
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 &amp;quot;kevin&amp;quot; (user below) it fails to connect.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4. Create the file /etc/rsyncd.conf configuration on Amahi box to use rsync/daemon. &lt;br /&gt;
{{Code|&lt;br /&gt;
Code = sudo nano /etc/rsyncd.conf&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The file should contain the following.&lt;br /&gt;
&lt;br /&gt;
max connections = 2&lt;br /&gt;
log file = /var/log/rsync.log&lt;br /&gt;
timeout = 300&lt;br /&gt;
&lt;br /&gt;
[datashare]&lt;br /&gt;
comment = Data backup share&lt;br /&gt;
path = /var/hda/files/data&lt;br /&gt;
read only = no&lt;br /&gt;
list = yes&lt;br /&gt;
uid = kevin&lt;br /&gt;
gid = nogroup&lt;br /&gt;
auth users = kevin&lt;br /&gt;
secrets file = /etc/rsyncd.secrets&lt;br /&gt;
&lt;br /&gt;
I made auth user = kevin and uid = kevin. &amp;quot;kevin&amp;quot; is an amahi user with admin checked (in the user area of Amahi dashboard). For multiple shares to backup to, just copy the &amp;quot;destination module&amp;quot; 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.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5. Create /etc/rsyncd.secrets on Amahi box for user's password. &lt;br /&gt;
{{Code|&lt;br /&gt;
Code = sudo nano /etc/rsyncd.secrets&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
User should be the same as above, with password the one used to log into/ SSH into the HP/Amahi box. Format is user:password, like below.&lt;br /&gt;
&lt;br /&gt;
kevin:theuserpassword&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
6. Then set the file permissions for rsyncd.secrets on the Amahi box.&lt;br /&gt;
&lt;br /&gt;
{{Code|&lt;br /&gt;
Code = sudo chmod 600 /etc/rsyncd.secrets&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
7. Start/Restart xinetd&lt;br /&gt;
&lt;br /&gt;
{{Code|&lt;br /&gt;
Code = sudo /etc/init.d/xinetd restart&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
not sure if this was needed, but what the heck.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now for the source side of things: &lt;br /&gt;
1. In the xpenology box, load the dashboard/web interface --&amp;gt; mainmenu/backup and replication.&lt;br /&gt;
2. click &amp;quot;backup destination&amp;quot;&lt;br /&gt;
3. click &amp;quot;create&amp;quot;&lt;br /&gt;
4. pick &amp;quot;network destination / rsync compatible&amp;quot; then NEXT&lt;br /&gt;
5. Name it something you'll understand ... in my case: &amp;quot;data share on Amahi&amp;quot;&lt;br /&gt;
6. IP address (self explanatory)&lt;br /&gt;
7. user: kevin&lt;br /&gt;
8. password: theuserpassword&lt;br /&gt;
9. backup module: datashare (if you made 4 modules like I did, all 4 are available for selection as backup targets)&lt;br /&gt;
10. hit APPLY. If it doesn't work, check the user and passwords.&lt;br /&gt;
11. Do the other modules in the same manner&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now, to setup a backup job on the xpenology box:&lt;br /&gt;
1. click &amp;quot;backup&amp;quot; , then &amp;quot;create&amp;quot;, then &amp;quot;data backup task&amp;quot;&lt;br /&gt;
2. select the folders to backup (pick one with little data or a test folder to make sure it works)&lt;br /&gt;
3. select one of the backup destinations you just created and hit NEXT&lt;br /&gt;
4. name the task, say &amp;quot;backup of data to Amahi&amp;quot;&lt;br /&gt;
5. name the directory on the Amahi share where the backup is going&lt;br /&gt;
6. side note: here's where it got interesting. if I leave metadata and thumbnails selected or unselected and I have &amp;quot;kevin&amp;quot; as the user, it works fine. If I have &amp;quot;rsync&amp;quot; as the user with admin permission (as when I was experimenting with the setup) and have the above 2 things selected, the files came over with protections. I couldn't delete some folders of the test run (I think the metadata ones). I'd have to chmod them to be able to delete them. When I deselected them they were deletable. Someone better than me at this can tell me why. Anyhow, I can't see why you'd really need it, so deselect them and give it a shot.&lt;br /&gt;
7. then hit APPLY&lt;br /&gt;
&lt;br /&gt;
Do a &amp;quot;backup now&amp;quot; to see if it works and that you can delete the backup directory (no odd permissions). If it works, then you can edit the backup task and put a schedule on it.&lt;br /&gt;
&lt;br /&gt;
I think I captured everything I did accurately, and I hope that helps someone.&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--Your text above this line--&amp;gt;&lt;br /&gt;
&amp;lt;!--This page must bellong to one of the following categories please remove comment--&amp;gt;&lt;br /&gt;
&amp;lt;!--[[category:Apps]]--&amp;gt;&lt;br /&gt;
&amp;lt;!--[[Category:Fedora]]--&amp;gt;&lt;br /&gt;
&amp;lt;!--[[Category:Platform]]--&amp;gt;&lt;br /&gt;
&amp;lt;!--[[Category:Pro Version]]--&amp;gt;&lt;br /&gt;
&amp;lt;!--[[Category:Services]]--&amp;gt;&lt;br /&gt;
&amp;lt;!--[[Category:VPN]]--&amp;gt;&lt;/div&gt;</summary>
		<author><name>Kevin Robison</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=Network_backup_FROM_Synology_TO_Amahi&amp;diff=89066</id>
		<title>Network backup FROM Synology TO Amahi</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=Network_backup_FROM_Synology_TO_Amahi&amp;diff=89066"/>
		<updated>2014-10-10T16:55:29Z</updated>

		<summary type="html">&lt;p&gt;Kevin Robison: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- &lt;br /&gt;
This page is crated automaticaly by a script.&lt;br /&gt;
This part is commented and shall not show&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&amp;lt;!--At the top of the page can be vissible one of the following tags..--&amp;gt;&lt;br /&gt;
    {{WorkInProgress}}&lt;br /&gt;
&amp;lt;!--{{NeedsUpdate}}--&amp;gt;&lt;br /&gt;
&amp;lt;!--{{NeedsMerge | [[Main Page]]}}--&amp;gt;&lt;br /&gt;
&amp;lt;!--{{NeedsExpantion}}--&amp;gt;&lt;br /&gt;
&amp;lt;!--{{NeedsDelete |[[Main Page]]}}--&amp;gt;&lt;br /&gt;
&amp;lt;!--Please remove or place comment accordingly--&amp;gt;&lt;br /&gt;
&amp;lt;!--Your text bellow this line--&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
This is for those trying to get a synology/xpenology box (source) to backup over the network to an Amahi box (target).  I thought that one could fill out the dashboard on the source, and hit the &amp;quot;go&amp;quot; button to start the backup to the HP/Amahi. I found it was not so easy.  This is for Amahi 6/ Ubuntu 12.04.  &lt;br /&gt;
&lt;br /&gt;
For some reason, xpenology likes an rsync daemon running on the target. So we have to setup the target to be ready.&lt;br /&gt;
&lt;br /&gt;
1. Edit the file /etc/default/rsync in the Amahi box to start rsync as daemon using xinetd. &lt;br /&gt;
&lt;br /&gt;
{{Code|&lt;br /&gt;
Code = sudo nano /etc/default/rsync&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The entry listed below, should be changed from false to inetd.&lt;br /&gt;
&lt;br /&gt;
RSYNC_ENABLE=inetd&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2. Install xinetd on the Amahi box because it's apparently not installed by default.&lt;br /&gt;
&lt;br /&gt;
{{Code|&lt;br /&gt;
Code = sudo apt-get -y install xinetd&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3. Create the file /etc/xinetd.d/rsync on Amahi box to launch rsync via xinetd. It should contain the following lines of text.&lt;br /&gt;
&lt;br /&gt;
service rsync&lt;br /&gt;
{&lt;br /&gt;
disable = no&lt;br /&gt;
socket_type = stream&lt;br /&gt;
wait = no&lt;br /&gt;
user = root&lt;br /&gt;
server = /usr/bin/rsync&lt;br /&gt;
server_args = --daemon&lt;br /&gt;
log_on_failure += USERID&lt;br /&gt;
flags = IPv6&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
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 &amp;quot;kevin&amp;quot; (user below) it fails to connect.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4. Create the file /etc/rsyncd.conf configuration on Amahi box to use rsync/daemon. The file should contain the following.&lt;br /&gt;
&lt;br /&gt;
max connections = 2&lt;br /&gt;
log file = /var/log/rsync.log&lt;br /&gt;
timeout = 300&lt;br /&gt;
&lt;br /&gt;
[datashare]&lt;br /&gt;
comment = Data backup share&lt;br /&gt;
path = /var/hda/files/data&lt;br /&gt;
read only = no&lt;br /&gt;
list = yes&lt;br /&gt;
uid = kevin&lt;br /&gt;
gid = nogroup&lt;br /&gt;
auth users = kevin&lt;br /&gt;
secrets file = /etc/rsyncd.secrets&lt;br /&gt;
&lt;br /&gt;
I made auth user = kevin and uid = kevin. &amp;quot;kevin&amp;quot; is an amahi user with admin checked (in the user area of Amahi dashboard). For multiple shares to backup to, just copy the &amp;quot;destination module&amp;quot; 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.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
$ sudo nano /etc/rsyncd.secrets&lt;br /&gt;
kevin:theuserpassword&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
6. Then set the file permissions for rsyncd.secrets on the Amahi box.&lt;br /&gt;
&lt;br /&gt;
$ sudo chmod 600 /etc/rsyncd.secrets&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
7. Start/Restart xinetd&lt;br /&gt;
&lt;br /&gt;
$ sudo /etc/init.d/xinetd restart&lt;br /&gt;
&lt;br /&gt;
not sure if this was needed, but what the heck.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now for the source side of things: &lt;br /&gt;
1. In the xpenology box, load the dashboard/web interface --&amp;gt; mainmenu/backup and replication.&lt;br /&gt;
2. click &amp;quot;backup destination&amp;quot;&lt;br /&gt;
3. click &amp;quot;create&amp;quot;&lt;br /&gt;
4. pick &amp;quot;network destination / rsync compatible&amp;quot; then NEXT&lt;br /&gt;
5. Name it something you'll understand ... in my case: &amp;quot;data share on Amahi&amp;quot;&lt;br /&gt;
6. IP address (self explanatory)&lt;br /&gt;
7. user: kevin&lt;br /&gt;
8. password: theuserpassword&lt;br /&gt;
9. backup module: datashare (if you made 4 modules like I did, all 4 are available for selection as backup targets)&lt;br /&gt;
10. hit APPLY. If it doesn't work, check the user and passwords.&lt;br /&gt;
11. Do the other modules in the same manner&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now, to setup a backup job on the xpenology box:&lt;br /&gt;
1. click &amp;quot;backup&amp;quot; , then &amp;quot;create&amp;quot;, then &amp;quot;data backup task&amp;quot;&lt;br /&gt;
2. select the folders to backup (pick one with little data or a test folder to make sure it works)&lt;br /&gt;
3. select one of the backup destinations you just created and hit NEXT&lt;br /&gt;
4. name the task, say &amp;quot;backup of data to Amahi&amp;quot;&lt;br /&gt;
5. name the directory on the Amahi share where the backup is going&lt;br /&gt;
6. side note: here's where it got interesting. if I leave metadata and thumbnails selected or unselected and I have &amp;quot;kevin&amp;quot; as the user, it works fine. If I have &amp;quot;rsync&amp;quot; as the user with admin permission (as when I was experimenting with the setup) and have the above 2 things selected, the files came over with protections. I couldn't delete some folders of the test run (I think the metadata ones). I'd have to chmod them to be able to delete them. When I deselected them they were deletable. Someone better than me at this can tell me why. Anyhow, I can't see why you'd really need it, so deselect them and give it a shot.&lt;br /&gt;
7. then hit APPLY&lt;br /&gt;
&lt;br /&gt;
Do a &amp;quot;backup now&amp;quot; to see if it works and that you can delete the backup directory (no odd permissions). If it works, then you can edit the backup task and put a schedule on it.&lt;br /&gt;
&lt;br /&gt;
I think I captured everything I did accurately, and I hope that helps someone.&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--Your text above this line--&amp;gt;&lt;br /&gt;
&amp;lt;!--This page must bellong to one of the following categories please remove comment--&amp;gt;&lt;br /&gt;
&amp;lt;!--[[category:Apps]]--&amp;gt;&lt;br /&gt;
&amp;lt;!--[[Category:Fedora]]--&amp;gt;&lt;br /&gt;
&amp;lt;!--[[Category:Platform]]--&amp;gt;&lt;br /&gt;
&amp;lt;!--[[Category:Pro Version]]--&amp;gt;&lt;br /&gt;
&amp;lt;!--[[Category:Services]]--&amp;gt;&lt;br /&gt;
&amp;lt;!--[[Category:VPN]]--&amp;gt;&lt;/div&gt;</summary>
		<author><name>Kevin Robison</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=Network_backup_FROM_Synology_TO_Amahi&amp;diff=89061</id>
		<title>Network backup FROM Synology TO Amahi</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=Network_backup_FROM_Synology_TO_Amahi&amp;diff=89061"/>
		<updated>2014-10-10T16:51:50Z</updated>

		<summary type="html">&lt;p&gt;Kevin Robison: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- &lt;br /&gt;
This page is crated automaticaly by a script.&lt;br /&gt;
This part is commented and shall not show&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&amp;lt;!--At the top of the page can be vissible one of the following tags..--&amp;gt;&lt;br /&gt;
    {{WorkInProgress}}&lt;br /&gt;
&amp;lt;!--{{NeedsUpdate}}--&amp;gt;&lt;br /&gt;
&amp;lt;!--{{NeedsMerge | [[Main Page]]}}--&amp;gt;&lt;br /&gt;
&amp;lt;!--{{NeedsExpantion}}--&amp;gt;&lt;br /&gt;
&amp;lt;!--{{NeedsDelete |[[Main Page]]}}--&amp;gt;&lt;br /&gt;
&amp;lt;!--Please remove or place comment accordingly--&amp;gt;&lt;br /&gt;
&amp;lt;!--Your text bellow this line--&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
This is for those trying to get a synology/xpenology box (source) to backup over the network to an Amahi box (target).  I thought that one could fill out the dashboard on the source, and hit the &amp;quot;go&amp;quot; button to start the backup to the HP/Amahi. I found it was not so easy.  This is for Amahi 6/ Ubuntu 12.04.  &lt;br /&gt;
&lt;br /&gt;
For some reason, xpenology likes an rsync daemon running on the target. So we have to setup the target to be ready.&lt;br /&gt;
&lt;br /&gt;
1. Edit the file /etc/default/rsync in the Amahi box to start rsync as daemon using xinetd. The entry listed below, should be changed from false to inetd.&lt;br /&gt;
&lt;br /&gt;
RSYNC_ENABLE=inetd&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2. Install xinetd on the Amahi box because it's apparently not installed by default.&lt;br /&gt;
&lt;br /&gt;
$ sudo apt-get -y install xinetd&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3. Create the file /etc/xinetd.d/rsync on Amahi box to launch rsync via xinetd. It should contain the following lines of text.&lt;br /&gt;
&lt;br /&gt;
service rsync&lt;br /&gt;
{&lt;br /&gt;
disable = no&lt;br /&gt;
socket_type = stream&lt;br /&gt;
wait = no&lt;br /&gt;
user = root&lt;br /&gt;
server = /usr/bin/rsync&lt;br /&gt;
server_args = --daemon&lt;br /&gt;
log_on_failure += USERID&lt;br /&gt;
flags = IPv6&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
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 &amp;quot;kevin&amp;quot; (user below) it fails to connect.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4. Create the file /etc/rsyncd.conf configuration on Amahi box to use rsync/daemon. The file should contain the following.&lt;br /&gt;
&lt;br /&gt;
max connections = 2&lt;br /&gt;
log file = /var/log/rsync.log&lt;br /&gt;
timeout = 300&lt;br /&gt;
&lt;br /&gt;
[datashare]&lt;br /&gt;
comment = Data backup share&lt;br /&gt;
path = /var/hda/files/data&lt;br /&gt;
read only = no&lt;br /&gt;
list = yes&lt;br /&gt;
uid = kevin&lt;br /&gt;
gid = nogroup&lt;br /&gt;
auth users = kevin&lt;br /&gt;
secrets file = /etc/rsyncd.secrets&lt;br /&gt;
&lt;br /&gt;
I made auth user = kevin and uid = kevin. &amp;quot;kevin&amp;quot; is an amahi user with admin checked (in the user area of Amahi dashboard). For multiple shares to backup to, just copy the &amp;quot;destination module&amp;quot; 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.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
$ sudo nano /etc/rsyncd.secrets&lt;br /&gt;
kevin:theuserpassword&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
6. Then set the file permissions for rsyncd.secrets on the Amahi box.&lt;br /&gt;
&lt;br /&gt;
$ sudo chmod 600 /etc/rsyncd.secrets&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
7. Start/Restart xinetd&lt;br /&gt;
&lt;br /&gt;
$ sudo /etc/init.d/xinetd restart&lt;br /&gt;
&lt;br /&gt;
not sure if this was needed, but what the heck.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now for the source side of things: &lt;br /&gt;
1. In the xpenology box, load the dashboard/web interface --&amp;gt; mainmenu/backup and replication.&lt;br /&gt;
2. click &amp;quot;backup destination&amp;quot;&lt;br /&gt;
3. click &amp;quot;create&amp;quot;&lt;br /&gt;
4. pick &amp;quot;network destination / rsync compatible&amp;quot; then NEXT&lt;br /&gt;
5. Name it something you'll understand ... in my case: &amp;quot;data share on Amahi&amp;quot;&lt;br /&gt;
6. IP address (self explanatory)&lt;br /&gt;
7. user: kevin&lt;br /&gt;
8. password: theuserpassword&lt;br /&gt;
9. backup module: datashare (if you made 4 modules like I did, all 4 are available for selection as backup targets)&lt;br /&gt;
10. hit APPLY. If it doesn't work, check the user and passwords.&lt;br /&gt;
11. Do the other modules in the same manner&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now, to setup a backup job on the xpenology box:&lt;br /&gt;
1. click &amp;quot;backup&amp;quot; , then &amp;quot;create&amp;quot;, then &amp;quot;data backup task&amp;quot;&lt;br /&gt;
2. select the folders to backup (pick one with little data or a test folder to make sure it works)&lt;br /&gt;
3. select one of the backup destinations you just created and hit NEXT&lt;br /&gt;
4. name the task, say &amp;quot;backup of data to Amahi&amp;quot;&lt;br /&gt;
5. name the directory on the Amahi share where the backup is going&lt;br /&gt;
6. side note: here's where it got interesting. if I leave metadata and thumbnails selected or unselected and I have &amp;quot;kevin&amp;quot; as the user, it works fine. If I have &amp;quot;rsync&amp;quot; as the user with admin permission (as when I was experimenting with the setup) and have the above 2 things selected, the files came over with protections. I couldn't delete some folders of the test run (I think the metadata ones). I'd have to chmod them to be able to delete them. When I deselected them they were deletable. Someone better than me at this can tell me why. Anyhow, I can't see why you'd really need it, so deselect them and give it a shot.&lt;br /&gt;
7. then hit APPLY&lt;br /&gt;
&lt;br /&gt;
Do a &amp;quot;backup now&amp;quot; to see if it works and that you can delete the backup directory (no odd permissions). If it works, then you can edit the backup task and put a schedule on it.&lt;br /&gt;
&lt;br /&gt;
I think I captured everything I did accurately, and I hope that helps someone.&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--Your text above this line--&amp;gt;&lt;br /&gt;
&amp;lt;!--This page must bellong to one of the following categories please remove comment--&amp;gt;&lt;br /&gt;
&amp;lt;!--[[category:Apps]]--&amp;gt;&lt;br /&gt;
&amp;lt;!--[[Category:Fedora]]--&amp;gt;&lt;br /&gt;
&amp;lt;!--[[Category:Platform]]--&amp;gt;&lt;br /&gt;
&amp;lt;!--[[Category:Pro Version]]--&amp;gt;&lt;br /&gt;
&amp;lt;!--[[Category:Services]]--&amp;gt;&lt;br /&gt;
&amp;lt;!--[[Category:VPN]]--&amp;gt;&lt;/div&gt;</summary>
		<author><name>Kevin Robison</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=Network_backup_FROM_Synology_TO_Amahi&amp;diff=89056</id>
		<title>Network backup FROM Synology TO Amahi</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=Network_backup_FROM_Synology_TO_Amahi&amp;diff=89056"/>
		<updated>2014-10-10T16:49:50Z</updated>

		<summary type="html">&lt;p&gt;Kevin Robison: How to configure rsync daemon in amahi/ubuntu to allow backups FROM a synology unit&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- &lt;br /&gt;
This page is crated automaticaly by a script.&lt;br /&gt;
This part is commented and shall not show&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&amp;lt;!--At the top of the page can be vissible one of the following tags..--&amp;gt;&lt;br /&gt;
    {{WorkInProgress}}&lt;br /&gt;
&amp;lt;!--{{NeedsUpdate}}--&amp;gt;&lt;br /&gt;
&amp;lt;!--{{NeedsMerge | [[Main Page]]}}--&amp;gt;&lt;br /&gt;
&amp;lt;!--{{NeedsExpantion}}--&amp;gt;&lt;br /&gt;
&amp;lt;!--{{NeedsDelete |[[Main Page]]}}--&amp;gt;&lt;br /&gt;
&amp;lt;!--Please remove or place comment accordingly--&amp;gt;&lt;br /&gt;
&amp;lt;!--Your text bellow this line--&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
This is for those trying to get a synology/xpenology box (source) to backup over the network to an Amahi box (target).  I thought that one could fill out the dashboard on the source, and hit the &amp;quot;go&amp;quot; button to start the backup to the HP/Amahi. I found it was not so easy.  This is for Amahi 6/ Ubuntu 12.04.  &lt;br /&gt;
&lt;br /&gt;
For some reason, xpenology likes an rsync daemon running on the target. So we have to setup the target to be ready.&lt;br /&gt;
&lt;br /&gt;
1. Edit the file /etc/default/rsync in the Amahi box to start rsync as daemon using xinetd. The entry listed below, should be changed from false to inetd.&lt;br /&gt;
&lt;br /&gt;
RSYNC_ENABLE=inetd&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2. Install xinetd on the Amahi box because it's apparently not installed by default.&lt;br /&gt;
&lt;br /&gt;
$ sudo apt-get -y install xinetd&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3. Create the file /etc/xinetd.d/rsync on Amahi box to launch rsync via xinetd. It should contain the following lines of text.&lt;br /&gt;
&lt;br /&gt;
service rsync&lt;br /&gt;
{&lt;br /&gt;
disable = no&lt;br /&gt;
socket_type = stream&lt;br /&gt;
wait = no&lt;br /&gt;
user = root&lt;br /&gt;
server = /usr/bin/rsync&lt;br /&gt;
server_args = --daemon&lt;br /&gt;
log_on_failure += USERID&lt;br /&gt;
flags = IPv6&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
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 &amp;quot;kevin&amp;quot; (user below) it fails to connect.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4. Create the file /etc/rsyncd.conf configuration on Amahi box to use rsync/daemon. The file should contain the following.&lt;br /&gt;
&lt;br /&gt;
max connections = 2&lt;br /&gt;
log file = /var/log/rsync.log&lt;br /&gt;
timeout = 300&lt;br /&gt;
&lt;br /&gt;
[datashare]&lt;br /&gt;
comment = Data backup share&lt;br /&gt;
path = /var/hda/files/data&lt;br /&gt;
read only = no&lt;br /&gt;
list = yes&lt;br /&gt;
uid = kevin&lt;br /&gt;
gid = nogroup&lt;br /&gt;
auth users = kevin&lt;br /&gt;
secrets file = /etc/rsyncd.secrets&lt;br /&gt;
&lt;br /&gt;
I made auth user = kevin and uid = kevin. &amp;quot;kevin&amp;quot; is an amahi user with admin checked (in the user area of Amahi dashboard). For multiple shares to backup to, just copy the &amp;quot;destination module&amp;quot; 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.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
$ sudo nano /etc/rsyncd.secrets&lt;br /&gt;
kevin:theuserpassword&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
6. Then set the file permissions for rsyncd.secrets on the Amahi box.&lt;br /&gt;
&lt;br /&gt;
$ sudo chmod 600 /etc/rsyncd.secrets&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
7. Start/Restart xinetd&lt;br /&gt;
&lt;br /&gt;
$ sudo /etc/init.d/xinetd restart&lt;br /&gt;
&lt;br /&gt;
not sure if this was needed, but what the heck.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now for the source side of things: In the xpenology box, load the dashboard/web interface --&amp;gt; mainmenu/backup and replication.&lt;br /&gt;
click &amp;quot;backup destination&amp;quot;&lt;br /&gt;
click &amp;quot;create&amp;quot;&lt;br /&gt;
pick &amp;quot;network destination / rsync compatible&amp;quot; then NEXT&lt;br /&gt;
Name it something you'll understand ... in my case: &amp;quot;data share on Amahi&amp;quot;&lt;br /&gt;
IP address (self explanatory)&lt;br /&gt;
user: kevin&lt;br /&gt;
password: theuserpassword&lt;br /&gt;
backup module: datashare (if you made 4 modules like I did, all 4 are available for selection as backup targets)&lt;br /&gt;
hit APPLY. If it doesn't work, check the user and passwords.&lt;br /&gt;
Do the other modules in the same manner&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now, to setup a backup job on the xpenology box:&lt;br /&gt;
click &amp;quot;backup&amp;quot; , then &amp;quot;create&amp;quot;, then &amp;quot;data backup task&amp;quot;&lt;br /&gt;
select the folders to backup (pick one with little data or a test folder to make sure it works)&lt;br /&gt;
select one of the backup destinations you just created and hit NEXT&lt;br /&gt;
name the task, say &amp;quot;backup of data to Amahi&amp;quot;&lt;br /&gt;
name the directory on the Amahi share where the backup is going&lt;br /&gt;
side note: here's where it got interesting. if I leave metadata and thumbnails selected or unselected and I have &amp;quot;kevin&amp;quot; as the user, it works fine. If I have &amp;quot;rsync&amp;quot; as the user with admin permission (as when I was experimenting with the setup) and have the above 2 things selected, the files came over with protections. I couldn't delete some folders of the test run (I think the metadata ones). I'd have to chmod them to be able to delete them. When I deselected them they were deletable. Someone better than me at this can tell me why. Anyhow, I can't see why you'd really need it, so deselect them and give it a shot.&lt;br /&gt;
then hit APPLY&lt;br /&gt;
&lt;br /&gt;
Do a &amp;quot;backup now&amp;quot; to see if it works and that you can delete the backup directory (no odd permissions). If it works, then you can edit the backup task and put a schedule on it.&lt;br /&gt;
&lt;br /&gt;
I think I captured everything I did accurately, and I hope that helps someone.&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--Your text above this line--&amp;gt;&lt;br /&gt;
&amp;lt;!--This page must bellong to one of the following categories please remove comment--&amp;gt;&lt;br /&gt;
&amp;lt;!--[[category:Apps]]--&amp;gt;&lt;br /&gt;
&amp;lt;!--[[Category:Fedora]]--&amp;gt;&lt;br /&gt;
&amp;lt;!--[[Category:Platform]]--&amp;gt;&lt;br /&gt;
&amp;lt;!--[[Category:Pro Version]]--&amp;gt;&lt;br /&gt;
&amp;lt;!--[[Category:Services]]--&amp;gt;&lt;br /&gt;
&amp;lt;!--[[Category:VPN]]--&amp;gt;&lt;/div&gt;</summary>
		<author><name>Kevin Robison</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=Network_backup_FROM_Synology_TO_Amahi&amp;diff=89051</id>
		<title>Network backup FROM Synology TO Amahi</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=Network_backup_FROM_Synology_TO_Amahi&amp;diff=89051"/>
		<updated>2014-10-10T16:44:24Z</updated>

		<summary type="html">&lt;p&gt;Kevin Robison: Created page with &amp;quot;&amp;lt;!--  This page is crated automaticaly by a script. This part is commented and shall not show --&amp;gt; &amp;lt;!--At the top of the page can be vissible one of the following tags..--&amp;gt;    ...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- &lt;br /&gt;
This page is crated automaticaly by a script.&lt;br /&gt;
This part is commented and shall not show&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&amp;lt;!--At the top of the page can be vissible one of the following tags..--&amp;gt;&lt;br /&gt;
    {{WorkInProgress}}&lt;br /&gt;
&amp;lt;!--{{NeedsUpdate}}--&amp;gt;&lt;br /&gt;
&amp;lt;!--{{NeedsMerge | [[Main Page]]}}--&amp;gt;&lt;br /&gt;
&amp;lt;!--{{NeedsExpantion}}--&amp;gt;&lt;br /&gt;
&amp;lt;!--{{NeedsDelete |[[Main Page]]}}--&amp;gt;&lt;br /&gt;
&amp;lt;!--Please remove or place comment accordingly--&amp;gt;&lt;br /&gt;
&amp;lt;!--Your text bellow this line--&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
This is for those trying to get a synology/xpenology box (source) to backup over the network to an Amahi box (target).  I thought that one could fill out the dashboard on the source, and hit the &amp;quot;go&amp;quot; button to start the backup to the HP/Amahi. I found it was not so easy.  This is for Amahi 6/ Ubuntu 12.04.  &lt;br /&gt;
&lt;br /&gt;
For some reason, xpenology likes an rsync daemon running on the target. So we have to setup the target to be ready.&lt;br /&gt;
&lt;br /&gt;
1. Edit the file /etc/default/rsync in the Amahi box to start rsync as daemon using xinetd. The entry listed below, should be changed from false to inetd.&lt;br /&gt;
&lt;br /&gt;
RSYNC_ENABLE=inetd&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2. Install xinetd on the Amahi box because it's apparently not installed by default.&lt;br /&gt;
&lt;br /&gt;
$ sudo apt-get -y install xinetd&lt;br /&gt;
&lt;br /&gt;
3. Create the file /etc/xinetd.d/rsync on Amahi box to launch rsync via xinetd. It should contain the following lines of text.&lt;br /&gt;
&lt;br /&gt;
service rsync&lt;br /&gt;
{&lt;br /&gt;
disable = no&lt;br /&gt;
socket_type = stream&lt;br /&gt;
wait = no&lt;br /&gt;
user = root&lt;br /&gt;
server = /usr/bin/rsync&lt;br /&gt;
server_args = --daemon&lt;br /&gt;
log_on_failure += USERID&lt;br /&gt;
flags = IPv6&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
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 &amp;quot;kevin&amp;quot; (user below) it fails to connect.&lt;br /&gt;
&lt;br /&gt;
4. Create the file /etc/rsyncd.conf configuration on Amahi box to use rsync/daemon. The file should contain the following.&lt;br /&gt;
&lt;br /&gt;
max connections = 2&lt;br /&gt;
log file = /var/log/rsync.log&lt;br /&gt;
timeout = 300&lt;br /&gt;
&lt;br /&gt;
[datashare]&lt;br /&gt;
comment = Data backup share&lt;br /&gt;
path = /var/hda/files/data&lt;br /&gt;
read only = no&lt;br /&gt;
list = yes&lt;br /&gt;
uid = kevin&lt;br /&gt;
gid = nogroup&lt;br /&gt;
auth users = kevin&lt;br /&gt;
secrets file = /etc/rsyncd.secrets&lt;br /&gt;
&lt;br /&gt;
I made auth user = kevin and uid = kevin. &amp;quot;kevin&amp;quot; is an amahi user with admin checked (in the user area of Amahi dashboard). For multiple shares to backup to, just copy the &amp;quot;destination module&amp;quot; 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.&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
$ sudo nano /etc/rsyncd.secrets&lt;br /&gt;
kevin:theuserpassword&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
6. Then set the file permissions for rsyncd.secrets on the Amahi box.&lt;br /&gt;
&lt;br /&gt;
$ sudo chmod 600 /etc/rsyncd.secrets&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
7. Start/Restart xinetd&lt;br /&gt;
&lt;br /&gt;
$ sudo /etc/init.d/xinetd restart&lt;br /&gt;
&lt;br /&gt;
not sure if this was needed, but what the heck.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now for the source side of things: In the xpenology box, load the dashboard/web interface --&amp;gt; mainmenu/backup and replication.&lt;br /&gt;
click &amp;quot;backup destination&amp;quot;&lt;br /&gt;
click &amp;quot;create&amp;quot;&lt;br /&gt;
pick &amp;quot;network destination / rsync compatible&amp;quot; then NEXT&lt;br /&gt;
Name it something you'll understand ... in my case: &amp;quot;data share on Amahi&amp;quot;&lt;br /&gt;
IP address (self explanatory)&lt;br /&gt;
user: kevin&lt;br /&gt;
password: theuserpassword&lt;br /&gt;
backup module: datashare (if you made 4 modules like I did, all 4 are available for selection as backup targets)&lt;br /&gt;
hit APPLY. If it doesn't work, check the user and passwords.&lt;br /&gt;
Do the other modules in the same manner&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now, to setup a backup job on the xpenology box:&lt;br /&gt;
click &amp;quot;backup&amp;quot; , then &amp;quot;create&amp;quot;, then &amp;quot;data backup task&amp;quot;&lt;br /&gt;
select the folders to backup (pick one with little data or a test folder to make sure it works)&lt;br /&gt;
select one of the backup destinations you just created and hit NEXT&lt;br /&gt;
name the task, say &amp;quot;backup of data to Amahi&amp;quot;&lt;br /&gt;
name the directory on the Amahi share where the backup is going&lt;br /&gt;
side note: here's where it got interesting. if I leave metadata and thumbnails selected or unselected and I have &amp;quot;kevin&amp;quot; as the user, it works fine. If I have &amp;quot;rsync&amp;quot; as the user with admin permission (as when I was experimenting with the setup) and have the above 2 things selected, the files came over with protections. I couldn't delete some folders of the test run (I think the metadata ones). I'd have to chmod them to be able to delete them. When I deselected them they were deletable. Someone better than me at this can tell me why. Anyhow, I can't see why you'd really need it, so deselect them and give it a shot.&lt;br /&gt;
then hit APPLY&lt;br /&gt;
&lt;br /&gt;
Do a &amp;quot;backup now&amp;quot; to see if it works and that you can delete the backup directory (no odd permissions). If it works, then you can edit the backup task and put a schedule on it.&lt;br /&gt;
&lt;br /&gt;
I think I captured everything I did accurately, and I hope that helps someone.&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--Your text above this line--&amp;gt;&lt;br /&gt;
&amp;lt;!--This page must bellong to one of the following categories please remove comment--&amp;gt;&lt;br /&gt;
&amp;lt;!--[[category:Apps]]--&amp;gt;&lt;br /&gt;
&amp;lt;!--[[Category:Fedora]]--&amp;gt;&lt;br /&gt;
&amp;lt;!--[[Category:Platform]]--&amp;gt;&lt;br /&gt;
&amp;lt;!--[[Category:Pro Version]]--&amp;gt;&lt;br /&gt;
&amp;lt;!--[[Category:Services]]--&amp;gt;&lt;br /&gt;
&amp;lt;!--[[Category:VPN]]--&amp;gt;&lt;/div&gt;</summary>
		<author><name>Kevin Robison</name></author>
		
	</entry>
</feed>