You can create multiple options files if you have to work
with multiple servers, or find that you need multiple sets of parameters
to perform backup or archive tasks.
Suppose you want to back up your files to one server
(server a), and archive files to another (server b). Instead of editing
the dsm.opt file each time you want to connect to a different server,
create two options files. For example, create the options files a.opt
for server a, and b.opt for server b.
Then do one of the following:
- From a command prompt, use the copy command
to replace the dsm.opt file with the appropriate options file before
you begin a backup or archive session. For example: copy a.opt
dsm.opt, then dsm.
- Use the optfile option on the command
line to specify the options file you want to use. For example: dsm
-optfile=b.opt.
- Define the DSM_CONFIG environment variable to specify the
options file to use: SET DSM_CONFIG=C:\Program Files\Tivoli\TSM\baclient\b.opt.
If you are running from the command line, the DSM_DIR
and DSM_LOG environment variables might also need to be configured
as follows:
- Define the DSM_DIR environment variable to point to the directory
where all other executable files reside:
SET DSM_DIR=C:\Program Files\Tivoli\TSM\baclient
- Define the DSM_LOG environment variable to point to the directory
where dsmerror.log resides:
SET DSM_LOG=C:\Program Files\Tivoli\TSM\baclient
Note: The directory path where the client executable files are
located must be included in the PATH environment variable or you must
enter a fully qualified path.