Home » RDBMS Server » Backup & Recovery » Rman Backup (10g)
Rman Backup [message #568825] Wed, 17 October 2012 00:19 Go to next message
hemagarg.2010@gmail.com
Messages: 17
Registered: March 2012
Junior Member
hello ,
i want to connect to RMAN via DOS but i am not able to connect . its giving error
'rman not recognized as an internal or external command'

thanks in advance
Re: Rman Backup [message #568839 is a reply to message #568825] Wed, 17 October 2012 01:51 Go to previous messageGo to next message
Michel Cadot
Messages: 68624
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
Appropriately set ORACLE_HOME and PATH (which must contains %ORACLE_HOME%\bin).

Regards
Michel
Re: Rman Backup [message #568841 is a reply to message #568839] Wed, 17 October 2012 02:01 Go to previous messageGo to next message
hemagarg.2010@gmail.com
Messages: 17
Registered: March 2012
Junior Member
yeah , i already set ORACLE_HOME path, still getting error
Re: Rman Backup [message #568847 is a reply to message #568841] Wed, 17 October 2012 02:20 Go to previous messageGo to next message
Michel Cadot
Messages: 68624
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
You have to set TWO variables: ORACLE_HOME and PATH

Regards
Michel
Re: Rman Backup [message #568848 is a reply to message #568847] Wed, 17 October 2012 02:24 Go to previous messageGo to next message
hemagarg.2010@gmail.com
Messages: 17
Registered: March 2012
Junior Member
yeah first i set, ORACLE_HOME=C:\oraclexe\app\oracle\product\10.2.0\server
then
Path=%ORACLE_HOME%\bin
Re: Rman Backup [message #568864 is a reply to message #568848] Wed, 17 October 2012 04:01 Go to previous messageGo to next message
Michel Cadot
Messages: 68624
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
Is there any RMAN.* file in your =%ORACLE_HOME%\bin directory?

And do NOT tell us what you think you do and get, SHOW us: copy and paste your DOS session.
Before, Please read OraFAQ Forum Guide and How to use [code] tags and make your code easier to read.
Make sure that lines of code do not exceed 80 characters when you format.
Indent the code, use code tags and align the columns in result.
Use the "Preview Message" button to verify.

Regards
Michel
Re: Rman Backup [message #568878 is a reply to message #568848] Wed, 17 October 2012 06:36 Go to previous message
John Watson
Messages: 8922
Registered: January 2010
Location: Global Village
Senior Member
Quote:
Path=%ORACLE_HOME%\bin
This was wrong, it should read
PATH=%ORACLE_HOME%\bin;%PATH%
Previous Topic: RECOVERY FROM RMAN BACKUP
Next Topic: RMAN WITH DATA DOMAIN
Goto Forum:
  


Current Time: Thu Mar 28 07:50:56 CDT 2024