• Linux x86-64 • Microsoft Windows (64-bit) • Oracle Solaris on SPARC (64–bit) • Oracle Solaris X64 • ZLinux-64 • AIX (PPC64) • HP-UX IA64 Note: HP-UX PA-RISC 64–bit is not supported.
Oracle Database
• Oracle Database 9i Release 2 or later • Operating system files cannot be backed up with RMAN or the RMAN SBT interface
Recovery Manager: Release 11.2.0.4.0 - Production on Sun Feb 18 13:05:21 2024
Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
connected to target database: WXH (DBID=349028346)
RMAN> CONFIGURE DEFAULT DEVICE TYPE TO SBT;
using target database control file instead of recovery catalog new RMAN configuration parameters: CONFIGURE DEFAULT DEVICE TYPE TO 'SBT_TAPE'; new RMAN configuration parameters are successfully stored
RMAN> configure channel device type sbt parms "SBT_LIBRARY=/u01/app/oracle/product/11.2.0.4/db_1/lib/libosbws.so ENV=(OSB_WS_PFILE=/u01/app/oracle/product/11.2.0.4/db_1/dbs/osbwsWXH.ora,OSB_WS_BUCKET=oracle-rman-backup-nonsap-study)";
new RMAN configuration parameters: CONFIGURE CHANNEL DEVICE TYPE 'SBT_TAPE' PARMS "SBT_LIBRARY=/u01/app/oracle/product/11.2.0.4/db_1/lib/libosbws.so ENV=(OSB_WS_PFILE=/u01/app/oracle/product/11.2.0.4/db_1/dbs/osbwsWXH.ora,OSB_WS_BUCKET=oracle-rman-backup-nonsap-study)"; new RMAN configuration parameters are successfully stored
RMAN> configure device type sbt parallelism 4;
new RMAN configuration parameters: CONFIGURE DEVICE TYPE 'SBT_TAPE' PARALLELISM 4 BACKUP TYPE TO BACKUPSET; new RMAN configuration parameters are successfully stored
RMAN> CONFIGURE CONTROLFILE AUTOBACKUP ON;
new RMAN configuration parameters: CONFIGURE CONTROLFILE AUTOBACKUP ON; new RMAN configuration parameters are successfully stored
验证备份是否可行
1 2
sh /home/oracle/scripts/rmanlevel0.sh sh /home/oracle/scripts/rmanlevel1.sh