Duplicate databases error

duplicationoracle-11g-r2

I have two Oracle 11gR2 databases on separate servers. I want to duplicate these databases.

For this, I do these steps :

  • In auxiliary db :

    • create password file with password that is same if target password
  • In target database:

    • Create a pfile and set db_name to auxiliary db
    • in tnsname.ora set the auxiliary db
    • with sqlplus connect to auxiliary db and startup, nomount with pfile.

With rman connect to these db and when I want to duplicate these databases with command below, I have an error that's in attach of this question.

Duplicate database to orcl1 with active database spfile nofilenamecheck.

Can any one help me?

Best Answer

the error messages you got because you don't have privileges to log in to the server so you need to grant the user the necessary access.

some tips to solve this issue:

1) Mount the remote disk locally (map network drive).

2) Use rman CATALOG command to make the backups available.

3) user has enough privileges on ORACLE level