rman target / << EOF
run {
allocate channel c1 type disk;
backup incremental level 0 tag 'db0' format '/oradata/oradb/%d_%T_%s'.bak database include current controlfile;
delete noprompt obsolete ;
release channel c1 ;
sql 'alter system switch logfile;'
}
EOF
阅读(1045) | 评论(0) | 转发(0) |