Database Backup and Recovery (MOSC)

MOSC Banner

RMAN is trying to read from a strange location...?

edited Aug 4, 2011 1:58AM in Database Backup and Recovery (MOSC) 8 commentsAnswered ✓
Hi!

Im trying to restore a spfile to pfile.

The RMAN backup is written to disk:

connect catalog rman11cv/password@metarep
connect target sys/password@DATABASE 
run {
ALLOCATE CHANNEL disk1 DEVICE TYPE DISK FORMAT 'G:\BackupDB\%U';

backup AS COMPRESSED BACKUPSET
 incremental level = 0 
 filesperset = 10 
 database  
 include current controlfile spfile  ;
}

run {
ALLOCATE CHANNEL disk1 DEVICE TYPE DISK FORMAT 'G:\BackupDB\%U';

sql "alter system archive log current";
 backup AS COMPRESSED BACKUPSET
 filesperset = 5 
 (archivelog all delete input );
 backup current controlfile spfile  ;
}

exit;



The logfile looks a little strange. RMAN writes to a strange location: \ORACLE\ORA10.2\DATABASE\C-2179021406-20110804-00?? In the middle of the log.

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