Unsolved
2 Posts
0
1108
December 18th, 2019 05:00
Create a directive that excludes named folders
We use netapp to snapmirror data to our HQ site from a remote site. This snap mirrored folders are read only and every folder recursively contains a .snapshot folder. Since it is read only I cannot write in any nsr.dir files to these directories.
Does anyone know if directives has the ability to exclude all folders with a specific name? What I am getting from directives is that you can specify a directory and exclude files recursively but it is not apparent that you can specify a directory name pattern instead of a file name pattern under that directory.
No Events found!



bingo.1
2.4K Posts
0
December 18th, 2019 06:00
You cannot define a directive for NDMP backups.
Abstractly spoken are directives 'exceptions to NW's uasm command'. This is a NetWorker client-specific command.
However, as you cannot install any software on a NDMP filer, there is also no NW client software which can help here. For NDMP files you must setup the save set list appropriately.
RickyB72
2 Posts
0
December 18th, 2019 06:00
The backup is NFS direct to tape not NDMP. The "parent folder" is NFS shared and we mount it through our linux based networker server as a save operation that writes directly to tape.
But as you say, if directives require the client to be installed for it to process these commands, then the point is moot.
bingo.1
2.4K Posts
0
December 18th, 2019 07:00
In this case apply your standard linux directive and add these lines
< /rootname_of_your_directory_tree >
+skip: .snapshot