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

Forum Discussion

Jerrico's avatar
Jerrico
Aspirant
Feb 24, 2017
Solved

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...
  • Jerrico's avatar
    Jerrico
    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"....

     

     

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