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

你可能感兴趣的:(backup,pending)