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
dba_7722
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> SWITCH DATAFILE ALL;

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
Flyby
Messages: 145
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
vattigunta
Messages: 32
Registered: August 2011
Location: India
Member
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: 4611
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: RMAN-00554: initialization of internal recovery manager package failed
Next Topic: rman -set limit channel
Goto Forum:
  


Current Time: Thu Oct 02 08:44:57 CDT 2014

Total time taken to generate the page: 0.14775 seconds