Databases Reference
In-Depth Information
Using the Send Command
The RMAN
send
command lets you send a vendor-specific string to a channel that's supported by a media manager.
The following example shows how to issue the
send
command to specify a tape drive by sending the value for the
ob_device
parameter to Oracle Secure backup:
RMAN> run
{
allocate channel ch1 device type sbt;
send
'ob_device drive3';
send
'ob_media_family med_fam1';
backup database;
}
The
send
command specifies the tape drive device3 as the value for the
ob_device
parameter for channel ch1,
which communicates with the media manager.
How It Works
When you issue the
send
command, if you don't specify a channel for a backup or restore job, RMAN uses all allocated
channels for the job. The
send
command will accept only those commands that are supported by the specific media
manager you are using. The database has nothing to do with the interpretation of the strings that you enter as input to
the
send
command strings—that's left entirely to the MML.
Making Oracle Database Backups Using Oracle Secure Backup
Problem
You want to perform a backup using Oracle Secure Backup and RMAN.
Solution
You use the same
backup
commands as you would when you back up to disk, but you specify a tape channel when using
Oracle Secure Backup. Here's an example that shows how to back up a database using OSB-managed tape devices. We
use bold text in the output of the
backup
command, to show details about the tape devices used in the backup.
[oracle@virtual1 ~]$ rman
Recovery Manager: Release 12.1.0.0.2 - Beta on Fri Nov 9 11:21:58 2012
Copyright (c) 1982, 2012, Oracle and/or its affiliates. All rights reserved.
RMAN> connect target /