1. 在用rman连接数据库时,如果你连接的要本地的oracle数据库rman target sys/password则可以,不要加上@,否则会报如下的错误
D:\study\oracle11g\duplicate>rman target sys/password@orcldup
恢复管理器: Release 11.2.0.1.0 - Production on 星期一 8月 26 23:08:27 2013
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00554: 内部恢复管理器程序包初始化失败
RMAN-04005: 目标数据库中存在错误:
ORA-12154: TNS: 无法解析指定的连接标识符
2. 但是如果你要连接远端的数据库则需要加上@ , 如rman target sys/password@orcldup