Re: backing up only 1 directory on Windows

2001-08-15 Thread Garrison, Tony

Setup a schedule with action of command and use dsmc I c:\users for the
client potions

 -Original Message-
From:   Joel Fuhrman [mailto:[EMAIL PROTECTED]]
Sent:   Tuesday, August 14, 2001 8:36 PM
To: [EMAIL PROTECTED]
Subject:backing up only 1 directory on Windows

I have a Windows system running TSM client 4.2.0.0 from which I want to
backup just the directory 'C:\Users' and all of its subdirectories and
files.  I don't want to backup any other directories or files from that
system.  I tried these dsm.opt specifications:

   exclude.dir C:\*
   include.dir C:\Users\...*

A gui initiated incremental backup, excluded everything, including
C:\Users\...\*, from the C: drive.

Can you suggest the settings that will do what I want?



backing up only 1 directory on Windows

2001-08-14 Thread Joel Fuhrman

I have a Windows system running TSM client 4.2.0.0 from which I want to
backup just the directory 'C:\Users' and all of its subdirectories and
files.  I don't want to backup any other directories or files from that
system.  I tried these dsm.opt specifications:

   exclude.dir C:\*
   include.dir C:\Users\...*

A gui initiated incremental backup, excluded everything, including
C:\Users\...\*, from the C: drive.

Can you suggest the settings that will do what I want?



Re: backing up only 1 directory on Windows

2001-08-14 Thread Andrew Raibeck

Hm... I'm surprised you didn't get a syntax error on the include.dir
statement, as that is not a supported option.

The following isn't pretty, but it might do what you need:

   * Exclude all files in root of each drive.
   exclude *:\*

   * Exclude all directories on all drives other than C:.
   exclude.dir [abd-z]:\*

   * Exclude all directories on C: except for C:\Users.
   exclude.dir c:\[a-tv-z0-9]*
   exclude.dir c:\U[a-rt-z0-9]*
   exclude.dir c:\Us[a-df-z0-9]*
   exclude.dir c:\Use[a-qs-z0-9]*
   exclude.dir c:\User[a-rt-z0-9]*
   exclude.dir c:\Users?*

This should catch most of the stuff. If you use other characters in
directory names, you can stick them between the square brackets as well.
For example, to prevent backing up a hypothetical directory named
C:\user$, you could rewrite the EXCLUDE.DIRs as:

   exclude.dir C:\[a-tv-z0-9$]*
   exclude.dir C:\U[a-rt-z0-9$]*
   ...etc.

Then C:\Users and its files and subdirectories will be backed up by
default.

If you want to add a little extra protection, you could do this:

   * Exclude all files except C:\Users and its subdirectories.
   exclude *:\...\*
   include c:\users\...\*

   * Exclude all directories on all drives other than C:.
   exclude.dir [abd-z]:\*

   * Exclude all directories on C: except for C:\Users.
   exclude.dir c:\[a-tv-z0-9$]*
   exclude.dir c:\U[a-rt-z0-9$]*
   exclude.dir c:\Us[a-df-z0-9$]*
   exclude.dir c:\Use[a-qs-z0-9$]*
   exclude.dir c:\User[a-rt-z0-9$]*
   exclude.dir c:\Users?*

Then if someone slips in a name similar to C:\Users, but with a character
not covered in the list between the brackets (C:\User%, for example), at
least only the directory structure will be backed up, but not the files.

Yes, an include.dir option would be nice...

Regards,

Andy

Andy Raibeck
IBM Tivoli Systems
Tivoli Storage Manager Client Development
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.





Joel Fuhrman [EMAIL PROTECTED]
Sent by: ADSM: Dist Stor Manager [EMAIL PROTECTED]
08/14/2001 18:35
Please respond to ADSM: Dist Stor Manager


To: [EMAIL PROTECTED]
cc:
Subject:backing up only 1 directory on Windows



I have a Windows system running TSM client 4.2.0.0 from which I want to
backup just the directory 'C:\Users' and all of its subdirectories and
files.  I don't want to backup any other directories or files from that
system.  I tried these dsm.opt specifications:

   exclude.dir C:\*
   include.dir C:\Users\...*

A gui initiated incremental backup, excluded everything, including
C:\Users\...\*, from the C: drive.

Can you suggest the settings that will do what I want?