恢复数据库的步骤
http://www.itpub.net/tree/index_71_1/检查备份文件
db2ckbkp-h d:\backup\MYDB.0.DB2.NODE0000.CATN0000.20110925070304.001 db2 CREATE DATABASE db2inst2 ON /data1/db2inst2 USING CODESET GBK TERRITORY CN COLLATE USING SYSTEM
db2 restore db nmgbt to /data1/mcmxfbdata into mcmxfb redirect
db2 restore db nmgbt continue
db2 update db cfg for mcmxfb using APPGROUP_MEM_SZ 2000
db2 rollforward db mcmxfb to end of logs and stop
添加db2用户
useradd -m -g db2grp1 -d /home/xfb -s /bin/bash xfb
--------
posted on 2012-05-11 04:20
刘祥 阅读(122)
评论(0) 编辑 收藏