
Solved!
Go to SolutionNetWorker 9.2.1.5 global directive problems
Hi there,
we've got a fresh installed NetWorker 9.2.1.5 environment running on CentOS 7.5 Linux. We have five database servers running Oracle 10g on it. The database files are stored in the following folders:
Server 1 => /oracle1
Server 2 => /oracle2
...
Server 5 => /oracle5
For the database backup we're using the NMDA Module so we have this and the NetWorker client software (9.2.1.5) installed on this systems (CentOS 5.11). I want to do a file system backup for this systems as well and don't want to save the oracle folders because they are very big. I decided to create a directive that looks as follows (due to NetWorker Admin Guide):
<< */oracle[1-5] >>
+skip: *
In the client setup I chose this directive for each client and set the save set to All.
When I start the Workflow for this group the backup action monitor shows the following save sets:
Server 1:
/
/boot
/oracle1
Server 2:
/
/boot
/oracle2
and so on...
It seems, that the directive is not working. I can't find anything in the logs that says the client tries to use the directive.
I also created a directive for each client because I wasn't sure about the new wildcard syntax for the folders:
<< /oracle1 >>
+skip: *
Can someone please help me with this?
Regards
Hendrik
Responses (6)
Solutions (0)

wlee
263 Posts
1709
0
Posted October 19th, 2018 06:00
After the backup completes, and you browse the client's files that were backed up, you will see the oracle directory backed up, but not the files within the oracle directories.
In addition, you will see the hidden files too, because your skip "+skip: *" does not skip the hidden files (those that only have extension and no file name).
To skip all files in a directory, use:
+skip: * .?*