ADSM-L

Re: Include Exclude - NEED HELP

2003-05-20 12:50:29
Subject: Re: Include Exclude - NEED HELP
From: Andrew Raibeck <storman AT US.IBM DOT COM>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Tue, 20 May 2003 09:50:11 -0700
The simple solution to your question re: schedule backups is to define the
schedule to back up only the "Documents and Settings" folder.

   define schedule mydomain mysched objects='"C:\Documents and Settings"'
etc.

(Watch the quoting: double quotes around the directory name, then single
quotes around the whole thing.)

The "Directory path not found" message is almost certainly unrelated to
the excludes. You did not provide the actual command and output you
received, so it is difficult to state what the problem is. However,
correct syntax for backing this up from the command line is:

   dsmc incremental "c:\documents and settings\*" -subdir=yes

The OS excludes derive mostly from the FilesNotToBackup registry key
(HKLM\SYSTEM\CurrentControlSet\Control\BackupRestore\FilesNotToBackup).
The exclude for c:\adsm.sys is actually coming from TSM, as that directory
is implicitly backed up with the system objects.

Regards,

Andy

Andy Raibeck
IBM Software Group
Tivoli Storage Manager Client Development
Internal Notes e-mail: Andrew Raibeck/Tucson/IBM@IBMUS
Internet e-mail: storman AT us.eyebm DOT com (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.




Simeon Johnston <simeonuj AT INDIVISUALLEARNING DOT COM>
Sent by: "ADSM: Dist Stor Manager" <ADSM-L AT VM.MARIST DOT EDU>
05/20/2003 09:09
Please respond to "ADSM: Dist Stor Manager"


        To:     ADSM-L AT VM.MARIST DOT EDU
        cc:
        Subject:        Include Exclude - NEED HELP



I'm trying to setup a bunch of clients to do sheduled backups to our TSM
5.1 windows server.
I think I've got this down, but...
I want to setup and include/exclude file to limit the backup to only the
"Documents and Settings" folder.
I set that up and did a 'q inclexcl' in the client and go all these
extra excludes -

Excl All       C:\WINNT\System32\NtmsData\...\* Operating System
Excl All       C:\WINNT\System32\inetsrv\metabase.xml Operating System
Excl All       C:\WINNT\System32\inetsrv\metabase.bin Operating System
Excl All       C:\WINNT\System32\inetsrv\mbschema.xml Operating System
Excl All       C:\WINNT\System32\DTCLog\MSDTC.LOG Operating System
Excl All       C:\WINNT\schedlgu.txt          Operating System
Excl All       C:\WINNT\registration\*.clb    Operating System
Excl All       C:\WINNT\netlogon.chg          Operating System
Excl All       C:\WINNT\debug\*               Operating System
Excl All       C:\WINNT\csc\...\*             Operating System
Excl All       C:\DOCUME~1\user\LOCALS~1\Temp\...\* Operating System
Excl All       C:\Documents and Settings\user\...\index.dat Operating
System

Excl All       C:\Documents and Settings\All Users\DRM\...\* Operating
System
Excl All       C:\adsm.sys\...\*              Operating System
Excl All       *\Pagefile.sys                 Operating System
Excl All       *\hiberfil.sys                 Operating System
Excl All       *\...\*.crmlog                 Operating System

--

I'm figuring that these occure because of the user I am logged in as.
Since the schedule runs as "System" it probably won't have these
excludes and only use the ones I specify.
I don't have a problem with the above excludes, except that they don't
work.  I get a
--
'ANS1076E *** Directory path not found ***'
--
when trying to do a manual backup from the command line.  I'm guessing
it's because of the truncated rule, i.e. "DOCUME~1" funkyness (I've
always hated DOS naming limitations).  But I have no way of getting rid
of this manually logged in as my user (or admin).
Am I correct in assuming that these excludes are NOT used during a
scheduled event (depending on what user the schedule runs as)?
Is there any way to have TSM NOT put these excludes in?  I'd really like
to test my own incl/excl without having TSM break itself.

The other option is that the server itself gives these out, but
everything I've read says it can't.  Everything I've read so far seems
to ignore the whole include/exclude functionality of the client and
server.  Very limited documentation on this.
VERY irritating.

Any help would be greatly appreciated.  Especially a detailed
explanation of include/exclude (not how to order/phrase the statements,
that's the easy part) - geered toward an apparent idiot (me).

sim

<Prev in Thread] Current Thread [Next in Thread>