4 Operator

 • 

1.2K Posts

September 14th, 2018 09:00

SET EXCLUDE=Folder\ Space

is the correct syntax.

Maybe the directory name has more than one space character, or non-ASCII spaces:


$ ls -d1 Folder*

Folder  Space

Folder Space

Folder Space

$ ls -d1 Folder*  | od -c

0000000    F   o   l   d   e   r           S   p   a   c   e  \n   F   o

0000020    l   d   e   r       S   p   a   c   e      \n   F   o   l   d

0000040    e   r      **   S   p   a   c   e  \n                       

0000052



First example has two spaces in the middle,

second example has a space at the end.

Third example has a 'non-breaking space' Unicode character in the middle.

It takes two bytes in UTF-8 encoding, where

the second byte is represented by ** in the output of od -c.



While we ar at it: One more thing, big caveat, related to NDMP and include/exclude settings on Isilon:

It is possible, but dangerous, to define multiple NDMP jobs for the same base directory (FILESYSTEM)

with different include-FILES or EXCLUDE patterns.

Be warned that this will lead to unexpected results, because OneFS NDMP only keeps

one single backup timestamp per NDMP FILESYSTEM base directory and NDMP level.

FILESYSTEM=/ifs/test

FILES=a b c

FILESYSTEM=/ifs/test

FILES=d e f

Say the a b c job runs at 1am and the d e f job at 2am, the timestamp (for the given NDMP level)

for /ifs/test will finally be set to 2am.


Next day when the a b c  job is running with an incremental level (>=1),

it will backup only data changes that happened after 2am (23h ago),

and miss any changes from the hour between 1am (24h ago) and 2am.


fwiw

-- Peter



No Events found!

Top