#set porfile_env
export ORACLE_SID=smstdb
# rman level0 backup
rman log='/oradb/ora_bak/rmanbak/db_rman.log' append <connect target /;
run
{
allocate channel 'dev1' type disk;
allocate channel 'dev2' type disk;
allocate channel 'dev3' type disk;
backup incremental level=0 database format '/oradb/ora_bak/rmanbak/dbback/back_level0_%u_%p_%c' tag='level0' FILESPERSET 11;
sql 'alter system archive log current';
backup format '/oradb/ora_bak/rmanbak/archback/back_level0_%u_%p_%c' archivelog from sequence=1782;
release channel dev1;
release channel dev2;
release channel dev3;
}
EOF
阅读(352) | 评论(0) | 转发(0) |