- 论坛徽章:
- 0
|
我用restore恢复数据库:
$ db2 restore db archive from /ondemand/tmp
SQL2523W Warning! Restoring to an existing database that is different from the database on the backup image, but have matching names. The target database will be overwritten by the backup version. The Roll-forward recovery logs associate
d with the target database will be deleted.
Do you want to continue ? (y/n) y
SQL0294N The container is already in use. SQLSTATE=42730
我查了message,也使用了db2untag命令,好像没有作用
这个时候我连接数据库db2 connect to archive
SQL1119N A connection to or activation of database "ARCHIVE" cannot be made because a previous restore is incomplete. SQLSTATE=57019
请教高手! |
|