Solved

Datafile added and RMAN restore fails

Posted on 2014-03-06
3
980 Views
Last Modified: 2014-03-07
Hello,
I want to know if there is a command I can run in rman after adding a datafile that will make rman aware of the datafile incase I have to restore. Currently we are waiting to add datafiles till either before our full or incremental backup kicks off or adding a datafile and manually kicking off a backup.
Is there another option to make rman aware of datafile without doing a full or incremental backup?

Thanks
0
Comment
Question by:k3vsmith
3 Comments
 
LVL 76

Expert Comment

by:slightwv (䄆 Netminder)
ID: 39909570
RMAN should be aware of the new data file the next time it runs.

That said: I suppose you could set RMAN up in such a way that it wouldn't but you would probably have to go out of your way to do so.

In the title, you mentioned an error on restore.  If you are getting an error we will need more information.  Preferably the RMAN script that performs the backup, how often it runs and the restore process along with error.
0
 
LVL 22

Accepted Solution

by:
Steve Wales earned 500 total points
ID: 39911255
Is the error coming out of a restore or a duplicate ?  
 
If it's a duplicate then there is a bug in 11.2.0.3 and earlier:
BUG:12799744 - DUPLICATE TO POINT IN TIME AFTER DATAFILE WAS ADDED FAIL.

(I've seen this behavior myself in 11.2.0.3).

This has been fixed in 11.2.0.4:
Rman-06023 encountered during duplicate to point in time after datafile was added (Doc ID 782317.1)

This support note also gives the work around on how to get past this issue.
0
 

Author Closing Comment

by:k3vsmith
ID: 39913572
Thanks both. Steve it was a restore. When I do a backup first and then a restore it works fine after addding a datafile. I guess thats the route Ill take. We are on 11.2.0.3 planning to upgrade to 12c later this year once our version of EBS certifies it. Thanks!
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Queries 15 39
ORA-00923: FROM keyword not found where expected 3 63
Repeat query 13 46
Include a logo in email body using Oracle utl_mail 11 30
This post first appeared at Oracleinaction  (http://oracleinaction.com/undo-and-redo-in-oracle/)by Anju Garg (Myself). I  will demonstrate that undo for DML’s is stored both in undo tablespace and online redo logs. Then, we will analyze the reaso…
Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
This video shows syntax for various backup options while discussing how the different basic backup types work.  It explains how to take full backups, incremental level 0 backups, incremental level 1 backups in both differential and cumulative mode a…
This video shows how to recover a database from a user managed backup

778 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