Skip Headers
Oracle® Database Backup and Recovery Reference
11g Release 2 (11.2)

Part Number E10643-01
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Master Index
Master Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
View PDF

Examples

Example 4-35 Specifying an ASM Disk Group

This example copies the database to ASM disk group DISK1:

BACKUP AS COPY DATABASE TO DESTINATION '+DATAFILE';

Example 4-36 Specifying a Destination for Datafile Copies

This example copies two datafiles with tag LATESTCOPY to directory /disk2:

BACKUP AS COPY
 COPY OF DATAFILE 27, 28
 FROM TAG 'LATESTCOPY'  TO DESTINATION '/disk2';

Example 4-37 Specifying a Destination for Recovery Area files

This example copies all recovery area files to /disk2:

Because Backup Recovery Area has backup optimization enabled by default, RMAN only skips backups of files that previously exist on /disk2 and not ones that reside in other locations.

Note: This subclause, when used in conjunction with the BACKUP RECOVERY AREA, allows you to designate a disk channel as a location.

BACKUP RECOVERY AREA TO DESTINATION '/disk2';