Unix Client Exclude particular file extension from all subdirectories
Hi
I am trying to get an exclude list put onto all our Unix Clients and having issues with one particular exclusion. I need to exclude all the .bash_history files that could reside in all the sub-directories below specific top level directories.
Note: I cannot just put in .bash_history into the exclude list as we need to back it up for some users.
Example:
Say i had this particular file listed as follows in the directory structure for /u01
/u01/testdir1/.bash_history
/u01/testdir1/testdir2/testdir3/.bash_history
How could i put that into the exclude list so it would check all sub-directories of /u01 for that file and exclude it? Is it even possible as all the tests i have done dont work. No matter what i do it backs up this file every time.
Any advice would be appreciated.
"Note: I cannot just put in .bash_history into the exclude list as we need to back it up for some users."
Actually I think you can put .bash_history into exclude_list , in this case.
For those you need to back it up for some users, just create another include_list file to tell NBU to backup.
NBU looks at exclude_list first to exclude everything, but will look at include_list also (if that exists) to backup whatever it's there.