RMAN and Amazon Web Services
I'm having an issue getting this to work. It's configured and if I run sbttest it works fine(the SBT API test was successful) but when I run the test through Enterprise Manager I get:
Recovery Manager: Release 11.2.0.1.0 - Production on Mon Apr 5 12:19:59 2010
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
RMAN>
connected to target database: ORASERV (DBID=237500368)
using target database control file instead of recovery catalog
RMAN>
echo set on
RMAN> run {
2> allocate channel oem_sbt_backup type 'sbt_tape' format '%U' parms 'SBT_LIBRARY=/opt/oracle/product/Ora11g/lib/libosbws11.soENV=(OSB_WS_PFILE=/opt/oracle/product/Ora11g/dbs/osbwsoraserv.ora)';
3> backup as BACKUPSET current controlfile tag '04052010121958';
4> restore controlfile validate from tag '04052010121958';
5> release channel oem_sbt_backup;
6> }
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of allocate command on oem_sbt_backup channel at 04/05/2010 12:20:00
ORA-19554: error allocating device, device type: SBT_TAPE, device name:
ORA-27211: Failed to load Media Management Library
Additional information: 3970
RMAN> allocate channel for maintenance type 'sbt_tape' parms 'SBT_LIBRARY=/opt/oracle/product/Ora11g/lib/libosbws11.soENV=(OSB_WS_PFILE=/opt/oracle/product/Ora11g/dbs/osbwsoraserv.ora)';
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of allocate command on ORA_MAINT_SBT_TAPE_1 channel at 04/05/2010 12:20:00
ORA-19554: error allocating device, device type: SBT_TAPE, device name:
ORA-27211: Failed to load Media Management Library
Additional information: 3970
RMAN> delete noprompt backuppiece tag '04052010121958';
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=24 device type=DISK
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of delete command at 04/05/2010 12:20:01
RMAN-06168: no backup pieces with this tag found: 04052010121958
RMAN> exit;
Recovery Manager complete.
Edited by: user8812402 on Apr 5, 2010 10:30 AM