这就是我如何在不登录Oracle 10g数据库的情况下备份数据库的问题。任何人都可以告诉我为什么我得到这个错误,我应该如何解决它?使用rman备份oracle数据库时出错
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\sunanda>cd C:\oraclexe
C:\oraclexe>cd app
C:\oraclexe\app>cd oracle
C:\oraclexe\app\oracle>cd product
C:\oraclexe\app\oracle\product>cd 10.2.0
C:\oraclexe\app\oracle\product\10.2.0>cd server
C:\oraclexe\app\oracle\product\10.2.0\server>cd bin
C:\oraclexe\app\oracle\product\10.2.0\server\BIN>dir rman.exe
Volume in drive C has no label.
Volume Serial Number is 40EF-0556
Directory of C:\oraclexe\app\oracle\product\10.2.0\server\BIN
02/02/2006 12:43 AM 1,552,384 rman.exe
1 File(s) 1,552,384 bytes
0 Dir(s) 14,177,832,960 bytes free
C:\oraclexe\app\oracle\product\10.2.0\server\BIN>set ORACLE_SID=demo
C:\oraclexe\app\oracle\product\10.2.0\server\BIN>echo %ORACLE_SID%
demo
C:\oraclexe\app\oracle\product\10.2.0\server\BIN>rman target/
我做到这一点后,我得到了如下错误:
Recovery Manager: Release 10.2.0.1.0 - Production on Wed Apr 18 14:46:35 2012
Copyright (c) 1982, 2005, Oracle. All rights reserved.
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00554: initialization of internal recovery manager package failed
RMAN-04005: error from target database:
ORA-12560: TNS:protocol adapter error
C:\oraclexe\app\oracle\product\10.2.0\server\BIN>
我试图寻找这个错误,但无法理解究竟如何去做。 http://www.youtube.com/watch?v=8dA6BYxF_YE&feature=related。这是我在做这件事的时候提到的视频。
你能告诉我怎么才能找到那个?我在网上搜索,但只发现如何设置ORACLE_SID的值,而不是它应该设置。 – 2012-04-18 11:40:29
我没有经验的人,但我不明白你为什么需要设置它。它会在您安装Oracle时设置。 – Sathya 2012-04-18 13:50:10