restore archivelog 的用法

来源:互联网 发布:制作动画软件下载 编辑:程序博客网 时间:2024/05/29 08:55
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;}
0 0
原创粉丝点击