Oracle® Database Recovery Manager Reference 10g Release 1 (10.1) Part Number B10770-01 |
|
|
View PDF |
printScript::=
Text description of printScript
To print a local or global stored script to standard output or to a file.
For more information about stored scripts, see "CREATE SCRIPT".
Syntax Element | Description |
---|---|
|
With the If omitted, RMAN looks for a local or global script See "CREATE SCRIPT" for more details about local and global stored scripts. |
|
The name of the script to print. |
|
With |
The following example prints a script to the file '/tmp/backup_db.rman
':
PRINT SCRIPT backup_db TO FILE '/tmp/backup_db.rman';
This example prints a stored script to standard output (includes sample output):
RMAN> PRINT SCRIPT 'backup_db'; printing stored script: backup_db { ALLOCATE CHANNEL c1 DEVICE TYPE sbt BACKUP DATABASE; }