janbar / libobksftp Goto Github PK
View Code? Open in Web Editor NEWSBT driver for Oracle® RMAN allowing to backup and restore from any SSH server
License: Other
SBT driver for Oracle® RMAN allowing to backup and restore from any SSH server
License: Other
Hello, and thank you for publishing this.
I would be very interested to see the source of the library. This repo currently only seems to contain the compiled libraries.
Any chance you could push the source for these libraries as well?
Hi,
I want to use this sbt driver on Solaris 11.4 SRU 54, but the following error is output.
How to solve this?
oracle@dbzone1:~$ rman target sys/[email protected]:1521/orcl
RMAN> RUN {
ALLOCATE CHANNEL S1 DEVICE TYPE sbt
PARMS='SBT_LIBRARY=/export/home/oracle/libobksftp.so,ENV=(OB_SERVER=192.168.100.223,OB_USER=oracle,OB_PATH=/export/home/oracle/sbt_backup)';
BACKUP CURRENT CONTROLFILE FORMAT 'rman/%d/%U';
RESTORE CONTROLFILE VALIDATE;
}2> 3> 4> 5> 6> 7>
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of allocate command on S1 channel at 03/01/2023 00:51:09
ORA-19554: error allocating device, device type: SBT_TAPE, device name:
ORA-27023: skgfqsbi: media manager protocol error
ORA-19511: non RMAN, but media manager or vendor specific failure, error text:
User HOME is undefined
RMAN>
sbttest result is successful:
oracle@dbzone1:~$ export OB_SERVER=192.168.100.223
oracle@dbzone1:~$ export OB_USER=oracle
oracle@dbzone1:~$ sbttest backup_file -libname ~/libobksftp.so
The sbt function pointers are loaded from /export/home/oracle/libobksftp.so library.
-- sbtinit succeeded
-- sbtinit (2nd time) succeeded
sbtinit: Media manager supports SBT API version 2.0
sbtinit: vendor description string=SBT/SSH2-SFTP
sbtinit: allocated sbt context area of 864 bytes
sbtinit: Media manager is version 1.0.7.0
-- sbtinit2 succeeded
-- regular_backup_restore starts ................................
-- sbtbackup succeeded
write 100 blocks
-- sbtwrite2 succeeded
-- sbtclose2 succeeded
sbtinfo2: SBTBFINFO_NAME=backup_file
sbtinfo2: SBTBFINFO_SHARE=single user
sbtinfo2: SBTBFINFO_ORDER=sequential access
sbtinfo2: SBTBFINFO_METHOD=stream
sbtinfo2: SBTBFINFO_LABEL=089034A8
sbtinfo2: SBTBFINFO_CRETIME=Wed Mar 1 00:22:55 2023
sbtinfo2: SBTBFINFO_COMMENT={uid=69,gid=69,perms='100640'}
-- sbtinfo2 succeeded
-- sbtrestore succeeded
file was created by this program:
seed=368351928, blk_size=16384, blk_count=100
read 100 buffers
-- sbtread2 succeeded
-- sbtclose2 succeeded
-- sbtremove2 succeeded
-- regular_backup_restore ends ................................
-- sbtcommand succeeded
proxy copy is not supported
-- sbtend succeeded
*** The SBT API test was successful ***
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.