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

Local rsync to USB

Pieter_12
Aspirant

Local rsync to USB

Hello, I have a readynas 102 with 2 4TB WD RED HDD's. OS 6.5.2. Homenetwork. 

 

Making a first time backup from a local folder to a local USB drive was very easy with the backup options in the NAS. But Now I am looking to Rsync the same updated folder to the same destination, and I only want to back up changes, and I really can't see how to do that. I read the fora here and searched internet.  

 

So I want to RSync a folder on my NAS  to a WD Mybook 4TB (USB 3.0) connected to the USB 3.0 port on the back, the upper one.  

 

Is there a good guide how to do that, if it is possible? 

 

Thanks, Pieter 

Model: RN10200|ReadyNAS 100 Series 2- Bay (Diskless)
Message 1 of 10

Accepted Solutions
StephenB
Guru

Re: Local rsync to USB


@Pieter_12 wrote:

 

Namely, I want to RSync the source Folder     /data/Music    

 


The path name should be the share name -  Music - with no slashes.

 

You do need to have the rsync protocol enabled for the share (in the share settings).

View solution in original post

Message 4 of 10

All Replies
StephenB
Guru

Re: Local rsync to USB

You can use this guide as a start: http://kb.netgear.com/app/answers/detail/a_id/29741/~/how-do-i-back-up-data-between-two-readynas-os-...

 

Enable rsync on the source share.  Make the source share "remote" in the backup job, and use 127.0.0.1 as the host.  That is "localhost", so it is the NAS itself. 

Message 2 of 10
Pieter_12
Aspirant

Re: Local rsync to USB

Thanks! I got two steps further than before, now stuck with path....

 

Source side: I choose remote for the source (my readyNAS), RSync Server and host 127.0.0.1   then i could test connect and it worked! 

But I can't choose or dont know how to set (in the field Path) the correct path to one folder I want to Rsync to a specific folder on my USB drive ? Namely, I want to RSync the source Folder     /data/Music    

 

but If I type this or only /Music or with or without '/' or /data in the field Path, whatever, it doesn't connect anymore and gives me an error code 7....etc. How to solve this? 

 

Destination side:

Now I choose local (not remote), then I could  browse for my USB_HDD_4 (the WD Book over USB 3.0) and set the correct path for the folder Music 

Then I could also choose under advanced [ Remove delete files on target]  to get a proper copy of the source

 

Message 3 of 10
StephenB
Guru

Re: Local rsync to USB


@Pieter_12 wrote:

 

Namely, I want to RSync the source Folder     /data/Music    

 


The path name should be the share name -  Music - with no slashes.

 

You do need to have the rsync protocol enabled for the share (in the share settings).

Message 4 of 10
Pieter_12
Aspirant

Re: Local rsync to USB

Thanks, I managed to get connected to the right folder   Music. The problem was that in a previous attempt I had created a login name and password  for the Music folder on the source. This gave the error when I tried to connect without including the same inlog details. I removed this and now connections to the folder Music on my NAS is working. I will schedule this RSycn for tonight. I 'll let you know whether it worked.   

Message 5 of 10
Pieter_12
Aspirant

Re: Local rsync to USB

It has finished after 5 days/120 Hours for about 3 TB! This is quite long, any clue why it took this long? could it be because it is the first time I full rsync this folder? Would a next time RSYNC be faster or not? Or should I just do a normal back up next time meaning I first have to erase all the data on the destination?  

 

Thanks!

 

Message 6 of 10
StephenB
Guru

Re: Local rsync to USB

Looks like you were getting about 7 MB/sec. How was the drive formatted?  What firmware are you running?

 

Future backups will be incremental, so it will only copy the data that has changed.  They'll run faster (though the transfer rate might not improve, there will be a lot less to copy).

Message 7 of 10
Pieter_12
Aspirant

Re: Local rsync to USB

The drive was NTFS formatted and the FW was 6.5.2. 

 

Any suggestions how I could speed up this RSync proces?  Should the back USB drive have been formatted differently?  

Message 8 of 10
StephenB
Guru

Re: Local rsync to USB

The NTFS software in 6.5.0 and later are pretty fast, so formatting the drive differently probably wouldn't matter very much.  You could try formatting as ext4 or btrfs, but if you can't read the backup from your PC, then IMO that is a bad idea.

 

I think the issue is that you are running into the performance limits of the NAS (its CPU is much slower than the other NAS models).

 

Try running it again (incrementally) and see what times you get.  7 MB/sec is still decent for incremental backups - generally you are only updating a couple of gigabytes.

Message 9 of 10
Pieter_12
Aspirant

Re: Local rsync to USB

Ok, thanks you very much for your help! I will try the incremental somewhat later. And I will put the info here.

 

BR, Pieter  

Message 10 of 10
Top Contributors
Discussion stats
  • 9 replies
  • 4061 views
  • 0 kudos
  • 2 in conversation
Announcements