Home » RDBMS Server » Backup & Recovery » rman issue (Linux 2.6.18-92.1.13.el5)
rman issue [message #525446] Mon, 03 October 2011 04:20 Go to next message
Messages: 197
Registered: August 2010
Location: Delhi
Senior Member

Hello Expert,

I have restored all datafile to new location (that is ASM) earlier it was on file system using set new name command (RMAN). Now when i'm trying to update control file with swicth command it is prompting error. Please suggest. Version is 11g R2.


RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00558: error encountered while parsing input commands
RMAN-01009: syntax error: found "all": expecting one of: "double-quoted-string, integer, single-quoted-string"
RMAN-01007: at line 1 column 17 file: standard input
Re: rman issue [message #525630 is a reply to message #525446] Tue, 04 October 2011 03:50 Go to previous messageGo to next message
Messages: 176
Registered: March 2011
Location: Belgium
Senior Member
I don't have asm-experience, but couldn't find the switch datafile all command. Performing ASM Data Migration
Re: rman issue [message #525968 is a reply to message #525630] Fri, 07 October 2011 03:27 Go to previous messageGo to next message
Messages: 32
Registered: August 2011
Location: India
I guess u have to use "set newname command" before you use swith datafile all, i guess if you use that way it should work.Let me know if it works.
Re: rman issue [message #525979 is a reply to message #525446] Fri, 07 October 2011 04:59 Go to previous message
John Watson
Messages: 7031
Registered: January 2010
Location: Global Village
Senior Member
Should you be using something like
backup as copy database format '+data';
switch database to copy;

Previous Topic: Making a copy of existing Source tables for BI Reporting
Next Topic: block change tracking file - when it is used?
Goto Forum:

Current Time: Tue Aug 22 06:11:15 CDT 2017

Total time taken to generate the page: 0.01650 seconds