Windows operating systems

Creating multiple client options files

You can create multiple client options files if you must work with multiple servers, or find that you need multiple sets of parameters to do back up or archive tasks.

About this task

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.

Procedure

Use one of the following methods to specify or use a different client options file:
  • Replace the dsm.opt file with the appropriate options file before you start the backup-archive client.
    For example, issue the following commands to copy the a.opt file to dsm.opt and then start the backup-archive client GUI:
    copy a.opt dsm.opt
    dsm
  • Start the backup-archive client from the command line and use the optfile option to specify the options file that you want to use.
    For example:
    dsm -optfile=b.opt
  • Define the DSM_CONFIG environment variable to specify the options file to use before you start a backup-archive client session.
    For example:
    SET DSM_CONFIG=C:\Program Files\Tivoli\TSM\baclient\b.opt

What to do next

If you are running the backup-achive client 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.