RMAN - backup database plus archivelog - format finer
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';
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';
0