NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
Jerrico
Feb 24, 2017Aspirant
ReadyNAS NV+ v2 - NAS to NAS backup with rsync - deleting files in target as per source
Latest version of Radiator (5.3.13) on both ReadyNAS NV+ V2 systems - attempting to do a rsync backup across VPN. This question follows on from this previous thread: Backup ReadyNas to ReadyN...
- Mar 17, 2017
I can confirm that this unit is capable of these rsync protocol features (delete files on target that were deleted on source & file/folder exclude lists). The backup script at /frontview/bin/backup supports these options, so it's just a matter of making the cron entry /etc/cron.d/frontview-backup also support them. This last is the file that is created by the frontview html interface (and over-written with each modification to each backup job) - it is that that is deficient. Importantly, this cron entry is also used when you manually "run" the backup job in frontview as well (and the file is also not regenerated on a manual run). That is, everything is there to support these features except they didn't bother adding the html controls...thanks Netgear 8|. In fact, in my quick perusal of the html code it appears it is also largely implemented in there too - somebody with some more html experience might be able to provide a better hack than I have, that is, to edit the html code and provide the required controls. Anyway, by using another script and another cron-job, I can ensure that the appropriate fields are populated in the backup cron job and my rsync now works as I would like. If anybody wants some more details (i.e. copies of the files - there are a few traps to watch out for), please ask.
Hopefully Netgear won't change things to disable this hack like was done for ianmacd in the post "Backup ReadyNas to ReadyNas with rsync and exclude lists"....
Jerrico
Feb 27, 2017Aspirant
Hi FramerV,
Thanks very much for your interest. I plan to have a play with ReadyNAS Replicate to see if it will provide a suitable alternative but I would certainly appreaciate any suggestions regarding rsync. This would be a much more elegant solution. It also appears so frustratingly close to functional (to my inexpert eye) in that the backup script already has the mechanisms to cope with the html options (for exclude and delete anyway), should they exist....
Thx and Regards,
Jerrico
StephenB
Feb 27, 2017Guru - Experienced User
Jerrico wrote:
It also appears so frustratingly close to functional...
Unfortunately that is the case with the 5.3.x ReadyNAS. The other platforms (OS 4 and OS 6) do have exclude lists, and the option to delete files that are no longer on the source.
- JerricoMar 17, 2017Aspirant
I can confirm that this unit is capable of these rsync protocol features (delete files on target that were deleted on source & file/folder exclude lists). The backup script at /frontview/bin/backup supports these options, so it's just a matter of making the cron entry /etc/cron.d/frontview-backup also support them. This last is the file that is created by the frontview html interface (and over-written with each modification to each backup job) - it is that that is deficient. Importantly, this cron entry is also used when you manually "run" the backup job in frontview as well (and the file is also not regenerated on a manual run). That is, everything is there to support these features except they didn't bother adding the html controls...thanks Netgear 8|. In fact, in my quick perusal of the html code it appears it is also largely implemented in there too - somebody with some more html experience might be able to provide a better hack than I have, that is, to edit the html code and provide the required controls. Anyway, by using another script and another cron-job, I can ensure that the appropriate fields are populated in the backup cron job and my rsync now works as I would like. If anybody wants some more details (i.e. copies of the files - there are a few traps to watch out for), please ask.
Hopefully Netgear won't change things to disable this hack like was done for ianmacd in the post "Backup ReadyNas to ReadyNas with rsync and exclude lists"....
Related Content
NETGEAR Academy

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