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
Jun 25, 2009Aspirant
gdietz wrote:
The only difference in your solution and the one that I just tried is who you determine what rsync options to append. Your solution uses the $backup_source/dest_path variable to lookup up in a separate config file. Mine uses the variables themselves to see if they have options embedded in them and if so parses them out.
This solution allows you to enter the options directly into the UI (with no changes to the UI code) - just put all your options at the end of the path field using <sp>--optionx -optiony valuey.... The backup code will detect the " --" in the path and remove them - placing them into the options variable.
As you point out, though, this means you can't have '--' in your paths or option lists. There may be other side effects, too.
That wouldn't be a big deal for most people, but may cause unexpected results in an isolated number of cases. The more solutions, the better, though.
Related Content
NETGEAR Academy

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