rman catalog 脚本.docx

  1. 1、本文档共13页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
rman catalog 脚本

RMAN catalog自动备份脚本的创建使用,如果你还不了解catalog如何创建可以参考RMAN catalog的创建和基本使用创建删除过期备份的全局脚本[oracle@catalog?~]$?rman?catalog?cataloguser/cataloguser?target?sys/oracle@zhong??Recovery?Manager:?Release?10.2.0.1.0?-?Production?on?Wed?Mar?28?08:53:27?2012????Copyright?(c)?1982,?2005,?Oracle.?All?rights?reserved.????connected?to?target?database:?ZHONG?(DBID=1447686871)??connected?to?recovery?catalog?database????RMAN?replace?global?script?global_del?comment?delete?obsolete?backup?{??2?allocate?channel?c1?device?type?disk;??3?delete?obsolete?recovery?window?of?15?days;??4?release?channel?c1;??5?}????replaced?global?script?global_del????RMAN??备份当前的控制文件RMAN?replace?global?script?global_bkctl?comment?backup?current?controlfile{??2?allocate?channel?c1?device?type?disk;??3?backup?as?compressed?backupset??4?format=/orabackup/backupctl.ctl?tag=bkctl??5?channel=c1??6?current?controlfile?reuse;??7?release?channel?c1;??8?}??replaced?global?script?global_bkctl????RMAN??备份归档日志,限制channel读取速度为10M,最大备份片4GRMAN?replace?global?script?global_arch?comment?backup?archivelog?as?delete?input{??2?allocate?channel?c1?device?type?disk;??3?sql?alter?system?archive?log?current;??4?set?limit?channel?c1?readrate=10240;??5?set?limit?channel?c1?kbytes=4096000;??6?backup?as?compressed?backupset??7?format=/orabackup/arch_%d_%U?tag=bkarch??8?channel=c1??9?archivelog?all?delete?input;??10?release?channel?c1;??11?}??replaced?global?script?global_arch????RMAN??0级增量备份RMAN?replace?global?script?global_inc0?comment?backup?database?as?incremental?level?0{??2?execute?global?script?global_del;??3?allocate?channel?c1?device?type?disk;??4?set?limit?channel?c1?readrate=10240;??5?set?limit?channel?c1?kbytes=4096000;??6?backup?as?compressed?backupset??7?incremental?level=0??8?format=/orabackup/inc0_%d_%U?tag=inc0??9?channel=c1??10?database;??11?release?channel?c1;??12?execute?global?script?global_arch;??13?execute?global?script?global_bkctl;??14?}??replaced?global?script?global_inc0????RMAN??1级增量备份RMAN?replace?global?script?global_in

文档评论(0)

yan698698 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档