您的位置:首页 > 其它

restore archivelog 的用法

2014-10-11 14:34 369 查看
restore archivelog 的用法

     restore archivelog all;   还原全部归档日志文件

     restore archivelog from logseq 27 ;  还原log sequence为27之后的所有归档日志

     restore archivelog from logseq 27 until logseq 29; 还原log sequence为27到29这几个归档日志 

     restore archivelog from time 'sysdate-7'; 还原七天以内的归档日志

     restore archivelog until logseq 29; 还原到seqence 为29的日志文件为止

     set archivelog destination to '/u01/database/sybo5/arch';设定还原日志文件到新路径,如

     run{

     set archivelog destination to '/u01/database/sybo5/arch';

     restore archivelog low logseq 27;}
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: