Databases Reference
In-Depth Information
connected to target database: ORCL (DBID=1316762630)
RMAN> CONFIGURE DEFAULT DEVICE TYPE TO sbt;
new RMAN configuration parameters:
CONFIGURE DEFAULT DEVICE TYPE TO 'SBT_TAPE';
new RMAN configuration parameters are successfully stored
RMAN> backup database;
Starting backup at 09-NOV-12
allocated channel: ORA_SBT_TAPE_1
channel ORA_SBT_TAPE_1: SID=74 device type=SBT_TAPE
channel ORA_SBT_TAPE_1: Oracle Secure Backup
channel ORA_SBT_TAPE_1: starting full datafile backup set
channel ORA_SBT_TAPE_1: specifying datafile(s) in backup set
input datafile file number=00001 name=/u01/app/oracle/oradata/orcl/system01.dbf
input datafile file number=00003 name=/u01/app/oracle/oradata/orcl/sysaux01.dbf
input datafile file number=00005 name=/u01/app/oracle/oradata/orcl/cattbs_01.dbf
input datafile file number=00002 name=/u01/app/oracle/oradata/orcl/example01.dbf
input datafile file number=00007 name=/u01/app/oracle/oradata/orcl/virt_catalog_01.dbf
input datafile file number=00004 name=/u01/app/oracle/oradata/orcl/undotbs01.dbf
input datafile file number=00006 name=/u01/app/oracle/oradata/orcl/users01.dbf
input datafile file number=00010 name=/u01/app/oracle/oradata/orcl/demo01.dbf
input datafile file number=00008 name=/u01/app/oracle/oradata/orcl/test01_01.dbf
input datafile file number=00009 name=/u01/app/oracle/oradata/orcl/test02_01.dbf
channel ORA_SBT_TAPE_1: starting piece 1 at 09-NOV-12
channel ORA_SBT_TAPE_1: finished piece 1 at 09-NOV-12
piece handle=amnpsbar_1_1 tag=TAG20121109T112411 comment=API Version 2.0,MMS Version 10.4.0.2
channel ORA_SBT_TAPE_1: backup set complete, elapsed time: 00:04:36
Finished backup at 09-NOV-12
Starting Control File Autobackup at 09-NOV-12
piece handle=c-1316762630-20121109-00 comment=API Version 2.0,MMS Version 10.4.0.2
Finished Control File Autobackup at 09-NOV-12
RMAN>
How It Works
You can configure either a content-based or a time-based backup expiration policy for backups made to tape. If
you delete any backup made through the sbt interface by using RMAN's delete command, OSB updates its catalog
automatically to account for the deleted backup pieces. However, when you delete a backup piece from tape using an
OSB command ( rmpiece ) or when you overwrite a backup piece on tape, RMAN's repository won't be automatically
updated. Always make it a policy to use RMAN's crosscheck command to avoid discrepancies between the actual
backups on tape and RMAN's repository backup metadata.
 
Search WWH ::




Custom Search