[HOW TO] replicate from QNAP to Synology

Discussion on remote replication.
Post Reply
User avatar
fribse
Experience counts
Posts: 2090
Joined: Mon Feb 11, 2008 2:50 am
Location: Greve, Denmark
Contact:

[HOW TO] replicate from QNAP to Synology

Post by fribse »

Just a small rundown on how to set it up, primarily because I forgot how to make it work, and I need it again :-)
First of I need to prepare the Synology NAS for receiving data.
I activate the rsync server on the Synology
Image-0025.jpg
Then I create a user with a given password, it could be called anything, but for easiness I create a rsync user.
Image-0022.jpg
Then I assign rights for the given user to the rsync folder which Synolocy calls NetBackup
Image-0021.jpg
Image-0023.jpg
Looking a the rsyncd.conf file on the Synology reveals the path I should remember for QNAP, SSH in to the QNAP with root, and then 'vi /etc/rsyncd.conf'
Image-0026.jpg
Finally the setup on the QNAP
First, activate the service, and select to create a new remote backup job.
Image-0020.jpg
Then I create the job by filling in all the details noted from previously, the firewall on the receiving site does a NAT from port 32111 to 873 on the Synology, therefore I have another port here, than the standard 873.
Again, it's handled by the firewall, and not the Synology.
Also, the IP address of the server is of course the WAN address of the firewall that does the NAT'ing on the receiving site.
If you do this locally, it should of course just be port 873 and the LAN address of the receiving NAS.

I can't make it work as a NAS, it has to be a rsync server for some reason, somebody might know why, and give me a hint, if I choose NAS I get an authentication error, which is too bad, as it would allow it to work as SSH.
Image-0024.jpg
And that's it, then it's just to choose a schedule, and set it to incremental, and away it goes...
You do not have the required permissions to view the files attached to this post.
Best regards
Fribse

NO, RAID is NOT backup - Use RAID-Certified 24x7 drives for raid
HOWTO's:
Make automatic backup of ALL MySQL databases http://forum.qnap.com/viewtopic.php?f=32&t=15628

NAS-659 Pro II (3 GB Ram), Raid1, Survailance station, local backup destination + NAS-853A (16 GB Ram), Virtualization Station, Plex, iDrive
Network: Fritz!Box 7560 + 24p SG200 + 2x8p SG200 + 8p POE EdgeCore + 300/300 mbit Internet
User avatar
petur
Moderator
Posts: 4606
Joined: Sun Mar 30, 2008 5:42 pm
Location: Gent, Belgium
Contact:

Re: [HOW TO] replicate from QNAP to Synology

Post by petur »

fribse wrote:I can't make it work as a NAS, it has to be a rsync server for some reason, somebody might know why, and give me a hint, if I choose NAS I get an authentication error, which is too bad, as it would allow it to work as SSH.
I think if you set it to NAS, it means the other side is also QNAP so they use some other (not compatible) was to connect.
Praat je liever over QNAP in het Nederlands?
Liever een community bij jou in de buurt?

Kom naar QNAPclub België/Nederland
spikehome
Know my way around
Posts: 121
Joined: Tue Oct 28, 2008 8:50 pm

Re: [HOW TO] replicate from QNAP to Synology

Post by spikehome »

Nice HOWTO

Did someone have the rsync HOWTO from synology (ds106) to qnap (509)??
I wanted the other way a rsync connection.
I mean configure the synology to connect to the qnap rsync?
So i have only to open ports to the qnap and not to every synology that i use.
Like i have 3 small compagny's who have a synology.
I have an qnap 509 and want all 3 to connect my qnap to rsync the data.
2x synology ds106 64mb 1x500GB
1x synology DS1511+ 3gb 5x2000gb
1x qnap ts-509pro 4GB ram 5x500 GB (4.2.0 )
1x qnap ts-509pro 1GB ram 5x1000GB (4.2.0 )
spikehome
Know my way around
Posts: 121
Joined: Tue Oct 28, 2008 8:50 pm

Re: [HOW TO] replicate from QNAP to Synology

Post by spikehome »

nobody?
2x synology ds106 64mb 1x500GB
1x synology DS1511+ 3gb 5x2000gb
1x qnap ts-509pro 4GB ram 5x500 GB (4.2.0 )
1x qnap ts-509pro 1GB ram 5x1000GB (4.2.0 )
User avatar
fribse
Experience counts
Posts: 2090
Joined: Mon Feb 11, 2008 2:50 am
Location: Greve, Denmark
Contact:

Re: [HOW TO] replicate from QNAP to Synology

Post by fribse »

Did you look at the synology forum?
Best regards
Fribse

NO, RAID is NOT backup - Use RAID-Certified 24x7 drives for raid
HOWTO's:
Make automatic backup of ALL MySQL databases http://forum.qnap.com/viewtopic.php?f=32&t=15628

NAS-659 Pro II (3 GB Ram), Raid1, Survailance station, local backup destination + NAS-853A (16 GB Ram), Virtualization Station, Plex, iDrive
Network: Fritz!Box 7560 + 24p SG200 + 2x8p SG200 + 8p POE EdgeCore + 300/300 mbit Internet
spikehome
Know my way around
Posts: 121
Joined: Tue Oct 28, 2008 8:50 pm

Re: [HOW TO] replicate from QNAP to Synology

Post by spikehome »

Got it.

make at the synology a netwerk job.
fill in the ip adress from the qnap (internet adress) then the shared drive name at the service name (case sensitive) like Qdownload.
then login name and password.
And it works.
You do not have the required permissions to view the files attached to this post.
2x synology ds106 64mb 1x500GB
1x synology DS1511+ 3gb 5x2000gb
1x qnap ts-509pro 4GB ram 5x500 GB (4.2.0 )
1x qnap ts-509pro 1GB ram 5x1000GB (4.2.0 )
claudioita
Getting the hang of things
Posts: 96
Joined: Sun Dec 02, 2007 10:40 pm

Re: [HOW TO] replicate from QNAP to Synology

Post by claudioita »

I also try to backup from QNAP to SYNOLOGY, but I receive the error on QNAP ("HOST IS DENIED TO LOGIN)

Probably I am skipping this important passage which I do not understand:
"
Looking a the rsyncd.conf file on the Synology reveals the path I should remember for QNAP, SSH in to the QNAP with root, and then 'vi /etc/rsyncd.conf'"

Do I need to change the rsyncd.conf file on the QNAP, and how? from the image is not clear to me. thank you
mellda
New here
Posts: 4
Joined: Mon Jun 19, 2017 3:00 pm

Re: [HOW TO] replicate from QNAP to Synology

Post by mellda »

Hello. How did you resolved it? I have the same problem. Need to move data from QNAP to Synology. I enabled RSYNC on synology and tested it from my local computer. It works. Then I tested it from QNAP but without success. Same error.
mellda
New here
Posts: 4
Joined: Mon Jun 19, 2017 3:00 pm

Re: [HOW TO] replicate from QNAP to Synology

Post by mellda »

This error

[/share/melldaShare/RC] # rsync -a ChromeSetup.exe rsync://mellda@192.168.1.100:873/Mellda
@ERROR: host is denied to login
rsync error: error starting client-server protocol (code 5) at main.c(2558) [sender=3.0.7]

The same command works from my computer. Computer and both NAS' are in LAN.
Post Reply

Return to “Remote Replication/ Disaster Recovery”