T100 数据还原.txt

时间:2022-09-09 03:04:36
【文件属性】:
文件名称:T100 数据还原.txt
文件大小:697B
文件格式:TXT
更新时间:2022-09-09 03:04:36
数据库 T100 还原 灾难恢复 1、找到昨晚备份,用root用户解压:gunzip -d exp_hc01.dmp.gz 2、如果toptet数据库开了就进toptst里去 进toptet数据库:sqlplus sys/tiptop100@toptst as sysdba 执行: create user test identified by test default tablespace dbs1 temporary tablespace temp; grant create session,create table to test; grant resource to test; grant create synonym to test; grant select on sys.v_$session to test; 3、 用tiptop进系统 cd /u3 mkdir imp cp /u3/backup/Wed/exp_hc01.dmp /u3/imp ----看你exp_hc01.dmp文件在哪 chmod 777 -R imp 导数据:即把pia_file这张边恢复到了toptst实例中的test用户中 imp test/test@toptst file=/u3/imp/exp_hc01.dmp log=/tmp/imp_pia.log fromuser=hc01 touser=test tables=pia_file

网友评论