imp system/manager@sid file=backup.dmp fromuser=usera touser=userb
切记你的导出dmp里的内容,如果只要单独恢复一张表可以:
imp system/manager@sid file=backup.dmp fromuser=usera tables=(student) touser=userb

解决方案 »

  1.   

    我这个库有好几个user
    我用 exp80 system/manager@hac file=d:\0316.dmp full=y; 倒出备份.然后库里的数据发生改变,我想恢复到原来的数据
    用 imp80 system/manager@hac file=d:\0316.dmp full=y; 恢复可以吗?
    是不是要drop database 然后在create database 在倒入
      

  2.   

    在导入前你把要恢复过来的表rename 了,然后执行:
      imp system/manager@sid file=backup.dmp fromuser=usera tables=(表1,表2。) touser=userb