This shows you the differences between two versions of the page.
|
tsm:restoredb_7 [2021/01/01 21:25] 127.0.0.1 external edit |
tsm:restoredb_7 [2022/06/10 15:32] (current) manu |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ===== Steps to restore a DB on TSM 7 ===== | + | ===== Steps to restore a DB on Spectrum Protect ===== |
| 1. Prevent TSM server from any action: | 1. Prevent TSM server from any action: | ||
| Line 102: | Line 102: | ||
| '-PASSword--=--password_name-' | '-PASSword--=--password_name-' | ||
| </code> | </code> | ||
| + | |||
| + | ==== Restore DB from cloud ==== | ||
| + | |||
| + | Restore from Cloud S3, it 'll restore the DB, and all required files (encrypt keys, devconf, volhist...) | ||
| + | <cli prompt='$'> | ||
| + | [ispusr01@ispsrv01]$ dsmserv -i /ispusr01 restore db password=d***** prompt=no on=/ispusr01/dbdir.txt activelogdir=/ispusr01/db/actlog cloudurl="https://ibmcos01:9021" id=isprepl1-p-s3-dbbadm cloudpass="*******" bucketname=isprepl1-p-dbb cloudtype=s3 source=dbs todate=today+1 servern=ispsrv01 | ||
| + | </cli> | ||
| + | |||
| + | The file /ispusr01/dbdir.txt contains the paths of database | ||
| + | /ispusr01/db01 | ||
| + | /ispusr01/db02 | ||
| + | /ispusr01/db03 | ||
| + | /ispusr01/db04 | ||