Database Backup and Recovery (MOSC)

MOSC Banner

RMAN - backup database plus archivelog - format finer

edited Jan 29, 2009 3:23AM in Database Backup and Recovery (MOSC) 2 comments
 I am trying to set up rman scripts to backup oracle 10.2.0.2 database.
I can simply use:
backup database plus archivelog

Can I add: format '/dbbackups_odb/%T_archivelog_%d_%e_%u';
before the PLUS ARCHIVELOG, I also want to set a tag for the archivelog

But I want to format the files better.
I can set the backup format, but how do I format the archivelogs:

case "$DAY" in
"Sun")
rman target / msglog $ORACLE_LOGS/online_BACKUP_level0_${DATE}.log <
crosscheck BACKUP;
run {
allocate channel BACKUP_disk1 type disk format '/dbbackups_odb/%T_online_bu_level0_sun_%d_%U';

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