Home » RDBMS Server » Backup & Recovery » moving rman backup and restore on new server (oracle 12.2.0.1 linux to windows)
moving rman backup and restore on new server [message #690230] Fri, 13 December 2024 16:37 Go to next message
patdev
Messages: 74
Registered: August 2008
Member
Hello

I am trying to create the clone or test clone of the db.

I have RMAN full backup of the db.

I have copied, pfile,spfile, pwfile,controlfile backup, and db backup to the location.

I have created the pfile and changed the path for log, controlfile, base, adump, dest etc.

then i ran the oradim -new -sid newdb1210 -startmode manual -pfile "L:/pfilelocation"

instance was created

but when i try to do sqlplus / as sysdba it is asking me for userid and password.

what am i doing wrong. and how to solve it.

thanks
Re: moving rman backup and restore on new server [message #690233 is a reply to message #690230] Sat, 14 December 2024 00:50 Go to previous messageGo to next message
Frank Naude
Messages: 4587
Registered: April 1998
Senior Member
Here are a few things to check:

Is the Oracle Service running:
  get-service OracleService*

Is the listener running:
  lsnrctl status

Does your user belong to the ORA_DBA group:
  net localgroup ora_dba

Is your ORACLE_HOME in the PATH:
  echo %PATH%

Connect:
  set ORACLE_SID=newdb1210
  sqlplus / as sysdba

Or, after creating the TNSNAMES.ORA entry...
  sqlplus /@newdb1210 as sysdba
Re: moving rman backup and restore on new server [message #690237 is a reply to message #690230] Mon, 16 December 2024 05:48 Go to previous message
John Watson
Messages: 8962
Registered: January 2010
Location: Global Village
Senior Member
Also, what is in your sqlnet.ora file? You'll need something like

SQLNET.AUTHENTICATION_SERVICES= (NTS)
Previous Topic: auto backup
Goto Forum:
  


Current Time: Tue Dec 24 12:55:30 CST 2024