冷備_並行copy datafile

beatony發表於2012-10-03
set linesize 200 pagesize 300
spool copy.sh
select 'cp ' || name || '   ' || &2 || ' &' from v$datafile;       
select 'cp ' || name || '   ' || &2 || ' &' from v$tempfile;     
select 'cp ' || member || '   ' || &2 || ' &' from v$logfile;  
spool off
 
shutdown immediate
 
 
./copy.sh

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/22578826/viewspace-745552/,如需轉載,請註明出處,否則將追究法律責任。

相關文章