||Specifies the data file by using either the full path or a relative file name. If you specify a relative file name, then the file name is qualified in a port-specific manner by the target database. You can use
Double and single quotes are both valid (although only single quotes are shown in the diagram).
See Also: "Quotes in RMAN Syntax" to learn about the difference between single and double quotes, and the behavior of environment variables in RMAN quoted strings
||Specifies the data file by using its absolute file number (see Example 4-13). Obtain the file number from the
This example copies data file
/disk1/oradata/prod/users01.dbf to disk, specifying it by file name:
BACKUP AS COPY DATAFILE '/disk1/oradata/prod/users01.dbf' FORMAT '/disk2/users01.cpy';