首页 > 代码库 > rman多通道全备份脚本

rman多通道全备份脚本


run{
allocate channel d1 type disk;
allocate channel d2 type disk;
allocate channel d3 type disk;
allocate channel d4 type disk;
allocate channel d5 type disk;
allocate channel d6 type disk;
backup AS COMPRESSED BACKUPSET database include current controlfile format=‘/orabak/full_%U.dbf‘;
backup format=‘/orabak/arch_%U.arc‘ archivelog all delete input;
release channel d1;
release channel d2;
release channel d3;
release channel d4;
release channel d5;
release channel d6;
}