NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
mrochford
Apr 10, 2012Aspirant
Use of Rsync with local shares
I would like to be able to choose to use rsync or cp depending a checkbox. CP to me is worthless.
Model: ReadyNAS Ultra 4 Plus [X-RAID2]
Firmware: RAIDiator 4.2.19
Model: ReadyNAS Ultra 4 Plus [X-RAID2]
Firmware: RAIDiator 4.2.19
9 Replies
Replies have been turned off for this discussion
- you can use rsync backup jobs with local shares
to do so, you must enable rysnc on the share(s) you want to use, via frontview > shares > rsync tab - mrochfordAspirant
TeknoJnky wrote: you can use rsync backup jobs with local shares
to do so, you must enable rysnc on the share(s) you want to use, via frontview > shares > rsync tab
How do you enable it rysnc to usb disc drive? - assuming you are not having the same problem discussed @ viewtopic.php?f=31&t=62095
then you simply enable the rsync for the usb 'share' you wish to access via rsync. - mrochfordAspirantSorry I mean I do not want to use cp to backup shares I want to use "rsync -av --delete".
For example.
I have a share called "Documents" and want to make a exact copy on USB_1. If I use the current setup it just copies everything even though there may have been deletes done on the SRC. It will eventually fill the drive up with data that may not exist anymore. - you need to use rsync on the source share 'documents' and then you can check the delete missing files thing.
the destination will be the usb_1 - mrochfordAspirant
TeknoJnky wrote: you need to use rsync on the source share 'documents' and then you can check the delete missing files thing.
the destination will be the usb_1
It seems silly to me to have to setup the rsync service to use something that is already native on the OS. To me data synchronization should be painless. Copying your dataset every time you run a backup is a resource waste. When you could just copy/remove the changes of the share. Also the current backup doesn't do removes from the share it will just copy what exists and wont remove from the DEST location. - using backup jobs is the only way to copy other than drag/drop with windows, or command line ssh.
using rsync backup jobs is very easy.
yes, the first time a job is run it will copy the entire share, after that it will delete if you have the option checked..
NOTE: the REMOTE Rsync server, CAN BE THE LOCAL MACHINE
if it is a large share and you do not want to re-do the inital copy (because the data is already copied), you can make the initial backup job point to empty shares/folders.
to edit a backup job, just click the job number button on the backup job list.
I don't know why you are having problems or are getting upset, the rsync backup will do exactly what you want, as I have it setup to do exactly that from one of my readynas to another. - mrochfordAspirantI think you are missing what I am saying. I do not want to enable another service on the NAS. From a security standpoint allowing a RSYNC server to even be run is a security hole in my eyes. I understand that there can be a username/password setup for the service.
Also from a pure throughput standpoint if I do setup rsync service and try to mirror data. I now have to go through the NIC to get the data when I should be able to just access the disk directly.
Maybe I am just expecting to much out of this product. - rsync is only available via the service. Sorry if that is not the way you want, but that is how it is implemented.
it does not go through the NIC if you use the local host name, 127.0.0.1 or the ip of the local nas
source: rsync server localhost
destination: share
in any case, it should hardly be any different thoroughput, especially once the initial job completes and its doing partials
as far as security I believe you can limit rsync access by host/ip, so simply limit rsync access to 127.0.0.1 and no other computer can access the service.
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!