RMAN备份
来源:网络 责任编辑:栏目编辑 发表时间:2013-07-01 20:28 点击:次
run{
allocate channel c1 type disk;
allocate channel c2 type disk;
sql 'alter system archive log current';
backup database format '/oracle/db1/rman/full_db_%U_%T';
sql 'alter system archive log current';
backup archivelog all delete all input format '/oracle/db1/rman/ARC_%U_%T';
backup current controlfile format '/oracle/db1/rman/control_bak_%T';
backup spfile format '/oracle/db1/rman/spfile_bak_%T';
release channel c1;
release channel c2;
}
作者“BlueTrace”
相关新闻>>
最新推荐更多>>>
- 发表评论
-
- 最新评论 更多>>