NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
datamgmt
Jul 21, 2008Aspirant
Backup ReadyNas to ReadyNas with rsync and exclude lists
Hi, I have two ReadyNas that are successfully doing backups (between two sites) via rsync. There is one directory that we do not wish to copy over because it contains large, temporary media files (...
ianmacd
Jan 30, 2009Aspirant
jleinbach wrote: Ian,
Thank you so much for posting this.
I am in a similar boat: I totally agree with you about the purpose of appliances (and the need to not void rights to tech support as well), but i need to get my ReadyNAS to run rsync with parameters that I can't control through FrontView.
Your solution is about as uninvasive as it gets so I am preparing to ride on your coat tails (thanks again for bothering to post the solution). I just wanted to see if you had run into any problems since implementing this before I jump in.
Also, I actually need to get FrontView to STOP adding the "-l" paramter because the rsync server i'm backing up to (from the ReadyNAS) is ibackup and their server rejects connections with this parameter (a documented feature). I'm not familiar with perl at the moment so it's not clear to me if this will be doable/easy.
Jared
Hello Jared,
Thanks for your kind words. Yes, the lack of rsync control is frustrating. Flags like --exclude are absolutely essential to me.
To remove the -l option from the back-up jobs, just do the following. This solution assumes RAIDiator 4.1.4, but should be similar or identical for other versions.
Go to line 68 of /frontview/bin/backup, where you should find the following:
my $rsync_option = "v --links ";
Change this to:
my $rsync_option = "v ";
Of course, this will affect all of your back-up jobs. If this is unacceptable, you'll need to add code to change the options on a per job basis. That's trickier.
And yes, my hack is still working well for me months later. The only issue with it is that installing a new version of the firmware blows it away.
Related Content
NETGEAR Academy

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