control file autobackup format changing [message #474939] |
Thu, 09 September 2010 15:48 |
muktha_22
Messages: 527 Registered: December 2009
|
Senior Member |
|
|
Hi,
Need clarifications:
1) why we can't set format for controlfile backup other than %F? (Without specifying %F).
2) Is Manually taking controlfile backup uses the same format as autobackup?
Can we set different format for manual backup?
3) which format is default one - %F or % U? (Different manual shows different)
4) which type of format is being used mostly in the production database.
Thanks in advance
|
|
|
Re: control file autobackup format changing [message #474947 is a reply to message #474939] |
Fri, 10 September 2010 00:41 |
John Watson
Messages: 8960 Registered: January 2010 Location: Global Village
|
Senior Member |
|
|
Question 2: you can use any format you like:C:\Users\john\home>rman target /
Recovery Manager: Release 11.2.0.1.0 - Production on Fri Sep 10 06:38:52 2010
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
connected to target database: JW (DBID=955106381)
RMAN> backup current controlfile format 'c:\tmp\controlfile.backup';
Starting backup at 10-SEP-10
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=406 device type=DISK
channel ORA_DISK_1: starting full datafile backup set
channel ORA_DISK_1: specifying datafile(s) in backup set
including current control file in backup set
channel ORA_DISK_1: starting piece 1 at 10-SEP-10
channel ORA_DISK_1: finished piece 1 at 10-SEP-10
piece handle=C:\TMP\CONTROLFILE.BACKUP tag=TAG20100910T063920 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:01
Finished backup at 10-SEP-10
RMAN>
[edit: typo]
[Updated on: Fri, 10 September 2010 00:41] Report message to a moderator
|
|
|
|
Re: control file autobackup format changing [message #475014 is a reply to message #475002] |
Fri, 10 September 2010 14:21 |
John Watson
Messages: 8960 Registered: January 2010 Location: Global Village
|
Senior Member |
|
|
I don't understand the purpose of your third and fourth questions. For the first question, you need to consider the command
restore controlfile from autobackup; and think about how it can work, given that you run it in nomount mode, when the instance has access to nothing more than the parameter file and the executables.
|
|
|
Re: control file autobackup format changing [message #476302 is a reply to message #474947] |
Wed, 22 September 2010 09:48 |
edgefree
Messages: 30 Registered: July 2010 Location: Toronto
|
Member |
|
|
Sounds right. But it has to be fixed name, which may not a good solution during daily works. If I remember right, for control file backup, automatical naming only accepts %F format.
As the latter reply, we need to consider 'restore' command works since 'restore controlfile' only works with autobackup or specified file. So if using fixed name, need to specify it too when restore it.
|
|
|