Restore failing for PDB when CDB in "noarchivelog" mode. — oracle-mosc

Database Backup and Recovery (MOSC)

MOSC Banner

Restore failing for PDB when CDB in "noarchivelog" mode.

edited Aug 17, 2016 6:34AM in Database Backup and Recovery (MOSC) 7 commentsAnswered

Hi, a query on restoring a pdb (of a noarchivelog cdb) results in ORA-01113 file needs recovery every time I do it.

I am running the following RMAN commands ...

RMAN> alter pluggable database ttsupp close;

RMAN> restore pluggable database ttsupp from tag "TUE-19-JUL-2016-16:19-DB";

RMAN> recover pluggable database ttsupp;

RMAN> alter pluggable database ttsupp open;

and then I get an error ....

RMAN-03002: failure of sql statement command at 07/21/2016 13:55:42

ORA-01113: file 17 needs media recovery

ORA-01110: data file 17: '/data/oradata/cdb0/ttsupp/DPU_INDEXES.dbf'


I've tried "recover" with options to"resetlogs" and "noredo" but all fail when I open PDB. CDB backup and recovery is fine. Any help would be greatly appreciated.

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center