Lan, In general, DOMAIN is used to specify drives or special objects such as the system objects, system services, etc. Since \\nodename\g$\inetpub is most likely a directory, not a drive or share name, it is not a valid DOMAIN item. As I mentioned before, I would recommend that you read the client manual to gain a better understanding of the TSM client. Check out the chapter that describes the client options, and look up the DOMAIN statement.
If you want to back up only the inetpub directory (and its files and subdirectories), you have several options: 1) Use the GUI backup function, navigate to the desired directory, click the checkbox to the left of the directory name, then back it up. 2) From an OS prompt, run: dsmc i g:\inetpub\ -subdir=yes 3) Define a schedule on the server where ACTION=INCREMENTAL, OBJECTS="g:\inetpub\", and OPTIONS="-subdir=yes". 4) I suppose you could define a network share that points to the inetpub directory, perhaps something like the following: net share inetpub=g:\inetpub Then in the options file you could have a DOMAIN statement like this: domain \\nodename\inetpub (where "nodename" is the machine name, i.e. \\nodename\inetpub is the UNC name for the share) Then a regular incremental backup will back up only the files and directories in that share. Note that the account used to back up the share must have access to network resources (LocalSystem typically does not have such access). 5) Another method would be to specify the following in your options file: domain g: exclude *:\...\* include g:\inetpub\...\* This will cause all *directories* in G: to be traversed and backed up, but only the *files* in g:\inetpub and its subdirectories will be backed up. 5) If the method in #4 is inadequate for your needs; for example, if there is a very large number of files and directories on G: making a traversal of the entire file system too time-consuming, then consider methods #1, #2, #3, and/or #4. Also see my post to Eric on 31 October 2003 for additional hints on configuring include, exclude, and exclude.dir. 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] The only dumb question is the one that goes unasked. The command line is your friend. "Good enough" is the enemy of excellence. Lan Wu-Cavener <[EMAIL PROTECTED]> Sent by: "ADSM: Dist Stor Manager" <[EMAIL PROTECTED]> 11/04/2003 11:38 Please respond to "ADSM: Dist Stor Manager" To: [EMAIL PROTECTED] cc: Subject: Re: Include/exclude not working Hi, Can you define a domain as DOMAIN: "\\nodename\g$\inetpub\ ,then only backup this domain? Lan At 08:07 AM 10/31/2003 -0700, you wrote: > > This is exactly what I asked about yesterday, > > but it seems that no one yesterday knew what > > I was asking for > >Well, I tried (yesterday)... in fact, what you wrote below looks similar >to what I suggested. :-) > > > Whats better then doing all those lines you > > can have the following in your dsm.opt and it > > will ONLY backup ONE directory > > > domain g: > > exclude *:\...\* > > include g:\inetpub\* > > > This will only backup g:\inetpub\ and all files > > and subdirs. > >Not quite... > >INCLUDE and EXCLUDE operate on files but not directories. So while your >approach above will back up only the *files* under g:\inetpub, as I >mentioned yesterday, it will also traverse and back up (if appropriate) >the other directories on g:. While it technically will work okay, Eric was >looking for a way to have TSM traverse *only* the g:\inetpub directory >structure. > >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] > >The only dumb question is the one that goes unasked. >The command line is your friend. >"Good enough" is the enemy of excellence. > > > > >"Blodgett, Olin" <[EMAIL PROTECTED]> >Sent by: "ADSM: Dist Stor Manager" <[EMAIL PROTECTED]> >10/31/2003 07:37 >Please respond to "ADSM: Dist Stor Manager" > > To: [EMAIL PROTECTED] > cc: > Subject: Re: Include/exclude not working > > >This is exactly what I asked about yesterday, but it seems that no one >yesterday knew what I was asking for, Whats better then doing all those >lines you can have the following in your dsm.opt and it will ONLY backup >ONE >directory > >domain g: >exclude *:\...\* >include g:\inetpub\* > >This will only backup g:\inetpub\ and all files and subdirs. For me g: is >a >network drive. I have not tested this on local file systems. Side note ALL >other files on the computer WILL NOT be backed up, BUT if you just add >more >include lines then you can have several directories that will get backed >up. > > >Hi *SM-ers! > >I must be doing something wrong. My PC (WinNT, 5.1.6 client) has a >network > >drive E:. I want everything but E:\Inetpub (and all underlying files and > >directories) on E: excluded from the backup. > >My dsm.opt contains the following lines: > > >INCLUDE "E:\Inetpub\...\*" > >EXCLUDE.DIR "E:\...\*" > >Exclude "E:\*" > > >However, the GUI shows all files and directories excluded and the backup > >backs up nothing. > >I'm lost... > >Kindest regards, > >Eric van Loon > >KLM Royal Dutch Airlines > > >The information contained in this message may be privileged and/or >confidential and protected from disclosure. If the reader of this message >is not the intended recipient or agent responsible for delivering this >message to the intended recipient, you are hereby notified that any >dissemination, distribution or copying of this communication is strictly >prohibited. If you have received this communication in error, please >notify >the sender immediately by replying to this message and deleting the >material >from any computer. Lan Wu-Cavener Dept. of Landscape Architecture