Resolving problems with the BACKUP DB and the RESTORE DB commands
The server BACKUP DB and RESTORE DB commands request the IBM Db2 database application to back up the IBM Storage Protect database to the server.
Backup data is then sent to the server through the client application programming interface (API).
When a BACKUP DB or RESTORE DB command fails with a
Db2 SQLCODE or a SQLERRMC message with return
codes, get a description of the Db2 SQLCODE by
completing the following procedures:
- Open a Db2 command-line interface:
For Windows, click
and click .
For all other supported platforms, log on to the Db2 instance ID and open a shell window, then issue the
command DB2.
- Enter the SQLCODE. For example, if the Db2
SQLCODE is -2033, issue the following command:
? sql2033
tsm\api\include\dsmrc.h
tsm/client/api/bin64/sample/dsmrc.h