× NETGEAR will be terminating ReadyCLOUD service by July 1st, 2023. For more details click here.
Orbi WiFi 7 RBE973
Reply

RSYNC does nothing

dtarin
Luminary

RSYNC does nothing

Man this ReadyNAS 516 has me puzzled.. it's nifty and much faster than my old nvx but man.. simple things just don't work sometimes. 

 

Anway.. I'm having trouble doing an rsync of my user folders from my nvx to my 516.  This is all the logs have. 

 

Backup Job Name: nvx to 516 rsync 2
Backup Job Type: Full
Protocol: rsync
Backup Source: [remote:rsync]/192.168.22.210::
Backup Destination: [home:dtarn]/
Backup Start Time: Wed Sep 21 2016 20:55:31
Backup Finish Time: Wed Sep 21 2016 20:55:31
Backup Status: Success

 

Notice the job type and then start and finish times.  Basically it did a whole lot of nothing and it said Success?  WTF?

 

I know rsync works as I'm able to rsync one of the non user shares with no issue runs like a charm.

 

--------

 

Now, here's the thing, the rsync used to work.  However since I"m still playing around with the 516 I decided to turn on ready cloud to see how it worked.  Didn't like it much so I decided to turn it off.  Then it gave me the big bad warning about home folders being deleted.  I said "ok", this was not my primary data source so I let it delete the users.   

 

When I recreated the users, I noticed rsync wouldn't restore the files anymore for the user shares even after making it do a full restore.  Is that because rsync somewhere is keeping a history of the files it's backed up??   If so how do I reset that so it  knows to start from scratch?  (I though just doing a full backup would do, but apparently not.).   Is there some obvious detail in configuring rsync for home folders that I could be forgetting or is something funny is going on with my NAS setup?  

 

Model: RN51600|ReadyNAS 516 6-Bay
Message 1 of 8
JennC
NETGEAR Employee Retired

Re: RSYNC does nothing

Hello dtarin,

 

Have you tried creating a test backup job? What is the current firmware version of your RN516?

 

I would suggest try contacting support since this is an RN516, I think they have lifetime CHAT support for ReadyNAS 300 series and above. Login at my.netgear.com and have your NAS registered, have the proof of purchase ready.

 

Regards,

Message 2 of 8
StephenB
Guru

Re: RSYNC does nothing


@dtarin wrote:

Is there some obvious detail in configuring rsync for home folders that I could be forgetting or is something funny is going on with my NAS setup?  

 


One thing (which is annoying) is that rsync can't be enabled as a protocol for home folders on OS 6.  

Message 3 of 8
dtarin
Luminary

Re: RSYNC does nothing

Test backups:  Not sure what you mean.  I had rysnc backup jobs and before ReadyCloud deleted my user folders I am 90% certain I had rsync working for those user folders (I hadn't done anything else to get data on my 516 prior to that).   I had tried it on two user folders and all the data came over.  Also have it working on one public share and that's been working fine with no issue.   

 

Firmware version: 6.5.2

 

Netgear Support:  Can't do it anymore.  It's only available within the first 90 days of registering.  I"m at about 100 days.. grr. just missed the cutoff. 

 

Still puzzled.. so maybe I will just activate ftp on the nvx and use rsync on the 516 to transfer it in?   If nothing else, I may just do a factory reset and start over and see if it works then. 

 

 

Message 4 of 8
StephenB
Guru

Re: RSYNC does nothing


@dtarin wrote:

Test backups:  Not sure what you mean.


What I mean is simple enough.  You cannot enable rsync file access for home folders.  The option is grayed out.

 

home.png

So that means an rsync backup job cannot have a remote home folder as a either a source or a destination.

Message 5 of 8
dtarin
Luminary

Re: RSYNC does nothing

who knows what I had setup before.. the ftp on source (nvx) and rsync on destination (516) works fine but it appears I cannot set the backup to remove files deleted at the source "remove deleted files on target".  

Message 6 of 8
dtarin
Luminary

Re: RSYNC does nothing

"So that means an rsync backup job cannot have a remote home folder as a either a source or a destination."

 

Hm.. check this out.  

 

Although you can't enable rsync on home folders, you can still setup an rsync I found out. You can have home folder as aso remote ReadyNAS NVX and destination as a ReadyNAS 516.  The readyNAS NVX must have home drive aveilable over FTP (see screenshot).  

Screen Shot 2016-09-24 at 3.06.29 PM.png

 

RSYNC on the 516 can then have the source and destination setup like this.  Homes on the ReadyNAS NVX (RAIDiator 4.2.28) are at path /homes/abc123 where abc123 is the same as the login.   The destination should be set to local, and just browse and select the user home directory (i.e. /home/abc123).

Screen Shot 2016-09-24 at 3.09.27 PM.png

 

That worked but as I said, it appears you can't have a true mirror - as deleted files on the source won't be deleted in the destination without being able to turn on "remove deleted files on target".  If I can get that work then I'm golden..

 

Message 7 of 8
StephenB
Guru

Re: RSYNC does nothing


@dtarin wrote:

 

Although you can't enable rsync on home folders, you can still setup an rsync I found out. 

No.  ftp is not rsync.


@dtarin wrote:

That worked but as I said, it appears you can't have a true mirror - as deleted files on the source won't be deleted in the destination without being able to turn on ""remove deleted files on target".


That particular option only works with rsync, and that's what you can't use.

 

There is something you can do -

1. create a backup share on the 516 (perhaps home-backup), and enable rsync for that share.

2. create a backup job on the nvx, and choose "All Home Shares" as the source.  Choose remote rsync server as the protocol, and home-backup as the destination path.

 

 

That works because the backup job is not using remote home folders at at all (only the local one).

Message 8 of 8
Top Contributors
Discussion stats
  • 7 replies
  • 3777 views
  • 0 kudos
  • 3 in conversation
Announcements