|Oracle® Database Backup and Recovery Reference
11g Release 1 (11.1)
|PDF · Mobi · ePub|
PRINT SCRIPT only at the RMAN prompt. RMAN must be connected to a target database and a recovery catalog. The recovery catalog database must be open.
If the specified script is a local script, then RMAN must be connected to the target database that it was connected to when you created or replaced the script.
GLOBAL is not specified, then RMAN looks for a local or global script
script_name to print. If a local script is found, then it is printed. If no local script is found, but a global script
script_name is found, then the global script is printed.
||Identifies the script as global.
See Also: "Usage Notes" for an explanation of the difference between global and local scripts
||Specifies the name of the script to print. Quotes must be used around the script name when the name contains either spaces or reserved words.|
||Sends output to the specified file instead of standard output.|
This example prints a script to the file
RMAN> PRINT GLOBAL SCRIPT global_backup_db TO FILE "/tmp/global_backup_db.rman";