| Oracle® Database Backup and Recovery Reference 11g Release 2 (11.2) Part Number E10643-01 |
|
|
View PDF |
Purpose
Use the toDestSpec subclause to specify a directory or an Automatic Storage Management disk group for disk backups. If you do not specify a value for the TO DESTINATION, then RMAN either creates the backup in the fast recovery area if it is enabled, or in a platform-specific directory (for example, ?/dbs on UNIX) if a fast recovery area is not enabled. RMAN uses Oracle Managed Filenames when the TO DESTINATION parameter is used.
Usage Notes
This subclause can only be used with disk devices and cannot be used with the FORMAT option.
If backup optimization is enabled, RMAN only skips backups of files that already have identical backups in the location designated by the TO DESTINATION field.
You can specify up to four TO DESTINATION strings. RMAN uses the second, third, and fourth values only when BACKUP COPIES, SET BACKUP COPIES, or CONFIGURE ... BACKUP COPIES is in effect. When choosing the format for each backup piece, RMAN uses the first format value for copy 1, the second format value for copy 2, and so on. If the number of format values exceeds the number of copies, then the extra formats are not used. If the number of format values is less than the number of copies, then RMAN reuses the format values, starting with the first one.
Specify todest_string in any of the following places, listed in order of precedence:
The backupSpec clause
The BACKUP command
The ALLOCATE CHANNEL command
The CONFIGURE CHANNEL command
If specified in more than one of these places, then RMAN searches for the TO DESTINATION parameter in the order shown.
Syntax
toDestSpec::=