I use rsync piped via ssh from Macosx and WIn Xp to my B2. Works perfectly.
Now I also have a Qnap NAS and want to Rsync from this Qnap to my B2. In this case the b2 must have a rsyncd server running.
Anyone that can point me to info on how to configure this?
-Håkan
Please note the new address for this forum : forum.excito.org. The old address redirects here but I don't know for how long. Thanks !
New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !
Howto setup rsync-server?
Re: Howto setup rsync-server?
This may proove useful:hakansj wrote:I use rsync piped via ssh from Macosx and WIn Xp to my B2. Works perfectly.
Now I also have a Qnap NAS and want to Rsync from this Qnap to my B2. In this case the b2 must have a rsyncd server running.
Anyone that can point me to info on how to configure this?
-Håkan
http://www.linuxawy.org/node/12
Re: Howto setup rsync-server?
Here's another howto with some more coverage:
http://www.topwebhosts.org/articles/rsync-backup.php
Can't say that I've ever done it this way, but from the looks of it I think this one should get you the result you're aiming for (I've read some really bad stuff on rsync floating around the net).
http://www.topwebhosts.org/articles/rsync-backup.php
Can't say that I've ever done it this way, but from the looks of it I think this one should get you the result you're aiming for (I've read some really bad stuff on rsync floating around the net).
Re: Howto setup rsync-server?
Thanks Gordon,
The content in the article you suggest looks great. §i will give it a try shortly and will post the results
-Håkan
The content in the article you suggest looks great. §i will give it a try shortly and will post the results
-Håkan
Re: Howto setup rsync-server?
Success!
This is what I did:
/etc/rsyncd.conf
uid = nobody
gid = nogroup
use chroot = yes
max connections = 4
auth users = my-user-name
secrets file = /etc/rsyncd.secrets
motd file = /etc/rsyncd.motd
log file = /var/log/rsyncd.log
pid file = /var/run/rsyncd.pid
read only = false
# read only false is important. If you forget, the server cannot upload.
[hsj]
path = /home/hsj/rsynctest
comment = Some comment here
________________________
wrote some info in rsyncd.motd and provide user and password in rsyncd.secrets
_______________________
/etc/default/rsync
Changed one line:
#RSYNC_ENABLE=false
RSYNC_ENABLE=true
_______________
Chmod 777 the directory for the server to write to ( in this case rsynctest
_____________________
started the server in the bubba by : service rsync start
______________
Thats it. N ow th Qnap NAS box can run rsync jobs into the bubba
/Håkan
This is what I did:
/etc/rsyncd.conf
uid = nobody
gid = nogroup
use chroot = yes
max connections = 4
auth users = my-user-name
secrets file = /etc/rsyncd.secrets
motd file = /etc/rsyncd.motd
log file = /var/log/rsyncd.log
pid file = /var/run/rsyncd.pid
read only = false
# read only false is important. If you forget, the server cannot upload.
[hsj]
path = /home/hsj/rsynctest
comment = Some comment here
________________________
wrote some info in rsyncd.motd and provide user and password in rsyncd.secrets
_______________________
/etc/default/rsync
Changed one line:
#RSYNC_ENABLE=false
RSYNC_ENABLE=true
_______________
Chmod 777 the directory for the server to write to ( in this case rsynctest
_____________________
started the server in the bubba by : service rsync start
______________
Thats it. N ow th Qnap NAS box can run rsync jobs into the bubba
/Håkan