重庆思庄Oracle、Redhat认证学习论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 1395|回复: 0
打印 上一主题 下一主题

[参考文档] rman备份失败报错Rman-03002 And Ora-01455

[复制链接]
跳转到指定楼层
楼主
发表于 2023-4-28 15:29:22 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
现象:
Rman backups Failing with error:

RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of backup command at 04/27/2023 11:00:06
ORA-01455: converting column overflows integer datatype

原因:
- Operating system date has been  changed by mistake to future date.
- Rman backup was taken at that future  date and the operating system was brought back to Original date.

处理方法:
- Run the following query to find the backuppiece having completion date greater than sysdate

1. Catalog is being used Connect Connect to atalog database an run the following query:

SQL> alter session set nls_date_format='DD-MM-YYYY:HH:MI:SS';
SQL> select piece#,handle, bp_key, start_time, completion_time from rc_backup_piece where completion_time > sysdate;

2. catalog database is not used

Connect to target database and run the following query:
SQL> alter session set nls_date_format='DD-MM-YYYY:HH:MI:SS';
SQL> select piece#, handle, start_time, completion_time from v$backup_piece where completion_time > sysdate;

- The above queries will indicates the filename of the backup piece having issue


- We can explore two options to resolve the issue:



Option A
-----------

This option a is applicable to both cases if rman catalog is used or no rman catalog is used:

Rename all the backuppiece at OS level which are having backuppiece information with Completion date > sysdate

Once renamed

In Rman run the following

Rman > crosscheck backup

Rman> delete noprompt force expired backup



Option B
-----------

If catalog database is not used:

This option would be to recreate the controlfile after the Problematic backuppiece has been renamed.

Ensure you keep a Copy of the existing controlfile before recreating the controlfile.

Also do
Rman> Spool log to '/<path>/rman.log'
Rman> list backup ;

This would ensure you have the list of all the backuppiece (good and bad)

Once controlfile is recreated.

You can recatalog the good backuppiece using

Rman> Catalog startwith ''

分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 支持支持 反对反对
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|手机版|小黑屋|重庆思庄Oracle、Redhat认证学习论坛 ( 渝ICP备12004239号-4 )

GMT+8, 2024-11-25 16:03 , Processed in 0.120752 second(s), 21 queries .

重庆思庄学习中心论坛-重庆思庄科技有限公司论坛

© 2001-2020

快速回复 返回顶部 返回列表