NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

IgorS's avatar
IgorS
Aspirant
Dec 08, 2015

Rsync from ReadyNAS Pro 4 to ReadyNAS 314

Hello all,

 

I have a ReadyNAS Pro 4 running on RAIDiator 4.2.27 and a newly installed ReadyNAS 314 running on OS 6.4.0.

 

I've configured backup jobs on ReadyNAS 314 to use "remote: Rsync Server", to pull data from ReadyNAS Pro 4. The source shares are regular CIFS/SMB shares with Active Directory integration.

 

(I've tested the connection to the source share, the credentials are fine. Destination share on ReadyNAS314 has been set up with the right permission, all is OK. Since it's an internal LAN backup job, I'm not using any SSH security or compression features)

 

I've created a schedule - and all jobs complete successfully.

 

However... When I try to access the destination shares, I can see and access the files - but ALL subfolders have their ownership and permissions changed. 

 

Namely, ownership it simply says "Unable to display current owner". When I change the ownership to myself, I look at Permissions and it shows that "Everyone" has only Special permissions, 35033 (Unix User\35033) and 35004 (Unix Group\35004) are added by default (?), Creator Owner and Creator group also have restricted permissions.

 

Looking into share settings, I can see that Network Access and File Access have changed accordingly as well.

 

Is Rsync between different OS and different models even supported? I should think so.

 

So, what's causing this security change...? 

 

Regards,

Igor

 

 

 

 

 

3 Replies

Replies have been turned off for this discussion
  • StephenB's avatar
    StephenB
    Guru - Experienced User

    The issue isn't rsync - I use OS6 backup jobs to back up my Pro with no problems.

     

    The user/groups need to be matched on the two systems - meaning that the assigned UIDs and GIDs for each user account/group need to be identical.  There is one user/group that cannot be matched - nobody/nogroup (e.g. guest).  I worked around this by reconfiguring ownership/group of my shares on the pro, so nobody/nogroup isn't the default for any.   

     

    Whether this matters operationally depends on your use case.  If you restore backups from the RN314 to the pro, the owner/groups will be fine.  If you switch to the RN314 when the Pro-4 fails, then you will want to match the owner/group configuration (or reset the ownership if it doesn't matter to you).

     

    My PCs are all set up to use admin credentials when accessing the NAS, so the pro (and the other NAS) just use admin/admin for all the shares.  Of course that approach won't work for everyone.

     

    BTW, there are some changes to the way permissions are managed in 6.4.1.  So you might look into that.

    • IgorS's avatar
      IgorS
      Aspirant

      Thanks for your input, Stephen!

       

      There's certainly some user/ownership issue here. I checked source share, and "Folder Owner" and "Folder Group" were set differently than on target share. I fixed that on target side and tried again. Same effect.

       

      So I'm not sure if this is the case.... Both NAS devices draw user info form the same AD (different DCs, though).

       

      Rather than making sure if all GIDs and UIDs are the same, I defined backup jobs from the source (RN314) and chose "Windows/NAS (Timestamp)" as a target and typed in the target system name and target share name. No more ownership issues. And it's incremental.

       

      -I.

      • StephenB's avatar
        StephenB
        Guru - Experienced User

        IgorS wrote:

         

         

        Both NAS devices draw user info form the same AD (different DCs, though).

         

         


        I was assuming local accounts.  I've never administered AD, so I can't/don't offer advice there.

         

        The good news is that you've found a decent workaround.

NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology! 

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More