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;