Thursday, January 12, 2012

backup on the cloud

1. downlaod osbows_install.jar
from http://www.oracle.com/technetwork/database/secure-backup/secure-backup-s3-484709.html

2. run command
/u01/app/oracle/product/11.2.0/dbhome_1/jdk/bin/java -jar osbws_install.jar -AWSID NNNNNNNNNNNNNNNNNNNN -AWSKey NNNNNNNnnnnnnnnnNNNNNNNNNNnnnn -otnUser user@yahoo.com -otnPass whoknows -walletDir /u01/app/oracle/database/product/11.2.0/dbs/osbws_wallet -libDir /u01/app/oracle/database/product/11.2.0/lib

the output:

Oracle Secure Backup Database Web-Service Install Tool, build 2011-02-04.0001
AWS credentials are valid.
S3 user already registered.
Registration ID: NNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
S3 Logging Bucket: NNNNNNNNNNNNNNNNNN
Validating log bucket location ...
Validating license file ...
Create credential oracle.security.client.connect_string1
OSB web-services wallet created in directory /u01/app/oracle/product/11.2.0/dbs/osbws_wallet.
OSB web-services initialization file /u01/app/oracle/product/11.2.0/dbs/osbwsORCL.ora created.
Downloading OSB Web Services Software Library from file osbws_linux64.zip.
Downloaded 20851724 bytes in 1 seconds. Transfer rate was 20851724 bytes/second.
Download complete.
Extracted file /u01/app/oracle/product/11.2.0/lib/libosbws12.so

3. run rman
run {
allocate channel dev1 type sbt parms='SBT_LIBRARY=libosbws11.so,SBT_PARMS=(OSB_WS_PFILE=/u01/app/oracle/database/product/11.2.0/dbs/osbwsORCL.ora)';
restore database;
release channel dev1
}


reference:
http://www.unbreakablecloud.com/wordpress/2010/08/21/46/
http://www.oracle.com/technetwork/topics/cloud/osbws-readme-083624.html

1 comment:

  1. I really love it and amazing information in this blog. it's really good and great information well done.
    Here's some more information about Backup on Cloud.
    https://www.datanethosting.com/backup-on-cloud/

    ReplyDelete