RMAN Duplicate Database [message #202190] |
Wed, 08 November 2006 11:56 |
toshidas2000
Messages: 120 Registered: November 2005
|
Senior Member |
|
|
All
I am trying to duplicate a database through RMAN. But having issues with connection to the 3 databases through RMAN and I cannot set up a password file for target.
The current environment variable is poiting to duplicate database.
rman target sys/password@TARGET catalog rman_user/password@catalog auxiliary / trace=duplicate.trc
I am getting following error.
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-01031: insufficient privileges
Please help
Thanks
Toshi
|
|
|
|
Re: RMAN Duplicate Database [message #202196 is a reply to message #202194] |
Wed, 08 November 2006 12:21 |
toshidas2000
Messages: 120 Registered: November 2005
|
Senior Member |
|
|
i tried rman trace=dulpicate.trc
RMAN>connect target sys/password@target
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-04005: error from target database: ORA-01031: insufficient privileges
Still all environment variable is pointing to duplicate. Please help
|
|
|
|
|
|
Re: RMAN Duplicate Database [message #202296 is a reply to message #202202] |
Thu, 09 November 2006 00:42 |
raviramappa
Messages: 1 Registered: November 2006
|
Junior Member |
|
|
yes you can invoke RMAN on the target machine but you need to create password file and configure listener & tnsnames for the auxiliary (duplicate) database and connect as below
$ RMAN target / catalog user/password@connectstring auxiliary sys/password@connectstring.
|
|
|