ITPub博客

首页 > 数据库 > Oracle > rman配置默认的备份路径和磁盘类型

rman配置默认的备份路径和磁盘类型

原创 Oracle 作者:zhangsharp20 时间:2015-09-16 16:13:41 0 删除 编辑
Example 2–41 Configuring Device and Backup Options
This example configures channels of device type DISK and sbt and sets the default 
device type as sbt. The example also enables backup optimization and configures a 
recovery windows of two weeks.
CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '/disk1/backups/%U';
CONFIGURE CHANNEL DEVICE TYPE sbt PARMS 'ENV=(OB_DEVICE_1=tape1)';
CONFIGURE DEFAULT DEVICE TYPE TO sbt;
CONFIGURE BACKUP OPTIMIZATION ON;
CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 14 DAYS;



来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/29802484/viewspace-1801272/,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2014-08-12

  • 博文量
    382
  • 访问量
    631900