Oracle® Database Backup and Recovery Reference 10g Release 2 (10.2) Part Number B14194-02 |
|
|
View PDF |
Syntax
deviceSpecifier::=
Purpose
A subclause specifying the type of storage for a backup or copy.
Keywords and Parameters
Syntax Element | Description |
---|---|
DISK |
Specifies disk storage device. |
'media_device' |
Specifies a sequential I/O device or access method for storage. The syntax and semantics of sequential I/O device types are platform-specific. Example values are sbt and sbt_tape (with or without quotes). These values are synonymous.
The |
Examples
Allocating a Tape Channel: Example This example allocates a maintenance channel for a media management device:
ALLOCATE CHANNEL FOR MAINTENANCE DEVICE TYPE sbt;
Backing Up to Disk: Example This example backs up the database to disk:
BACKUP DEVICE TYPE DISK DATABASE;
Restoring from Tape: Example This example restores archived logs from tape:
RESTORE DEVICE TYPE sbt ARCHIVELOG ALL;