||Specifies the datafile by using either the full path or a relative filename. If you specify a relative filename, then the filename is qualified in a port-specific manner by the target database. Note that 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, as well as the behavior of environment variables in RMAN quoted strings
||Specifies the datafile by using its absolute file number (see Example 3-13). Obtain the file number from the
This example copies datafile
/disk1/oradata/prod/users01.dbf to disk, specifying it by filename:
BACKUP AS COPY DATAFILE '/disk1/oradata/prod/users01.dbf' FORMAT '/disk2/users01.cpy';