av一区二区在线观看_亚洲男人的天堂网站_日韩亚洲视频_在线成人免费_欧美日韩精品免费观看视频_久草视

您的位置:首頁技術文章
文章詳情頁

Oracle數據庫不完全恢復實例

瀏覽:75日期:2023-11-19 19:50:26
1、; 環境:操作系統aix5.2,數據庫Oracle9.22、; 模擬環境:1)首先使用rman作整個數據庫備份2)時間:# dateTue Aug 23 17:35:19 BEIDT 20053)操作:sql>truncate table scott.emp3、; 恢復數據庫到2005年8月23日17點35分19秒4、; 數據庫到mount狀態5、; 設置變量$set nls_date_format=yyyy-mm-dd:hh24:mi:ss6、; 連接到rman$rman target / catalog rman/rman@omsora9RMAN> run {2> set until time='to_date('2005-08-23:17:35:19','yyyy-mm-dd:hh24:mi:ss')';3> restore database;4> recover database;5> }executing command: SET until clauseStarting restore at 23-AUG-05allocated channel: ORA_DISK_1channel ORA_DISK_1: sid=14 devtype=DISKallocated channel: ORA_DISK_2channel ORA_DISK_2: sid=15 devtype=DISKallocated channel: ORA_DISK_3channel ORA_DISK_3: sid=16 devtype=DISKallocated channel: ORA_DISK_4channel ORA_DISK_4: sid=17 devtype=DISKchannel ORA_DISK_1: starting datafile backupset restorechannel ORA_DISK_1: specifying datafile(s) to restore from backup setrestoring datafile 00003 to /oradata/hb130000/cwmlite01.dbfrestoring datafile 00010 to /oradata/hb130000/xdb01.dbfrestoring datafile 00012 to /oradata/hb130000/GFB.DBFrestoring datafile 00013 to /oradata/hb130000/CA.dbfrestoring datafile 00017 to /oradata/hb130000/GDSS.dbfchannel ORA_DISK_2: starting datafile backupset restorechannel ORA_DISK_2: specifying datafile(s) to restore from backup setrestoring datafile 00004 to /oradata/hb130000/drsys01.dbfrestoring datafile 00005 to /oradata/hb130000/example01.dbfrestoring datafile 00006 to /oradata/hb130000/indx01.dbfrestoring datafile 00014 to /oradata/hb130000/QUEST.dbfrestoring datafile 00018 to /oradata/hb130000/FPJKDB.dbfchannel ORA_DISK_3: starting datafile backupset restorechannel ORA_DISK_3: specifying datafile(s) to restore from backup setrestoring datafile 00002 to /oradata/hb130000/undotbs01.dbfrestoring datafile 00007 to /oradata/hb130000/odm01.dbfrestoring datafile 00009 to /oradata/hb130000/users01.dbfrestoring datafile 00011 to /oradata/hb130000/YSZX130000002005.DBFrestoring datafile 00015 to /oradata/hb130000/FOGLIGHT.dbfchannel ORA_DISK_4: starting datafile backupset restorechannel ORA_DISK_4: specifying datafile(s) to restore from backup setrestoring datafile 00001 to /oradata/hb130000/system01.dbfrestoring datafile 00008 to /oradata/hb130000/tools01.dbfrestoring datafile 00016 to /oradata/hb130000/gwd.dbfrestoring datafile 00019 to /oradata/hb130000/tgggg.dbfchannel ORA_DISK_2: restored backup piece 1piece handle=/oradata/rmanbackup/df_HB130000_567080235_66_1.bak tag=TAG20050823T 101715 params=NULLchannel ORA_DISK_2: restore completechannel ORA_DISK_3: restored backup piece 1piece handle=/oradata/rmanbackup/df_HB130000_567080235_67_1.bak tag=TAG20050823T101715 params=NULLchannel ORA_DISK_3: restore completechannel ORA_DISK_1: restored backup piece 1piece handle=/oradata/rmanbackup/df_HB130000_567080236_68_1.bak tag=TAG20050823T101715 params=NULLchannel ORA_DISK_1: restore completechannel ORA_DISK_4: restored backup piece 1piece handle=/oradata/rmanbackup/df_HB130000_567080237_69_1.bak tag=TAG20050823T101715 params=NULLchannel ORA_DISK_4: restore completeFinished restore at 23-AUG-05Starting recover at 23-AUG-05using channel ORA_DISK_1using channel ORA_DISK_2using channel ORA_DISK_3using channel ORA_DISK_4starting media recoveryarchive log thread 1 sequence 4 is already on disk as file /oradata/rmanbackup/archive/hb130000_1_4.dbfchannel ORA_DISK_1: starting archive log restore to default destinationchannel ORA_DISK_1: restoring archive logarchive log thread=1 sequence=3channel ORA_DISK_1: restored backup piece 1piece handle=/oradata/rmanbackup/df_HB130000_567080296_72_1.bak tag=TAG20050823T101815 params=NULLchannel ORA_DISK_1: restore completearchive log filename=/oradata/rmanbackup/archive/hb130000_1_3.dbf thread=1 sequence=3media recovery completeFinished recover at 23-AUG-05RMAN>7、; 連接到數據庫$sqlplus nologsql>conn / as sysdbaconnectedsql>alter database open resetlogsdatabase altered.8、查詢表scott.emp數據得到恢復。
標簽: Oracle 數據庫
主站蜘蛛池模板: 日韩午夜片 | 日韩欧美国产成人 | 国产日韩一区 | 久久人人爽 | 亚洲激情五月 | 九九久久免费视频 | 日韩欧美中文字幕在线观看 | 四虎影院最新网址 | 欧美色综合网 | 可以看av的网站 | 国产九九 | 国产a视频 | 亚洲精品乱码久久久久久蜜桃91 | 国产乱码精品一区二区三 | 成人网址在线观看 | 亚洲成人av在线 | 精品国产一二三区 | 神马午夜视频 | 精品久久视频 | 黄色中文字幕 | 一级肉体裸体bbbb | 久久久精品在线观看 | 天天爱夜夜操 | 激情小说在线视频 | 波多野结衣视频在线 | 黄色一级大片在线免费看国产一 | 亚洲黄色片 | 婷婷久久综合 | 日韩精品视频免费播放 | 欧美中文字幕在线 | 久久精品一区二区三区不卡牛牛 | 日韩免费看片 | 欧美精品三区 | 欧美不卡| 成年人毛片 | 中国农村毛片免费播放 | 国产精品suv一区二区 | 日本三级韩国三级美三级91 | 中文字幕在线免费视频 | 一本色道久久综合亚洲精品小说 | 亚洲另类视频 |