User Tools

Site Tools


tsm:restoredb_55

Steps to restore a DB on TSM 5.5

1. Format the DB and log volumes

 # dsmfmt -m -db /tsm/db/db1.dsm 8000 /tsm/db/db2.dsm 8000 /tsm/db/db3.dsm 8000
 # dsmfmt -m -log /tsm/log/log1.dsm 4000 /tsm/log/log2.dsm 4000
 Syntax                       
 >>-dsmfmt--+-----+--+--------+----file_name--size-+------------><
         +- -k-+  +- -db---+
         +- -m-+  +- -log--+
         '- -g-'  '- -data-'

2. Prepare the DB to load:

Syntax

 >>-DSMSERV LOADFORMAT--number_of_log_files---------------------->
     .---------------.
     V               |
 >--+---log_file_name-+--+--number_of_db_files------------------->
 '-file:log_file_name-'
     .--------------.
     V              |
>--+---db_file_name-+--+---------------------------------------><
 '-file:db_file_name-'

3. Restore the DB:

 # dsmserv restore db     (latest backup)

If it failed with Rollforward, then you have to specify a date and time (check into volhistory)

 # dsmserv restore db todate=MM/DD/YYYY totime=hh:mm:ss
tsm/restoredb_55.txt · Last modified: 2021/01/01 21:25 (external edit)