您的位置:首页 > 其它

DB2“静默”状态与解除

2016-03-23 14:36 309 查看
首先关闭所有到数据库的连接,将数据库置为“静默”状态:
$ db2 connect to testdb user db2inst1 using thepasswd
$ db2 quiesce database immediate force connections
$ db2 connect reset

现在可以开始备份了:
$ db2 backup database test to /home/backup” user db2inst1 using thepasswd

解除数据库的“静默”状态:
$ db2 connect to testdb user db2inst1 using thepasswd
$ db2 unquiesce database
$ db2 connect reset
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: