- Community Home
- >
- HPE Community, Taiwan
- >
- HP-UX
- >
- 資料庫
- >
- RMAN - "restore archived all" question
類別
Company
Local Language
論壇
討論平台
論壇
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
討論平台
論壇
討論平台
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
論壇
部落格
- 訂閱此主題的RSS 提要
- 將此主題標記為未讀
- 將主題標記為已讀
- 將主題在本帳號置頂
- 標示為書籤
- 訂閱此主題
- 列印此頁
- 將文章標記為未讀
- 標示為書籤
- 訂閱此主題
- 靜音
- 訂閱此主題的RSS 提要
- 高亮顯示此文章
- 列印此文章
- 提報不當內容
在 05-10-2007 08:44 AM
在 05-10-2007 08:44 AM
RMAN - "restore archived all" question
I have a big problem when restoring the archive log files. Here ist the scenario. I have a runinge oracle 9i database. The archive log folder is empty. Then I do a full backup. Therefore I deleted the old backup entrys:
-connect target
-delete archivelog all
-chrosscheck backup
-chrosscheck archivelog all
-delete expired backup;
-delete expired archivelog all
...
-configure controlfile autobackup on
-configure backup optimization off
-backup full database filesperset 1 plus archivelog
the command "list archivelog all" show the follinging entrys:
List of Archived Log Copies
Key: 82 Thrd: 1 Seq: 12
Key: 83 Thrd: 1 Seq: 13
My first question: Why does the Seq number not starts with 1?
After that I deleted all controll files, archive files and dbf files. Then I do a recovery:
-set dbid ..
-connect target ..
-startup nomount
-restore controlfile from '...'
-startup mount force
-restore database
--> that all works fine
-restore archivelog all;
I get the folloging error:
RMAN-06026 some targets not found - aborting restore
RMAN-06025 no backup of log thread 1 seq 11 scn ... found to restore
RMAN-06025 no backup of log thread 1 seq 10 scn ... found to restore
...
Yes of course they are not there. But they aren't also in the list archive log, so why rman want to restore them?
I found out that if I do
"restore archivelog sequence 12" and "restore archivelog seqence 13" it works. After that the recover database works. But I did that manually. How can the script knows which sequences are to recover. Get I back the whole database if I restore only 12 and 13? I must get back, because the backup only generates 12 and 13??? Is it possible to start with sequence number 1 when do a full backup?
Pls help!
Thks & Best Regards,
- 將文章標記為未讀
- 標示為書籤
- 訂閱此主題
- 靜音
- 訂閱此主題的RSS 提要
- 高亮顯示此文章
- 列印此文章
- 提報不當內容
在 05-10-2007 11:56 AM
在 05-10-2007 11:56 AM
RMAN - "restore archived all" question
當你restore control file回來時,and startup mount ,
這個control file記錄著7天(default)的rman backup,所以他會知道你以前的資料
但是我不懂為什麼你要用restore archivelog all,當你用restore database,rman會自己去找到需要的archive
另外我不懂你要sequence number 1要做什麼
即時有備份,restore 也用不到阿,因為做fullbackup 的時候,sequence number不曉得已經跑到幾號去了
資料庫新create 完,sequence number已經不是1了
- 將文章標記為未讀
- 標示為書籤
- 訂閱此主題
- 靜音
- 訂閱此主題的RSS 提要
- 高亮顯示此文章
- 列印此文章
- 提報不當內容
在 05-10-2007 12:34 PM
在 05-10-2007 12:34 PM
RMAN - "restore archived all" question
Thanks!
I know that during the normal course of recovery with RMAN, there is no real need to recover the archived redo logs. However, restoring one or more archived redo logs may be required occasionally. For example, I might want to use Log Miner to mine some infomation from the archived redo log files stored in our backups.
Best Regards,
- 將文章標記為未讀
- 標示為書籤
- 訂閱此主題
- 靜音
- 訂閱此主題的RSS 提要
- 高亮顯示此文章
- 列印此文章
- 提報不當內容
在 05-11-2007 07:34 AM
在 05-11-2007 07:34 AM
RMAN - "restore archived all" question
請問 "restore archivelog all" 是從哪一號的 archived file 開始 restore?
Thks & Best Regards,
- 將文章標記為未讀
- 標示為書籤
- 訂閱此主題
- 靜音
- 訂閱此主題的RSS 提要
- 高亮顯示此文章
- 列印此文章
- 提報不當內容
在 05-25-2007 08:23 AM
在 05-25-2007 08:23 AM
RMAN - "restore archived all" question
應該會從你上一次的Full backup 之後開始倒回來, 不指定的話,都是 full recovery.