BACKUP PENDING狀態的解除

flywiththewind發表於2018-11-08

BACKUP PENDING狀態的解除

1、資料庫比較大的時候

[db2inst1@db2serv1 ~]$ db2 connect to YXDB
SQL1116N  A connection to or activation of database " YXDB" cannot be made
because of BACKUP PENDING.  SQLSTATE=57019
[db2inst1@db2serv1 ~]$ db2dart YXDB /CHST /WHAT DBBP OFF

    Updated the log file header control file.
         The requested DB2DART processing has completed successfully!
                        Complete DB2DART report found in:
/db2home/db2inst1/sqllib/db2dump/DART0000/YXDB.RPT
[db2inst1@db2serv1 ~]$ db2 activate db yxdb
DB20000I  The ACTIVATE DATABASE command completed successfully.
[db2inst1@db2serv1 ~]$ db2 connect to yxdb

   Database Connection Information

 Database server        = DB2/LINUXX8664 9.7.5
 SQL authorization ID   = DB2INST1
 Local database alias   = YXDB

 

2、backup  db


來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/26224914/viewspace-2219195/,如需轉載,請註明出處,否則將追究法律責任。

相關文章