backup incremental level 0 tag 'db0' format '/db_t%t_u%u_s%s_p%p' database include current controlfile;
release channel t1;
CONFIGURE DEFAULT DEVICE TYPE TO 'SBT_TAPE';
CONFIGURE CONTROLFILE AUTOBACKUP ON;
CONFIGURE DEVICE TYPE 'SBT_TAPE' PARALLELISM 2;
confiGURE CHANNEL 1 DEVICE TYPE 'SBT_TAPE' CONNECT ' sys/1@11' PARMS='ENV=(TDPO_OPTFILE=/opt/tivoli/tsm/client/oracle/bin/tdpo.opt)';
CONFIGURE CHANNEL 2 DEVICE TYPE 'SBT_TAPE' CONNECT ' sys/1@12' PARMS='ENV=(TDPO_OPTFILE=/opt/tivoli/tsm/client/oracle/bin/tdpo.opt)';
sql 'ALTER SYSTEM ARCHIVE LOG CURRENT';
backup archivelog all delete input format '/arc_%U_%s.bak' filesperset = 5;
}作者: sshd 时间: 2006-12-26 08:55
backup incremental level n (n>0) is useless unless you have backup incremental level 0
backup incremental level 0 will backup the same data as a full backup, but the later is not usable for subsequent incremental backups
all "configure" commands need to be run once, you can see that rman has saved your configuration using "RMAN> show all"作者: eld 时间: 2006-12-26 09:58
1、CONFIGURE CONTROLFILE AUTOBACKUP ON 查看RMAN语句 是“CONFIGURE CONTROLFILE AUTOBACKUP ON;
对于没有恢复目录的备份策略来说,这个特性是特别有效的,控制文件的自动备份发生
在任何backup或者copy命令之后,或者任何数据库的结构改变之后。” 用于备份自动控制文件