Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

create standbase database using rman

Posted on 2011-03-20
2
Medium Priority
?
277 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:
Praveen Kumar Chandrashekatr earned 2000 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

NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

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…
Background In several of the companies I have worked for, I noticed that corporate reporting is off loaded from the production database and done mainly on a clone database which needs to be kept up to date daily by various means, be it a logical…
This video shows how to copy a database user from one database to another user DBMS_METADATA.  It also shows how to copy a user's permissions and discusses password hash differences between Oracle 10g and 11g.
Via a live example, show how to restore a database from backup after a simulated disk failure using RMAN.

782 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