【ORACLE 备份】rman多通道全备份脚本

本文提供了一个Oracle数据库备份的脚本示例,通过分配多个通道进行磁盘分配,并使用压缩备份集来备份当前控制文件,同时备份所有归档日志并删除输入。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >


************************************************************************
****原文:blog.youkuaiyun.com/clark_xu  徐长亮的专栏
************************************************************************
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;
}
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值