RMAN Tag parameter [message #262992] |
Tue, 28 August 2007 13:41 |
sroy
Messages: 38 Registered: July 2005
|
Member |
|
|
I can't find the use of TAG parameter in the CONFIGURE CONTROLFILE AUTOBACKUP command. I wonder if it's possible to do that instead of using the BACKUP CURRENT CONTROLFILE TAG '<tag_name>';
|
|
|
Re: RMAN Tag parameter [message #263000 is a reply to message #262992] |
Tue, 28 August 2007 14:01 |
DreamzZ
Messages: 1666 Registered: May 2007 Location: Dreamzland
|
Senior Member |
|
|
Tag command works with the database like backup database tag 'Full_Backup';
http://download.oracle.com/docs/cd/B19306_01/backup.102/b14194/rcmsynta009.htm#RCMRF107
Quote: | If you do not specify a tag name, then by default RMAN creates a tag for backups (except for control file autobackups) in the format TAGYYYYMMDDTHHMMSS, where YYYY is the year, MM is the month, DD is the day, HH is the hour (in 24-hour format), MM is the minutes, and SS is the seconds. For example, a backup of datafile 1 can receive the tag TAG20020208T133437. The date and time refer to when RMAN started the backup. If multiple backup sets are created by one BACKUP AS BACKUPSET command, then each backup piece is assigned the same default tag.
|
|
|
|
Re: RMAN Tag parameter [message #263030 is a reply to message #262992] |
Tue, 28 August 2007 15:49 |
sroy
Messages: 38 Registered: July 2005
|
Member |
|
|
TAG parameter can work with control file, database, and archived redo logs as long as BACKUP TAG command is used. But, I prefer to put the tag parameter in the CONFIGURE CONTROLFILE AUTOBACKUP command because then it will be easier to associate it with the other backupsets when we enter the LIST BACKUPSET SUMMARY command.
|
|
|
|