Skip Headers
Oracle® Database Backup and Recovery Reference
10g Release 2 (10.2)

Part Number B14194-03
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

deviceSpecifier

Syntax

deviceSpecifier::=

Description of devicespecifier.gif follows
Description of the illustration devicespecifier.gif

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 media_device variable specifies a media manager. Media device names are case insensitive. The sbt variable is legal as input, but RMAN output always displays its synonym sbt_tape. It is stored in the catalog as sbt_tape for backward compatibility.


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;