run
{
allocate channel d1 type disk;
backup database format='/u01/backup/%T_%d_%s.bak';
sql 'alter system archive log current';
backup archivelog all format='/u01/backup/%T_%d_%s.log';
backup current controlfile format='/u01/backup/%T_%d_%s.ctl';
release channel d1;
}
sql 'alter system archive log current'; 此命令为归档日志