- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to see contents of stored RMAN scripts
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-28-2004 07:43 PM
тАО07-28-2004 07:43 PM
I know these
Create script
Replace script
delete script
run script
But I do not know how to see contents
of stored RMAN scripts, and to see
list of stored script names.
Please advise with commands or steps.
Thanks
Ezhil
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-28-2004 08:08 PM
тАО07-28-2004 08:08 PM
Solutiontry
http://www.orsweb.com/downloads/source/517.html
Steve steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-28-2004 08:10 PM
тАО07-28-2004 08:10 PM
Re: How to see contents of stored RMAN scripts
Command you're looking for is "print script".
Let me suggest this doc :
http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96564/toc.htm
Regards,
Fred
"Reality is just a point of view." (P. K. D.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-28-2004 08:32 PM
тАО07-28-2004 08:32 PM
Re: How to see contents of stored RMAN scripts
below the two that steps you must undergo:
Step1: obtain a listing of all stored scripts
==============================================
a. Start sqlplus and connect to the recovery catalog database.
/home/yd> sqlplus rman/rman@recocat
b. Issue a SELECT statement on the RC_STORED_SCRIPT view:
yd@MYDB.MU> SELECT script_name FROM rc_stored_script;
SCRIPT_NAME
--------------------------------------------------------------------------------
backupdb
binc
binc1
3 rows selected.
Step2: View script
==============================================
a. Start RMAN and connect to the recovery catalog database and target database, specifying the log argument if you want to print to a message log. For example, enter the following to specify rman_log:
/home/yd> rman target / catalog rman/rman@rcat log rman_log
b. Issue a print script command to write the script to the log:
print script b_whole;
c. Host out to the operating system and use a text editor to view the script. For example, enter:
RMAN> host;
/home/yd> vi rman_log
hope this helps!
regards
Yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-28-2004 08:35 PM
тАО07-28-2004 08:35 PM
Re: How to see contents of stored RMAN scripts
below the two that steps you must undergo:
Step1: obtain a listing of all stored scripts
==============================================
a. Start sqlplus and connect to the recovery catalog database.
/home/yd> sqlplus rman/rman@recocat
b. Issue a SELECT statement on the RC_STORED_SCRIPT view:
yd@MYDB.MU> SELECT script_name FROM rc_stored_script;
SCRIPT_NAME
--------------------------------------------------------------------------------
backupdb
binc
binc1
3 rows selected.
Step2: View script
==============================================
a. Start RMAN and connect to the recovery catalog database and target database, specifying the log argument if you want to print to a message log. For example, enter the following to specify rman_log:
/home/yd> rman target / catalog rman/rman@recocat log rman_log
b. Issue a print script command to write the script to the log:
print script backupdb;
c. Host out to the operating system and use a text editor to view the script. For example, enter:
RMAN> host;
/home/yd> vi rman_log
hope this helps!
regards
Yogeeraj