IBM Tivoli Storage Manager, Version 7.1

DSMSERV REMOVEDB (Remove a database)

Use the DSMSERV REMOVEDB utility to remove a Tivoli® Storage Manager server database.

Use this command to remove a Tivoli Storage Manager server database. This command deletes all user data and log files, as well as any backup and restore history for the database. If the log files are needed for a roll-forward recovery after a restore operation, these files should be saved before you issue this command.
Note: The Tivoli Storage Manager server must be halted before you issue this command.

Syntax

Read syntax diagramSkip visual syntax diagram
>>-DSMSERV -+----------------------+---------------------------->
            |  (1)                 |   
            '------- -u--user_name-'   

                                 (2).- -k--Server1--.   
>--+-------------------------+------+---------------+----------->
   |  (1)                    |      '- -k--key_name-'   
   '------- -i--instance_dir-'                          

>--+-------------------+--+------------+--+---------+----------->
   '- -o--options_file-'  '- -noexpire-'  '- -quiet-'   

>--REMOVEDB--database_name-------------------------------------><

Notes:
  1. This parameter applies to AIX, HP-UX, Linux, and Solaris servers only.
  2. This parameter applies only to Windows servers.

Parameters

AIX operating systems HP-UX operating systems Linux operating systems Sun Solaris operating systems -u user_name
Specifies a user name to switch to before initializing the server.
AIX operating systems HP-UX operating systems Linux operating systems Sun Solaris operating systems -i instance_dir
Specifies an instance directory to use. This becomes the current working directory of the server.
Windows operating systems -k key_name
Specifies the name of the Windows registry key from which to retrieve information about the server. The default is SERVER1.
-o options_file
Specifies an options file to use.
-noexpire
Specifies that expiration processing is suppressed when starting.
-quiet
Specifies that messages to the console are suppressed.
database_name
The database name that was entered during installation. If the database was formatted manually, then this is the database name parameter in the DSMSERV FORMAT or DSMSERV LOADFORMAT utility. This database name can also be found in dsmserv.opt file. This parameter is required.

Example: Remove a database

Remove the Tivoli Storage Manager server database TSMDB1 and all of its references.
dsmserv removedb TSMDB1


Feedback