17 October,2012 by Tom Collins
Question : I’m trying to complete an OFFLINE FULL BACKUP and receive this error message when executing db2 backup DB mydb.
SQL1035N The database is currently in use. SQLSTATE=57019
I’ve checked db2 list applications - which returns no applications .
How can I fix?
Answer: First , check if the database is activated.
db2pd -db mydb -app
or
db2 list active databases
Second, if it’s activated , then deactivate the database
db2 deactivate database
Third, try OFFLINE FULL BACKUP again
This is only a preview. Your comment has not yet been posted.
As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.
Having trouble reading this image? View an alternate.
Posted by: |