Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Howto place backup file to default directory of FRA with format?

635105Jan 12 2009 — edited Jan 12 2009
First, Happy new year to all!


My database use default FRA - Flash Recovery Area, also:

db_recovery_file_dest = C:\oracle\product\10.2.0/flash_recovery_area

SQL> archive log list
Database log mode Archive Mode
Automatic archival Enabled
Archive destination USE_DB_RECOVERY_FILE_DEST
Oldest online log sequence 14
Next log sequence to archive 16
Current log sequence 16

1.Now when I say:
RMAN> backup database;

Oracle create and place backup file to directory of FRA, exm:
C:\oracle\product\10.2.0\flash_recovery_area\ORCL\BACKUPSET\2009_01_10\O1_MF_NNNDF_TAG20090110T161353_4PKGSKYR_.BKP
All right!


2.But i don't like the OMF generated file name, i say:
RMAN> backup database format 'DD_%d_%s_%u.bkp' TAG='MyTag01';


RMAN place backup file NOT in FRA directory(like 1.), but now in C:\oracle\product\10.2.0\db_1\database, exm:
C:\oracle\product\10.2.0\db_1\database\DD_ORCL_42_1AK4FI9L.BKP


Question: How can i tell RMAN place backup file to default directory of FRA - Flash Recovery Area, but using special own format, not OMF?

Thanks
This post has been answered by Aman.... on Jan 12 2009
Jump to Answer

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Feb 9 2009
Added on Jan 12 2009
7 comments
10,345 views