IBM Tivoli Storage Manager, Version 7.1

Moving only the database

You can move only the database to new directories.

Procedure

To move the database from one location on the server to another location, follow this procedure:

  1. Back up the database by issuing the following command:
    backup db type=full devclass=files
  2. Halt the server.
  3. Create directories for the database. The directories must be accessible to the user ID of the database manager. For example:

    AIX operating systems HP-UX operating systems Linux operating systems Oracle Solaris operating systems
    mkdir /tsmdb005
    mkdir /tsmdb006
    mkdir /tsmdb007
    mkdir /tsmdb008
    Windows operating systems
    mkdir l:\tsm\db005
    mkdir m:\tsm\db006
    mkdir n:\tsm\db007
    mkdir o:\tsm\db008
  4. Create a file that lists the locations of the database directories. This file will be used if the database must be restored. Enter each location on a separate line. For example, here are the contents of the dbdirs.txt file:

    AIX operating systems HP-UX operating systems Linux operating systems Oracle Solaris operating systems
    /tsmdb005
    /tsmdb006
    /tsmdb007
    /tsmdb008
    Windows operating systems
    l:\tsm\db005
    m:\tsm\db006
    n:\tsm\db007
    o:\tsm\db008
  5. Remove the database instance by issuing the following command:
    dsmserv removedb TSMDB1
  6. Issue the DSMSERV RESTORE DB utility to move the database to the new directories. For example:
    dsmserv restore db todate=today on=dbdir.file
  7. Start the server.


Feedback