Unsolved
17 Posts
0
1633
August 27th, 2021 05:00
Directive to Skip folder on many drive
Try to get a folder skipp on many drive. But if I specifiy / or * as the path, only the first drive get the folder skip, the other not. Is the a way to get by this ?
No Events found!
bingo.1
2.4K Posts
0
August 27th, 2021 10:00
This looks as if you have forgotten the '+' to apply the directive. Your directive should read like this:
<< / >>
+skip: name_of_directory
If this does not help, please state your directive.
Nature1
17 Posts
0
August 27th, 2021 11:00
For test I have c:\temp e:\temp and f:\temp
here's my directive applied to the client
<< / >>
+skip: temp
This doesn't skip any temp folder on any drives
Nature1
17 Posts
0
August 27th, 2021 12:00
Found this explanation on the web...
But doesn't work..
bingo.1
2.4K Posts
0
August 27th, 2021 15:00
This is what I have used for verification:
NW Server: 19.5.0.1 on Windows 2019
Save Sets: D:\ & Y:\ containing these directories:
C:\>tree D:\
Folder PATH listing for volume DATA
Volume serial number is B2D1-8210
D:\
├───BEST
└───TEST
C:\>
C:\>tree Y:\
Folder PATH listing for volume INDEX
Volume serial number is E8D3-8EA9
Y:\
└───FEST
├───BEST
└───TEST
C:\>
Directive:
<< / >>
+skip: TEST
As mentioned, this works perfectly for me - both directories TEST will be skipped as expected:
bingo.1
2.4K Posts
0
August 27th, 2021 15:00
I just forgot to state that the Backup of E: corresponds to an earlier backup.
Nature1
17 Posts
0
August 29th, 2021 03:00
Thanks for the tests! That is exaclty what i'm trying to acheive! But it seems that I cannot get that behavior on my clients. I'm off for the week-end, so i'll try to do more tests monday and post the result. Maybe, i'm hitting some kind of bug or missing some configuration on the client. I'll let ypu know the results. Thanks
Nature1
17 Posts
0
August 30th, 2021 09:00
Well same as before...
Directive is on the client...
Directive containing :
<< / >>
+skip: temp
Data still get backed up....
What could be doing this behavior... any ideas ?
bingo.1
2.4K Posts
0
August 30th, 2021 14:00
You should not be surprised - in the save set list you explicitly told NW to backup these directories. As a consequence, NW will not use the so called "file system walker" to find the directories and apply the directives.
Please change the save set list appropriately. May I also suggest that you just have one entry per line.
Regards
Nature1
17 Posts
0
August 31st, 2021 07:00
Thanks for the reply bingo.1.
I was actually testing this option and got it to work if i specify the root drive and use << / >> for the path in the directive.
So I specify the root drive E:\ or F:\ as the saveset for the client, the directives get honored and folder get skipped as supposed to!
The Weird thing, is that now that it has been working with the root drive... If I change the savesets for e:\temp and f:\temp (root drive removed) and use the same directive with << / >>. The folder can now be skipped... This was what was wrong for the first attempts. Looks like the "File System Walker" is still activated.
barry_beckers
393 Posts
0
September 5th, 2021 08:00
If your intention is to skip windows temp directories only, as far as I can recollect there is also a Windows standard directive, isn't there, that would skip these. So tpu should be able to ccompare things with already available directives. It is very sensitive with white space.
Depending on the used NW version, since nw18 or was it 19, there is the possibility to use wildcards for filesystem paths. Something that really should have been there also for years. Hence one had to create a lot of entries in a directive, if one wanted to skip files/dirs on specific filesystems with a strict naming convention.
The option to use / for a windows system was a peculiar workaround later on, it applying to any filesystem.
But really regular expression for both path and underlying files or dirs was dearly missed, to be able to use directives as a really powerful feature.