exclude or exclude.dir with wildcard in directory name

Sunhillow

ADSM.ORG Senior Member
Joined
Oct 27, 2003
Messages
408
Reaction score
16
Points
0
Location
Stuttgart, Germany
Hi

one of our users has a directory
\\servername\sharename$\fsimages\SQL-Backups
with files in it which must be backed up. No problem so far...

But underneath some weird tool creates subdirectory-trees like
15.02.2014.zipit\14.02.2014.zipit\13.02.2014.zipit\12.02.2014.zipit\11.02.2014.zipit\10.02.2014.zipit\09.02.2014.zipit\08.02.2014.zipit\07.02.2014.zipit
getting constantly deeper until the path length exceeds the windows limit (256 I think)

an
exclude "\\servername\sharename$\fsimages\SQL-Backups\[0-9]+.[0-9]+.[0-9]+.zipit\...\*"
or
exclude.dir "\\servername\sharename$\fsimages\SQL-Backups\[0-9]+.[0-9]+.[0-9]+.zipit"
do not work


Does anyone know what I do wrong here?
Thanks in advance!
 
My understanding is that TSM will not work with patterns like [0-9]+.[0-9]+.[0-9]+.zipit.

If you need to exclude, try:

exclude.dir "\\servername\sharename$\fsimages\SQL-Backups\*.zipit", or
exclude "\\servername\sharename$\fsimages\SQL-Backups\*.zipit\*"
 
Last edited:
Thank you Ed!

I thought I had already tried this:
exclude.dir "\\servername\sharename$\fsimages\SQL-Backups\*.zipit"
... looks as if I messed it up somehow. Maybe the dot was missing
 
Back
Top