RSYNC QNAP -> FreeNAS

Discussion on remote replication.
Locked
nogi
Getting the hang of things
Posts: 69
Joined: Tue Apr 06, 2010 9:28 pm

RSYNC QNAP -> FreeNAS

Post by nogi » Tue Jul 05, 2011 9:38 pm

I have a TS439Pro and a FreeNAS server. I want to replicate my QNAP data to the FreeNAS on a daily basis. The share on the freenas is like /mnt/share1. But when I setup rysnc it keeps failing, complains that the path was not found. The connection seems to be working as when I test I get success message.
TS-653Pro with 4.1.1 build 20141101

User avatar
onlyalex
Experience counts
Posts: 1462
Joined: Fri Nov 27, 2009 3:16 pm
Location: Gothenburg Sweden

Re: RSYNC QNAP -> FreeNAS

Post by onlyalex » Wed Jul 06, 2011 1:19 am

On FreeNAS
Create an user with admin rights or atleast read/write to your /mnt/share1 folder
Create an rsync module in services --> rsync --> modules. Ex "Share1" "/mnt/share1. Enable module listing. Access mode = Read write.

On Qnap
Create an rsync jobb and point to the ip of your freenas server.
Use the user created or with read / write permissions.
Select the source folder on your Qnap
Enter the module name from your freenas box as destination. Ex "/Share1" Note: I dont have module listing when connecting Qnap --> FreeNAS. However it should work anyway.
Now start the rsync jobb it should work without any problem.

Im doing rsync from my qnap to 2 freenas boxes working without any problem. Using Freenas 0.7. Have not tried with the new 0.8 version do.
Cheers.
Nas1: Qnap TS-809 Pro "3.7.1 Build 0615"
Nas2: Qnap TS-119 "3.5.0 Build0816"
Nas3: Qnap TS-119P+ "3.5.0 Build0816"
Nas4: Qnap TS-212 "3.6.0 Build0210"
Nas5: Qnap TS-259 Pro+"3.5.0 Build 0815"
Nas6: Qnap TS-459 Pro II "3.5.0 Build 0815"
iPad2: 64Gig 3G "iOS 6"
UPS: APC Back-UPS RS 550VA

QNAP Comparison Cart HERE | 1Bay | 2Bay | 4Bay | 5Bay | 6Bay | 8Bay | 1U | 2U |
QNAP Compatibility List HERE | Online User Manual | Tutorials | Frequently Asked Questions |

nogi
Getting the hang of things
Posts: 69
Joined: Tue Apr 06, 2010 9:28 pm

Re: RSYNC QNAP -> FreeNAS

Post by nogi » Wed Jul 06, 2011 5:38 am

Thank you, I wil ltry this tonight.
TS-653Pro with 4.1.1 build 20141101

nogi
Getting the hang of things
Posts: 69
Joined: Tue Apr 06, 2010 9:28 pm

Re: RSYNC QNAP -> FreeNAS

Post by nogi » Tue Jul 26, 2011 1:07 pm

Thanks, that worked perfectly. Only one issue though, it's not deleting deleted folders on the destination (FreeNAS). Deletes the files in those folders with no issue, just doesn't remove the folder. :?:
TS-653Pro with 4.1.1 build 20141101

Chemosh013
First post
Posts: 1
Joined: Tue Sep 21, 2021 5:15 am

Re: RSYNC QNAP -> FreeNAS

Post by Chemosh013 » Tue Sep 21, 2021 5:19 am

Thanks for this! It helped so much. Just wanted to add something that I had happen in my setup using Qnap HBS 3 to a TrueNAS installation.

Make sure to click the "Apply Destination Permissions" box in the QNAP one way sync options. When I didn't have that clicked, the sync would happen and show files transferred, but on my TrueNAS box it just created directories but didn't copy files over. I'm assuming RSync was trying to use users in the QNAP box that didn't exist in TrueNAS so the files weren't kept. After I clicked the option, the files copied over no problem.

User avatar
OneCD
Ask me anything
Posts: 9375
Joined: Sun Aug 21, 2016 10:48 am
Location: "... there, behind that sofa!"

Re: RSYNC QNAP -> FreeNAS

Post by OneCD » Tue Sep 21, 2021 5:44 am

* topic locked to prevent further necroposting *

ImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImage

Locked

Return to “Remote Replication/ Disaster Recovery”