6 Replies Latest reply on Feb 15, 2013 3:42 PM by 991366

    Backing up Oracle 11gR2 DB to AWS - Error

      Hi All

      Please can you assist with the error below. I have followed the Oracle White Paper and Readme (Oracle Secure Backup Cloud Module for Amazon S3)

      I have the following setup:
      Oracle DB 11g
      Windows 7 64bit (The process is available for 64bit windows but not documented properly)

      OTN Access Setup
      Two AWS Keys from my Amazon Cloud Setup

      Log File

      java -jar osbws_install.jar -AWSID <myawsid> -AWSKey <myawskey> -otnUser <myotn_email> -otnPass <myotn_pw> -walletDir
      C:\orasoft\product\11.2.0\db_1\database\osbws_wallet -libDir C:\orasoft\product\11.2.0\db_1\lib
      Oracle Secure Backup Database Web-Service Install Tool, build 2011-02-04.0001
      AWS credentials are valid.
      Creating new registration for this S3 user.
      Created new log bucket.
      Registration ID: 42a14664-g1k4-996a-v1be-73a7d782d890
      S3 Logging Bucket: oracle-log-rmail-1
      Validating log bucket location ...
      Validating license file ...
      Create credential oracle.security.client.connect_string1
      OSB web-services wallet created in directory C:\orasoft\product\11.2.0\db_1\database\osbws_wallet.
      OSB web-services initialization file C:\orasoft\product\11.2.0\db_1\dbs\osbwsTEST.ora created.
      Downloading OSB Web Services Software Library from file osbws_windows64.zip.
      Downloaded 17993756 bytes in 77 seconds. Transfer rate was 233685 bytes/second.
      Download complete.
      Extracted file C:\orasoft\product\11.2.0\db_1\LIB\oraosbws12.dll

      My error occurs here:

      RMAN> run {
      2> allocate channel dev1 type sbt parms='SBT_LIBRARY=C:\orasoft\product\11.2.0\db_1\lib\oraosbws12.dll
      3> }

      RMAN-00571: ===========================================================
      RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
      RMAN-00571: ===========================================================
      RMAN-03009: failure of allocate command on dev1 channel at 01/21/2012 09:42:20
      ORA-19554: error allocating device, device type: SBT_TAPE, device name:
      ORA-27211: Failed to load Media Management Library