|Oracle® Database Backup and Recovery Reference
10g Release 2 (10.2)
|PDF · Mobi · ePub|
A subclause that specifies a datafile by filename or absolute file number.
You can specify the relative or absolute path name.
Double and single quotes are both legal (although only single quotes are shown in the diagram). Double quotes are recommended in the
? to represent the Oracle home and
@ for the Oracle SID.
See Also:"Placeholders" to learn about the difference between single and double quotes, as well as the behavior of environment variables in RMAN quoted strings
||Specifies the datafile by using either the full path or a relative filename. If you specify a relative filename, the filename is qualified in a port-specific manner by the target database.|
||Specifies the datafile by using its absolute file number. Obtain the file number from the
BACKUP AS COPY DATAFILE '?/oradata/trgt/users01.dbf' FORMAT '?/oradata/users01.cpy';
BACKUP AS COPY DATAFILE 3 FORMAT '?/oradata/df3.cpy', DATAFILE 4 FORMAT '?/oradata/df4.cpy';