This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
tsm:tsm_operation_db [2021/06/15 17:39] manu |
tsm:tsm_operation_db [2025/01/29 21:52] (current) manu |
||
---|---|---|---|
Line 42: | Line 42: | ||
==== Restore DB ===== | ==== Restore DB ===== | ||
+ | |||
+ | **Usefull files to backup with the DB** | ||
+ | * /<instance>/cert* : contains the certificates exchanged with the TSM nodes | ||
+ | * /<instance>/volhist.dat and devconf.dat : Server history | ||
+ | * /opt/tivoli/tsm/client/ba/bin/dsmcert.kdb and dsmcert.sth : contains the certificate to use dsmadmc command line, can be reset by deleting these files and on server reset admin account: # upd admin admin SESSIONSECurity=TRANSitional | ||
+ | * certificate for Operation Center | ||
+ | |||
=== Restore from library === | === Restore from library === | ||
Line 105: | Line 112: | ||
/tsmdb008 | /tsmdb008 | ||
</code> | </code> | ||
- | * Remove the database instance. | + | * Remove the database instance, connected as instance owner |
<code> | <code> | ||
- | TSM:SERVER1> dsmserv removedb TSMDB1 | + | # dsmserv removedb TSMDB1 |
</code> | </code> | ||
* Issue the DSMSERV RESTORE DB utility to move the database to the new directories. For example: | * Issue the DSMSERV RESTORE DB utility to move the database to the new directories. For example: | ||
<code> | <code> | ||
- | TSM:SERVER1> dsmserv restore db todate=today on=dbdir.file | + | # dsmserv restore db todate=today on=dbdir.file |
</code> | </code> | ||
* Start the server. | * Start the server. |