What is the difference between restoring and recovering
摘自orafaq
Restoring involves copying backup files from secondary storage (backup media) to disk. This can be done to replace damaged files or to copy/move a database to a new location.
Recovery is the process of applying redo logs to the database to roll it forward. One can roll-forward until a specific point-in-time (before the disaster occurred), or roll-forward until the last transaction recorded in the log files.
SQL> connect SYS as SYSDBA
SQL> RECOVER DATABASE UNTIL TIME '2001-03-06:16:00:00' USING BACKUP CONTROLFILE;
RMAN> run {
set until time to_date('04-Aug-2004 00:00:00', 'DD-MON-YYYY HH24:MI:SS');
restore database;
recover database;
}
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/10599713/viewspace-996248/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- What is the difference between a Homemaker and a Housewife?
- Difference between cursor and a ref cursor
- What is the difference Put and Post and Get?
- What is the difference between Mysql InnoDB B+ tree index and hash index? Why does MongoDB use B-tree?MySqlIndexMongoDB
- Difference Between Arraylist And Vector : Core Java Interview Collection QuestionJavaView
- Difference between Microsoft Dynamics 365 WEB API, Organization Service and Organization Data ServicROSWebAPI
- 「萌新指南」SOA vs. 微服務:What’s the Difference?微服務
- 3.4.3 Restoring the System to Normal OperationRESTORM
- difference with PerlApp 7.0 and PerlApp 6.0APP
- LeetCode 389. Find the DifferenceLeetCode
- JSnaughty: Recovering Clear, Natural Identifiers from Obfuscated JS NamesJSIDE
- The SQL vs NoSQL Difference: MySQL vs MongoDBMySqlMongoDB
- What is Babel?Babel
- what is life?
- What is WebpackWeb
- What is wrong?
- What is maven?Maven
- How to review diffs between commitsViewMIT
- SAP Retail Differences Between Articles and MaterialsAI
- 1344. Angle Between Hands of a Clock
- What is an SQL relation?SQL
- What is rate limiting?MIT
- What is a service mesh?
- WHAT IS PPM Encoder ?
- 「暑期訓練」「Brute Force」 Restoring Painting (CFR353D2B)RESTAI3D
- [LeetCode] 2903. Find Indices With Index and Value Difference ILeetCodeIndex
- Recovering 6d object pose and predicting next-best-view in the crowdObjectView
- MongoDB分片叢集節點狀態stateStr:RECOVERING解決MongoDB
- Between validator常用驗證規則
- What does -> do in clojure?
- CISO之What & How
- What are the benefits of using an proxy?
- [Information Security] What is WEPORM
- What is dbo in SQL Server?SQLServer
- What is the "WF - Contention'' Enqueue ?ENQ
- what is the Mixin method in Python?Python
- MySQL中BETWEEN子句的用法詳解MySql
- In-depth analysis of the comparison between AT and XA of distributed transactions
- What does "xargs grep" do?