Oracle9i Recovery Manager Reference Release 2 (9.2) Part Number A96565-01 |
|
This chapter describes, in alphabetical order, Recovery Manager commands and subclauses. For a summary of the RMAN commands and command-line options, refer to "Summary of RMAN Commands".
Table 2-1 provides a functional summary of RMAN commands that you can execute at the RMAN prompt, within a RUN
command, or both. All commands from previous RMAN releases work with the current release.
For RMAN options that you can specify on the operating system command line, refer to "cmdLine".
Command | Purpose |
---|---|
Run a command file. |
|
Run a command file in the same directory as another command file that is currently running. The |
|
Establish a channel, which is a connection between RMAN and a database instance. |
|
Allocate a channel in preparation for issuing maintenance commands such as |
|
A subclause that specifies channel control options such as |
|
Mount or open a database. |
|
Specify a range of archived redo logs files. |
|
Back up a database, tablespace, datafile, archived log, or backup set. |
|
Recover an individual data block or set of data blocks within one or more datafiles. |
|
Add information about a datafile copy, archived redo log, or control file copy to the repository. |
|
Mark a backup piece, image copy, or archived redo log as having the status |
|
Specify a time range during which the backup or copy completed. |
|
Configure persistent RMAN settings. These settings apply to all RMAN sessions until explicitly changed or disabled. |
|
Establish a connection between RMAN and a target, auxiliary, or recovery catalog database. |
|
Specify the username, password, and net service name for connecting to a target, recovery catalog, or auxiliary database. The connection is necessary to authenticate the user and identify the database. |
|
Create an image copy of a datafile, control file, or archived redo log. |
|
Create the schema for the recovery catalog. |
|
Create a stored script and store it in the recovery catalog. |
|
Determine whether files managed by RMAN, such as archived logs, datafile copies, and backup pieces, still exist on disk or tape. |
|
Specify a datafile by filename or absolute file number. |
|
Delete backups and copies, remove references to them from the recovery catalog, and update their control file records to status |
|
Delete a stored script from the recovery catalog. |
|
Specify the type of storage device for a backup or copy. |
|
Remove the schema from the recovery catalog. |
|
Use backups of the target database to create a duplicate database that you can use for testing purposes or to create a standby database. |
|
Run an RMAN stored script. |
|
Quit the RMAN executable. |
|
Invoke an operating system command-line subshell from within RMAN or run a specific operating system command. |
|
Specify that a backup or copy should or should not be exempt from the current retention policy. |
|
Produce a detailed listing of backup sets or copies. |
|
A subclause used to specify which items will be displayed by the |
|
A subclause used to specify additional options for maintenance commands such as |
|
A subclause used to determine which backups and copies are obsolete. |
|
Display a stored script. |
|
Exit the RMAN executable. |
|
A subclause used to specify which objects the maintenance commands should operate on. |
|
Apply redo logs or incremental backups to a restored backup set or copy in order to update it to a specified time. |
|
Register the target database in the recovery catalog. |
|
Release a channel that was allocated with an |
|
Release a channel allocated with an |
|
Replace an existing script stored in the recovery catalog. If the script does not exist, then |
|
Perform detailed analyses of the content of the recovery catalog. |
|
Inform RMAN that the SQL statement |
|
Restore files from backup sets or from disk copies to the default or a new location. |
|
Perform a full resynchronization, which creates a snapshot control file and then copies any new or changed information from that snapshot control file to the recovery catalog. |
|
Execute a sequence of one or more RMAN commands, which are one or more statements executed within the braces of |
|
Send a vendor-specific quoted string to one or more specific channels. |
|
Make the following session-level settings:
|
|
Displays the current |
|
Shut down the target database. This command is equivalent to the SQL*Plus |
|
Write RMAN output to a log file. |
|
Execute a SQL statement from within Recovery Manager. |
|
Start up the target database. This command is equivalent to the SQL*Plus |
|
Specify that a datafile copy is now the current datafile, that is, the datafile pointed to by the control file. This command is equivalent to the SQL statement |
|
A subclause specifying an upper limit by time, SCN, or log sequence number. This clause is usually used to specify the desired point in time for an incomplete recovery. |
|
Upgrade the recovery catalog schema from an older version to the version required by the RMAN executable. |
|
Examine a backup set and report whether its data is intact. RMAN scans all of the backup pieces in the specified backup sets and looks at the checksums to verify that the contents can be successfully restored. |
|
Copyright © 1996, 2002 Oracle Corporation. All Rights Reserved. |
|