我有2个数据库,在一个instance下,sample和tesdb,testdb有2个表空间是采用裸设备,我现在备份sample表空间 IBMDB2SAMPLEREL,IBMDB2SAMPLEXML,都是file类型db2 " backup database sample tablespace (IBMDB2SAMPLEREL,IBMDB2SAMPLEXML ) to /home/db2inst1/backup"现在我想把s...
显示全部我有2个数据库,在一个instance下,sample和tesdb,testdb有2个表空间是采用裸设备,我现在备份sample表空间 IBMDB2SAMPLEREL,IBMDB2SAMPLEXML,都是file类型
db2 " backup database sample tablespace (IBMDB2SAMPLEREL,IBMDB2SAMPLEXML ) to /home/db2inst1/backup"
现在我想把smaple的这2个表空间的数据重定向恢复到testdb上的裸设备表空间上
db2 "restore db sample tablespace (IBMDB2SAMPLEREL,IBMDB2SAMPLEXML ) from /home/db2inst1/backup to /dbdir into testdb redirect"
但报错如下:SQL2560N The target database is not identical to the source database for a
restore from a table space level backup.
我想问下这是不支持表空间重定向恢复啊?
收起