真实的国产乱ⅩXXX66竹夫人,五月香六月婷婷激情综合,亚洲日本VA一区二区三区,亚洲精品一区二区三区麻豆

成都創(chuàng)新互聯(lián)網(wǎng)站制作重慶分公司

oraclerman跨版本恢復11.2.0.3-11.2.0.4

   1.切換歸檔,執(zhí)行rman全庫備份
   2.傳送的服務器上。
   3.對其進行恢復  --創(chuàng)建對應的目錄  
     1.修改配置文件,按比例修改配置參數(shù)
     根據(jù)這些目錄更改創(chuàng)建對應的目錄
     mkdir -p /home/opt/oracle/diag/rdbms/wms/wms
     mkdir -p /home/opt/oracle/diag/rdbms/wms/wms/trace
     mkdir -p /home/opt/oracle/diag/rdbms/wms/wms/alert
     mkdir -p /home/opt/oracle/diag/rdbms/wms/wms/incident
     mkdir -p /home/opt/oracle/diag/rdbms/wms/wms/cdump
     mkdir -p /home/opt/oracle/diag/rdbms/wms/wms/hm
     mkdir -p /home/opt/oracle/admin/wms/adump
     mkdir -p /home/opt/oracle/admin/wms/pfile
     mkdir -p /home/opt/oracle/admin/wms/dpdump
     mkdir -p /home/upt/oracle/oradata/wms
     mkdir -p /home/upt/oracle/fast_recovery_area/wms
     mkdir -p /home/upt/oracle/arch
     2.寫rman恢復腳本
   4.對對象和數(shù)據(jù)進行校驗   
restore controlfile from '/home/upt/data/20150920235901/wms_full_20150920235901_c-324000772-20150921-01';
sql 'alter database mount';
catalog start with '/home/upt/data/20150920235901';
run{
set newname for datafile 1  to '/home/upt/oracle/oradata/wms/system01.dbf';
set newname for datafile 2  to '/home/upt/oracle/oradata/wms/sysaux01.dbf';
set newname for datafile 3  to '/home/upt/oracle/oradata/wms/undotbs01.dbf';
set newname for datafile 4  to '/home/upt/oracle/oradata/wms/users01.dbf';
set newname for datafile 5  to '/home/upt/oracle/oradata/wms/wms_data01.dbf';
set newname for datafile 6  to '/home/upt/oracle/oradata/wms/wms_data02.dbf';
set newname for datafile 7  to '/home/upt/oracle/oradata/wms/wms_data03.dbf';
set newname for datafile 8  to '/home/upt/oracle/oradata/wms/wms_index01.dbf';
set newname for datafile 9  to '/home/upt/oracle/oradata/wms/wms_data04.dbf';
set newname for datafile 10 to '/home/upt/oracle/oradata/wms/wms_index02.dbf';
set newname for datafile 11 to '/home/upt/oracle/oradata/wms/wms_data05.dbf';
set newname for datafile 12 to '/home/upt/oracle/oradata/wms/wms_index03.dbf';
set newname for datafile 13 to '/home/upt/oracle/oradata/wms/wms_index04.dbf';
set newname for datafile 14 to '/home/upt/oracle/oradata/wms/wms_data06.dbf';
set newname for datafile 15 to '/home/upt/oracle/oradata/wms/wms_index05.dbf';
set newname for datafile 16 to '/home/upt/oracle/oradata/wms/wms_index06.dbf';
set newname for tempfile 1 to '/home/upt/oracle/oradata/wms/temp01.dbf';
restore database;
switch datafile all;
switch tempfile all;
recover database;
}

--在線日志redo logfile處理
alter database rename file '/home/opt/oracle/oradata/wms/redo04.log' to '/home/upt/oracle/oradata/wms/redo04.log';
alter database clear logfile group 4;
alter database drop logfile group 4;
alter database add logfile group 4 '/home/upt/oracle/oradata/wms/redo04.log' size 100m;
alter database rename file '/home/opt/oracle/oradata/wms/redo05.log' to '/home/upt/oracle/oradata/wms/redo05.log';
alter database clear logfile group 5;
alter database add logfile group 5 '/home/upt/oracle/oradata/wms/redo05.log' size 100m;
alter database rename file '/home/opt/oracle/oradata/wms/redo06.log' to '/home/upt/oracle/oradata/wms/redo06.log';
alter database clear logfile group 6;
alter database add logfile group 6 '/home/upt/oracle/oradata/wms/redo06.log' size 100m;

--升級
SQL>startup upgrade
SQL>@?/rdbms/admin/catupgrd.sql
SQL>@?/rdbms/admin/catalog.sql
SQL>@?/rdbms/admin/catproc.sql
SQL>@?/rdbms/admin/utlrp.sql
SQL>shutdown immediate
SQL>startup
 

創(chuàng)新互聯(lián)建站專注于西盟企業(yè)網(wǎng)站建設,成都響應式網(wǎng)站建設公司,商城網(wǎng)站定制開發(fā)。西盟網(wǎng)站建設公司,為西盟等地區(qū)提供建站服務。全流程按需網(wǎng)站制作,專業(yè)設計,全程項目跟蹤,創(chuàng)新互聯(lián)建站專業(yè)和態(tài)度為您提供的服務


網(wǎng)站題目:oraclerman跨版本恢復11.2.0.3-11.2.0.4
鏈接URL:http://weahome.cn/article/ggiepg.html

其他資訊

在線咨詢

微信咨詢

電話咨詢

028-86922220(工作日)

18980820575(7×24)

提交需求

返回頂部