RUN {
allocate channel c1 type disk;
allocate channel c2 type disk;
allocate channel c3 type disk;
allocate channel c4 type disk;
BACKUP FORMAT '/zk_backup/orcl_%U_%T' skip inaccessible filesperset 10 DATABASE TAG orcl_hot_db_bk;
sql 'alter system archive log current';
BACKUP FORMAT '/zk_backup/arch_%U_%T' skip inaccessible filesperset 10 ARCHIVELOG ALL;
backup current controlfile tag='bak_ctlfile' format='/zk_backup/ctl_file_%U_%T';
backup spfile tag='spfile' format='/zk_backup/ORCL_spfile_%U_%T';
release channel c1;
release channel c2;
release channel c3;
release channel c4;
}
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/196700/viewspace-1265932/
,如需转载,请注明出处,否则将追究法律责任。