[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

How to recover after hot backup in Oracle

Posted on 2011-03-12
1
Medium Priority
?
1,078 Views
Last Modified: 2012-06-27
Doing a project for school - and the instructions were to do a hot backup as follows:

SQL> alter database begin backup;

From Windows Explorer, create folder: C:\app\Administrator\oradata\orabackup\hotbackup
And then copy all database files to C:\app\Administrator\oradata\orabackup\hotbackup

SQL> alter database end backup;

Then we were to insert some filed in the hr.regions example table - simulate a media failure by deleting the EXAMPLE01.DBF file

Then instructions were as follows -

SQL> startup
Note: You will receive an error message.
Action: Now you restore the hot backup EXAMPLE01.DBF file to where it used to be: C:\app\Administrator\oradata\orcl450 directory
Reminder: your backup file doesn’t contain the changes you made to HR.REGIONS table.
SQL> alter database open;
Note: You will receive a different error message.
SQL> recover database;

when I try to recover I get this:

SQL> recover database;
ORA-00283: recovery session canceled due to errors
ORA-01110: data file 5: 'C:\APP\ADMINISTRATOR\ORADATA\ORCL450\EXAMPLE01.DBF'
ORA-01157: cannot identify/lock data file 5 - see DBWR trace file
ORA-01110: data file 5: 'C:\APP\ADMINISTRATOR\ORADATA\ORCL450\EXAMPLE01.DBF'

And I am not sure what to do here - can anyone help me out with this??
0
Comment
Question by:dawber39
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 

Accepted Solution

by:
dawber39 earned 0 total points
ID: 35118182
Never mind - I see my mistake
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction A previously published article on Experts Exchange ("Joins in Oracle", http://www.experts-exchange.com/Database/Oracle/A_8249-Joins-in-Oracle.html) makes a statement about "Oracle proprietary" joins and mixes the join syntax with gen…
When it comes to protecting Oracle Database servers and systems, there are a ton of myths out there. Here are the most common.
Via a live example show how to connect to RMAN, make basic configuration settings changes and then take a backup of a demo database
This video shows how to copy a database user from one database to another user DBMS_METADATA.  It also shows how to copy a user's permissions and discusses password hash differences between Oracle 10g and 11g.

649 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question