Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

ORACLE NBU fetches oracle rman script backup archive does not delete archive automatically

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

Recently, there is a problem that ORACLE 11G RAC FOR LINUX calls the rman backup script through NBU. The problem is that it is clearly written in the backup script.

Delete the archive when there is a backup, but the archive is not deleted automatically, resulting in frequent loss of archive space and database tamping.

The command for RMAN backup to delete an archive is as follows:

According to colleagues who manage database backups, NBU backs up normally without reporting errors; it looks like the statement to delete the archive in rman.sh is not executed. In order to force backup

Delete the archive after archiving, and modify the above statement to: backup filesperset 20 format 'al_%s_%p_%t' archivelog delete all input; and then view

Check the effect of NBU calling this script to back up and delete archives. In the last week, it was found that archives can be cleared:

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report