Solved

create standbase database using rman

Posted on 2011-03-20
2
268 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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Working with Network Access Control Lists in Oracle 11g (part 1) Part 2: http://www.e-e.com/A_9074.html So, you upgraded to a shiny new 11g database and all of a sudden every program that used UTL_MAIL, UTL_SMTP, UTL_TCP, UTL_HTTP or any oth…
Note: this article covers simple compression. Oracle introduced in version 11g release 2 a new feature called Advanced Compression which is not covered here. General principle of Oracle compression Oracle compression is a way of reducing the d…
This video shows how to recover a database from a user managed backup
This video shows how to configure and send email from and Oracle database using both UTL_SMTP and UTL_MAIL, as well as comparing UTL_SMTP to a manual SMTP conversation with a mail server.

805 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