Solved

create standbase database using rman

Posted on 2011-03-20
2
270 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Working with Network Access Control Lists in Oracle 11g (part 2) Part 1: http://www.e-e.com/A_8429.html Previously, I introduced the basics of network ACL's including how to create, delete and modify entries to allow and deny access.  For many…
How to Unravel a Tricky Query Introduction If you browse through the Oracle zones or any of the other database-related zones you'll come across some complicated solutions and sometimes you'll just have to wonder how anyone came up with them.  …
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.
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…

749 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