Home » RDBMS Server » Backup & Recovery » RMAN Tag parameter
RMAN Tag parameter [message #262992] Tue, 28 August 2007 13:41 Go to next message
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 Go to previous messageGo to next message
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 Go to previous messageGo to next message
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.
Re: RMAN Tag parameter [message #263041 is a reply to message #262992] Tue, 28 August 2007 22:20 Go to previous message
Arju
Messages: 1554
Registered: June 2007
Location: Dhaka,Bangladesh. Mobile:...
Senior Member

Quote:
But, I prefer to put the tag parameter in the CONFIGURE CONTROLFILE AUTOBACKUP command



In this way tag parameter can not be set.
It must be set with the backup command.

By the way tag is of course useful when you have multiple of backups and you want to restore one as you wish choosing by tag name.
Previous Topic: archivelog file?
Next Topic: Duplicate with RMAN Fails with ORA-01547
Goto Forum:
  


Current Time: Fri May 17 03:34:30 CDT 2024