08.dbf', '/paic/hd02ntlf/datatmp/fwy/tmrlifedata09.dbf' to PLATFORM="Solaris[tm] OE (64-bit)" FROM PLATFORM="HP-UX IA (64-bit)" DB_FILE_NAME_CONVERT= '/paic/hd02ntlf/datatmp/fwy','/paic/d1ntlf/data01/oradata'; release channel c1; release channel c2; release channel c3; release channel c4; release channel c5; release channel c6; release channel c7; release channel c8; } EOF
nohup sh 1.sh &
--vi 2.sh-- rman target / <2.log 2>&1 run { allocate channel c1 type disk; allocate channel c2 type disk; allocate channel c3 type disk; allocate channel c4 type disk; allocate channel c5 type disk; allocate channel c6 type disk; allocate channel c7 type disk; allocate channel c8 type disk; convert datafile '/paic/hd02ntlf/datatmp/fwy/tmrlifedata10.dbf', '/paic/hd02ntlf/datatmp/fwy/tmrlifedata11.dbf', '/paic/hd02ntlf/datatmp/fwy/tmrlifedata12.dbf', '/paic/hd02ntlf/datatmp/fwy/tmrlifedata13.dbf', '/paic/hd02ntlf/datatmp/fwy/tmrlifedata14.dbf', '/paic/hd02ntlf/datatmp/fwy/tmrlifedata15.dbf', '/paic/hd02ntlf/datatmp/fwy/tmrlifedata16.dbf', '/paic/hd02ntlf/datatmp/fwy/tmrlifedata17.dbf' to PLATFORM="Solaris[tm] OE (64-bit)" FROM PLATFORM="HP-UX IA (64-bit)" DB_FILE_NAME_CONVERT= '/paic/hd02ntlf/datatmp/fwy','/paic/d1ntlf/data02/oradata'; release channel c1; release channel c2; release channel c3; release channel c4; release channel c5; release channel c6; release channel c7; release channel c8; } EOF nohup sh 2.sh & 对于SUN平台,后台跑起就exit这个主机,然后重启登陆,此时ctrl+c才不会影响此次任务。不然ctrl+c就会将当前会话发起的任务都退出掉。
--3.sh-- rman target / <3.log 2>&1 run { allocate channel c1 type disk; allocate channel c2 type disk; allocate channel c3 type disk; allocate channel c4 type disk; allocate channel c5 type disk; allocate channel c6 type disk; allocate channel c7 type disk; allocate channel c8 type disk; convert datafile '/paic/hd02ntlf/datatmp/fwy/tmrlifedata18.dbf', '/paic/hd02ntlf/datatmp/fwy/tmrlifedata19.dbf', '/paic/hd02ntlf/datatmp/fwy/tmrlifedata20.dbf', '/paic/hd02ntlf/datatmp/fwy/tmrlifedata21.dbf', '/paic/hd02ntlf/datatmp/fwy/tmrlifedata22.dbf', '/paic/hd02ntlf/datatmp/fwy/tmrlifedata23.dbf' to PLATFORM="Solaris[tm] OE (64-bit)" FROM PLATFORM="HP-UX IA (64-bit)" DB_FILE_NAME_CONVERT= '/paic/hd02ntlf/datatmp/fwy','/paic/d1ntlf/data03/oradata'; release channel c1; release channel c2; release channel c3; release channel c4; release channel c5; release channel c6; release channel c7; release channel c8; } EOF
nohup sh 3.sh &
--4.sh-- rman target / <4.log 2>&1 run { allocate channel c1 type disk; allocate channel c2 type disk; allocate channel c3 type disk; allocate channel c4 type disk; allocate channel c5 type disk; allocate channel c6 type disk; allocate channel c7 type disk; allocate channel c8 type disk; convert datafile '/paic/hd02ntlf/datatmp/fwy/tmrlifedata24.dbf', '/paic/hd02ntlf/datatmp/fwy/tmrlifedata25.dbf', '/paic/hd02ntlf/datatmp/fwy/tmrlifedata26.dbf', '/paic/hd02ntlf/datatmp/fwy/tmrlifedata27.dbf', '/paic/hd02ntlf/datatmp/fwy/undotbs2_01.dbf', '/paic/hd02ntlf/datatmp/fwy/users01.dbf', '/paic/hd02ntlf/datatmp/fwy/workarea01.dbf' to PLATFORM="Solaris[tm] OE (64-bit)" FROM PLATFORM="HP-UX IA (64-bit)" DB_FILE_NAME_CONVERT= '/paic/hd02ntlf/datatmp/fwy','/paic/d1ntlf/data04/oradata'; release channel c1; release channel c2; release channel c3; release channel c4; release channel c5; release chann |