ITPub博客

首页 > 数据库 > 国内数据库 > BACKUP PENDING状态的解除

BACKUP PENDING状态的解除

国内数据库 作者:flywiththewind 时间:2018-11-08 13:26:32 0 删除 编辑

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状态的解除


来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/26224914/viewspace-2219195/,如需转载,请注明出处,否则将追究法律责任。

下一篇: win10安装.net3.5
请登录后发表评论 登录
全部评论

注册时间:2011-08-30

  • 博文量
    140
  • 访问量
    141768