Unsolved

2 Posts

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.

2.4K Posts

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.

 

2 Posts

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.

2.4K Posts

December 18th, 2019 07:00

In this case apply your standard linux directive and add these lines

< /rootname_of_your_directory_tree >

+skip: .snapshot

 

No Events found!

Top