Unsolved
This post is more than 5 years old
41 Posts
0
999
December 22nd, 2009 06:00
need help with directive
I am trying to setup a directive to skip "my recent documents" folder. The folder is under every user's share on the file server and it only contains 1kb shortcuts.
For Ex:
/UserDirs/User1/Recent
/UserDirs/User2/Recent
..................................
/UserDirs/User3/Recent
I tried a global directive +skip: Recent but it didn't work. I verified through the NW user program.
I strongly feel that we would get a better performance if I can some how avoid that folder for all the users.
Per admin guide, it only works if a path is known(fixed). But in our case there are multiple instances.
There are thousands of users so nsr.dir would be really difficult....
Does anyone know how to skip a common sub-directory within multiple folders ?
Please advice..


psoni1
41 Posts
0
December 22nd, 2009 08:00
<< / >>
+skip: Recent It worked !!
What is the difference between null & skip ? Which one should I use ?
pheikens
96 Posts
1
December 22nd, 2009 11:00
Hi,
'null' means not to backup the content of the file/directory, but the path will be backed up.
'skip' means not to backup up the file/directory, even the path will be skipped.
In your case 'null' will be the better choice I think, because the path 'recent' will be backed up, but no files in it.
psoni1
41 Posts
0
December 24th, 2009 04:00
Our daily incr backup went from 14 hrs to 4 hrs with this directive. Looks like 60% of the total # of files are under user's "Recent Documents"
<< / >>
+skip: Recent
Howerver, I changed that to avoid the risk of not backing up any user folder/file named "Recent"
<< / >>
+skip: *.lnk (extension for the shortcuts in Windows)
And last night's backup is still running . ( ~ 600 min). Does Networker need to walk the tree to determine the file extension to figure out what needs to be backed up ?
pheikens
96 Posts
0
December 24th, 2009 08:00
You are right.
NetWorker will walk through all dirs to find out which files to backup and which not.
When you skipped the dir 'recent', NetWorker did not have to walk through this dir and saved about 6h of time.