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

Forum Discussion

ReadyNASNVUser's avatar
ReadyNASNVUser
Apprentice
Nov 26, 2020
Solved

Syntax for rSync File Excludes via Web Backup Interface

OS Version 6.10.3   I've hunted high and low for the syntax to specify a folder and all subfolders to exclude via rSync web backup interface and can't find it.   So sorry if this is a repeat post. ...
  • StephenB's avatar
    StephenB
    Nov 27, 2020

    I'm glad I could help.

     


    ReadyNASNVUser wrote:

    so that part of the UX ought to say on the exclude list something like "enter the name of the item (and sub-directories);  paths are not required"

     


    Better help would be useful. It's more complicated than you are thinking, as rsync is doing a pattern match (there is a way to put wildcards in the exclude string).

     

    TV_Recordings/ would have given you an empty TV_Recordings folder on the destination.

    TV* would have excluded any files or folders that started with TV

    readme.txt would have excluded all files called readme.txt (no matter what folder they were in)

    *.mp4 would have excluded all mp4 files (no matter what folder they were in)

     

     

    You can include paths (using / ) but they are always relative (starting from the source folder, not the root of the volume).  So you'd leave the share name out. If you had more than one folder called TV_Recordings you would need some path information.  If I recall your folder tree correctly, Videos/TV_Recordings would have also worked (or *Videos/TV_Recordings)

     

     

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