restore archivelog 經常使用用法


         restore archivelog all;   還原所有歸檔日誌文件
     restore archivelog from logseq 2213 ;  還原log sequence爲2213以後的全部歸檔日誌
     restore archivelog from logseq 2213 until logseq 2222; 還原log sequence爲2213到2222這幾個歸檔日誌 
     restore archivelog from time 'sysdate-7'; 還原七天之內的歸檔日誌
     restore archivelog until logseq 2222; 還原到seqence 爲2222的日誌文件爲止
     set archivelog destination to '/mnt/data/backup/PBF/archive';設定還原日誌文件到新路徑,如
     run{
     set archivelog destination to '/mnt/data/backup/PBF/archive';
     restore archivelog low logseq 2222;}
相關文章
相關標籤/搜索