You can't use EXCLUDE.DIR to exclude the root of a drive. Plus, note that
EXCLUDE.DIR is always processed before INCLUDE and EXCLUDE, regardless of
its position within the include/exclude list.
If what you are really trying to achieve is to back up *only* these files:
c:\Dokumente und Einstellungen\a0019\Eigene Dateien\*
c:\Dokumente und Einstellungen\a0019\Datei.bmp
Then try this:
exclude c:\...\*
include "c:\Dokumente und Einstellungen\a0019\Eigene Dateien\*"
include "c:\Dokumente und Einstellungen\a0019\Datei.bmp"
exclude.dir c:\[a-ce-z]*
Note: if you want subdirectories of "Eigene Dateien", then instead of the
include above, substitute the following:
include "c:\Dokumente und Einstellungen\a0019\Eigene Dateien\...\*"
Regards,
Andy
Andy Raibeck
IBM Software Group
Tivoli Storage Manager Client Development
Internal Notes e-mail: Andrew Raibeck/Tucson/[EMAIL PROTECTED]
Internet e-mail: [EMAIL PROTECTED] (change eye to i to reply)
The only dumb question is the one that goes unasked.
The command line is your friend.
"Good enough" is the enemy of excellence.
"J. Gehm" <[EMAIL PROTECTED]>
Sent by: "ADSM: Dist Stor Manager" <[EMAIL PROTECTED]>
03/25/2003 06:56
Please respond to "ADSM: Dist Stor Manager"
To: [EMAIL PROTECTED]
cc:
Subject:Windows 2000 client include/exclude
I tried to backup only a few file with a server-scheduled backup
from a Windows 2000 client. For LINUX or Solaris clients I managed
this with include/exclude-Files without problems.
For Windows-clients the scheduled backup (or dsmc incremental) seems
to backup nearly the whole C:-partition.
The result of
dsmc query inclexcl
is just what I want (see below).
Why is my inclexcl-file not taken into consideration for backup?
Regards,
Joern Gehm
---
This is what we are running:
TSM Server 4.1.5 under AIX 4.3 ("ADSM1.rrz.Uni-Koeln.DE")
TSM Client 5.1.5 Windows 2000 ("rzk-opac1.rrz.Uni-Koeln.DE")
dsm.opt:
-
PASSWORDACCESS GENERATE
TCPSERVERADDRESSADSM1.rrz.Uni-Koeln.DE
domain -systemobject
inclexcl c:\Programme\Tivoli\TSM\baclient\inexcl.txt
==
inexcl.txt:
-
EXCLUDE.DIR "C:\"
EXCLUDE.DIR "\\rzk-opac1\c$\"
INCLUDE.FILE "\\rzk-opac1\c$\Dokumente und Einstellungen\a0019\Eigene
Dateien\*"
Include.File "\\rzk-opac1\c$\Dokumente und Einstellungen\a0019\Datei.bmp"
==
(see output of 'dsmc query inclexcl' at the end)
Begin of dsm.log after scheduled backup :
---
25.03.2003 13:09:23 --- ANFANG DER PLANUNGSPROTOKOLLOBJEKTE DAILY.13
25.03.2003
13:00:00
25.03.2003 13:09:24 Teilsicherung von Datentr\344ger '\\RZK-OPAC1\C$'
25.03.2003 13:09:25 Verzeichnis--> 0 \\rzk-opac1\c$\
[Gesendet]
25.03.2003 13:09:25 Verzeichnis--> 0
\\rzk-opac1\c$\Dokumente u
nd Einstellungen [Gesendet]
25.03.2003 13:09:25 Verzeichnis--> 0
\\rzk-opac1\c$\INSTALL [Ge
sendet]
25.03.2003 13:09:25 Verzeichnis--> 0
\\rzk-opac1\c$\Programme [
Gesendet]
25.03.2003 13:09:25 Verzeichnis--> 0
\\rzk-opac1\c$\RECYCLER [G
esendet]
25.03.2003 13:09:25 Verzeichnis--> 0
\\rzk-opac1\c$\SYSTEM [Ges
endet]
25.03.2003 13:09:25 Verzeichnis--> 0
\\rzk-opac1\c$\System Volu
me Information [Gesendet]
25.03.2003 13:09:25 Verzeichnis--> 0 \\rzk-opac1\c$\WINNT
[Gese
ndet]
25.03.2003 13:09:25 Normale Datei--> 0
\\rzk-opac1\c$\AUTOEXEC.B
AT [Gesendet]
25.03.2003 13:09:25 Normale Datei--> 0
\\rzk-opac1\c$\CONFIG.SYS
[Gesendet]
25.03.2003 13:09:25 Normale Datei--> 0
\\rzk-opac1\c$\IO.SYS [Ge
sendet]
25.03.2003 13:09:25 Normale Datei--> 0
\\rzk-opac1\c$\MSDOS.SYS
[Gesendet]
25.03.2003 13:09:25 Normale Datei--> 172.237
\\rzk-opac1\c$\NSM_Custom
er_Presentation.PRZ [Gesendet]
.
.
.
==
dsmc query inclexcl:
-
Tivoli Storage Manager
Befehlszeilenschnittstelle des Clients fr Sichern/Archivieren - Version 5,
Release 1, Stufe 5.0
(C) Copyright IBM Corporation 1990, 2002. Alle Rechte vorbehalten.
Knotenname: RZK-OPAC1
Sitzung hergestellt mit Server ADSM1: AIX-RS/6000
Server-Version 4, Release 1, Stufe 5.0
Server-Datum/-Zeit: 25.03.2003 11:09:20 Letzter Zugriff: 25.03.2003
11:09:01
*** DATEI EINSCHLUSS/AUSSCHLUSS ***
Modus Funktion Muster (bereinst. oben->unten) Quellendatei
- ---
Excl Directory c:\ c:\Programme\Tivoli\TSM\baclient\inexcl.txt
Excl Directory C:\ c:\Programme\Tivoli\TSM\baclient\inexcl.txt
Excl