I have created a DB2 database which I want to back up directly to tape.
(Backup to disk works perfectly, but takes a lot of disk storage.)
When I run the following:
db2 backup database <database> online use tsm
I get this error:
SQL2062N An error occurred while accessing media
"/home/<database>/sqllib/adsm/libtadsm.a". Reason code: "-50".
I have set these environment variables:
DSMI_CONFIG=/usr/tivoli/tsm/client/api/bin/dsm.opt
DSMI_LOG=/home/<database>
DSMI_DIR=/usr/tivoli/tsm/client/api/bin
(I have restarted the database this env, so I know they are loaded.)
Anyone got a clue?
Regards, Arve