rman 增量备份

发布时间:2020-06-18 19:04:05 作者:Jan1990
来源:网络 阅读:315
lag DG查看当前数据文件头最小的scn号:
select min(to_char(CHECKPOINT_CHANGE#)) from v$datafile_header ff;

增备脚本:
rman target / << EOF
run
{
allocate channel c1 type disk;
allocate channel c2 type disk;
allocate channel c3 type disk;
allocate channel c4 type disk;
allocate channel c5 type disk;
allocate channel c6 type disk;
allocate channel c7 type disk;
allocate channel c8 type disk;
allocate channel c9 type disk;
allocate channel c10 type disk;
allocate channel c11 type disk;
allocate channel c12 type disk;
allocate channel c13 type disk;
allocate channel c14 type disk;
allocate channel c15 type disk;
allocate channel c16 type disk;
BACKUP as compressed backupset INCREMENTAL FROM SCN 15844047884184 DATABASE FORMAT '/paic/tmp/nasshare/gmpor/hdq404/incr/standby__%d_%s_%p_%t' tag 'FORSTANDBY' ;
backup current controlfile for standby format '/paic/tmp/nasshare/gmpor/hdq404/incr/stdctl.ctl'; 
release channel c1;
release channel c2;
release channel c3;
release channel c4;
release channel c5;
release channel c6;
release channel c7;
release channel c8;
release channel c9;
release channel c10;
release channel c11;
release channel c12;
release channel c13;
release channel c14;
release channel c15;
release channel c16;
}
EOF
推荐阅读:
  1. Oracle Rman
  2. Rman备份等级及备份脚本

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

oracle scn rman

上一篇:.Net中的调试

下一篇:python nagios plugins

相关阅读

您好,登录后才能下订单哦!

密码登录
登录注册
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》