Oracle8i Backup and Recovery Guide Release 8.1.5 A67773-01 |
|
To execute stand-alone commands, which are run from the RMAN prompt.
Refer to individual entries for information about commands that you can execute from the RMAN prompt.
This example connects to the target database and recovery catalog from the O/S command line, then runs the command file cmd1.f
:
% rman target / catalog rman/rman@rcvcat RMAN> @$ORACLE_HOME/dbs/cmd/cmd1.f
This example allocates a maintenance channel, crosschecks backups of tablespace FOO, then backs up tablespace FOO:
allocate channel for maintenance type disk; crosscheck backup of tablespace foo; delete expired backup of tablespace foo; run { allocate channel c1 type disk; backup tablespace foo; } release channel;