Skip Headers

Oracle9i Recovery Manager Reference
Release 2 (9.2)

Part Number A96565-01
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents
Go To Index
Index

Master Index

Feedback

Go to previous page Go to beginning of chapter Go to next page

RMAN Commands , 2 of 59


@

Syntax

Text description of at.gif follows
Text description of the illustration at.gif


Purpose

To execute a series of RMAN commands stored in an operating system file with the specified full path name, for example, @/oracle/dbs/cmd/cmd1.rman. If you do not specify the full path name, then the current working directory is assumed, for example, @cmd1.rman. Do not use quotes around the string or leave whitespace between the @ and filename. RMAN processes the specified file as if its contents had appeared in place of the @ command.


Note:

The file must contain complete RMAN commands; partial commands generate syntax errors.


Restrictions and Usage Notes

Execute at the operating system command line, at the RMAN prompt, or within the braces of a RUN command.

Example

Running a Command File from the Command Line: Example

This example creates a command file and then runs it from the operating system command line:

echo "BACKUP DATABASE;" > backup_db.rman
rman TARGET / @backup_db.rman
Running a Command File Within RMAN: Example

This example runs a command file from the RMAN prompt and from within a RUN command:

@backup_db.rman
RUN { @backup_db.rman }

Go to previous page Go to beginning of chapter Go to next page
Oracle
Copyright © 1996, 2002 Oracle Corporation.

All Rights Reserved.
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents
Go To Index
Index

Master Index

Feedback