Solved

create standbase database using rman

Posted on 2011-03-20
2
269 Views
Last Modified: 2012-06-22
I did like this

SQL> startup open
ORACLE instance started.

Total System Global Area  252777660 bytes
Fixed Size                   451772 bytes
Variable Size             218103808 bytes
Database Buffers           33554432 bytes
Redo Buffers                 667648 bytes
Database mounted.
Database opened.
SQL> exit

set oracle_sid=orcl123

then I did

RMAN> backup database plus archivelog delete input;

but there are errors

starting backup at 20-mar-11
using target database controlfile instead of recovery catalog
RMAN-00571 ==============================================
RMAN-00569 ============ERROR MESSAGE STACK FOLLOWS=======
RMAN-00571=================================================
RMAN-03002 failure of backup plus archivelog command at 03/20/2011    14:24:44
RMAN-06171 not connected to target database

could you please help me the reason for the error

the database is already in archivelog mode


0
Comment
Question by:nobleit
2 Comments
 
LVL 7

Expert Comment

by:MrNed
ID: 35176995
You need to tell RMAN how to connect to the database you want backed up - i.e. the "target". One way:

$ set oracle_sid=orcl123
$ rman target /
0
 
LVL 12

Accepted Solution

by:
praveencpk earned 500 total points
ID: 35179956
Hi ,

Check this doc for how to connect to traget database and backup.

http://download.oracle.com/docs/cd/B10501_01/server.920/a96566/rcmcnctg.htm
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I remember the day when someone asked me to create a user for an application developement. The user should be able to create views and materialized views and, so, I used the following syntax: (CODE) This way, I guessed, I would ensure that useā€¦
When it comes to protecting Oracle Database servers and systems, there are a ton of myths out there. Here are the most common.
This video explains at a high level with the mandatory Oracle Memory processes are as well as touching on some of the more common optional ones.
This video explains what a user managed backup is and shows how to take one, providing a couple of simple example scripts.

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question