温馨提示×

温馨提示×

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

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

使用RMAN还原数据库到某个时间点

发布时间:2020-08-10 21:01:28 来源:ITPUB博客 阅读:160 作者:onelie 栏目:关系型数据库
在数据库备份完全可用给的情况下,可以通过如下方式还原数据库到某个时间点

关闭数据库
并启动到mount


开始恢复数据库

RMAN> sql "alter session set nls_date_format=''yyyy-mm-dd hh34:mi:ss''";

using target database control file instead of recovery catalog
sql statement: alter session set nls_date_format=''yyyy-mm-dd hh34:mi:ss''

RMAN> restore database until time '2015-05-14 14:00:00';

RMAN> recover database until time '2015-05-14 14:00:00';

RMAN> sql 'alter database open resetlogs';


向AI问一下细节

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

AI