欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  数据库

rman多通道全备份脚本

程序员文章站 2022-04-16 11:17:19
...

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 c

 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;
}