- 最后登录
- 2017-5-4
- 在线时间
- 81 小时
- 威望
- 999
- 金钱
- 2391
- 注册时间
- 2013-9-11
- 阅读权限
- 150
- 帖子
- 1124
- 精华
- 5
- 积分
- 999
- UID
- 1220
|
1#
发表于 2017-4-15 21:48:09
|
查看: 1376 |
回复: 0
数据库每周1,2,3,4,5备份,现在要恢复到周一的数据,
先恢复到上周五的数据 restore database from tag TAG20121026T194714;
结果正常。
然后recover database until "to_date('2012-10-29 17:30:00','yyyy-mm-dd hh24:mi:ss')";
报starting media recovery
media recovery failed
RMAN-03002 failure of recover command
RMAN-11003 failure during parse /execution of sql statemenet:alter database recover if needed start until time 'OCT 29 2012 17:30:00'
ORA-01841full) year must be between -4713 and +9999,and not be 0
另数据库有data guard.不知道对数据恢复有没有帮助?
报rman-03002:failure of set command
ora-01861;literal does not match format sring
好了,设置NLS_LANG=american_america.zhs16gbk. 就可运行了。谢谢各位 |
|