





















方式一:
rman>sql "alter session set nls_date_format=''yyyy-mm-dd hh24:mi:ss''";
RMAN> restore database;
RMAN> recover database until time '2017-07-03 15:55:38';
方式二:
rman> restore database until time "to_date('07/03/17 15:55:38','mm/dd/yy hh24:mi:ss')";
rman>restore database until time "to_date('07/03/17 15:55:38','mm/dd/yy hh24:mi:ss')";
可能和默认时间格式有关,方式二只能是这种格式,不能是类似"to_date('2014-07-08 15:43:13','yyyy-mm-dd hh24:mi:ss')"的形式
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。