In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
Today, a buddy wants to do an important operation on the database. He has to do a full rman backup before the operation, but due to carelessness, he wrote the backup path incorrectly, resulting in an error report of rman backup as shown in the following figure:
The rman backup program is prompted by the error to write the backup file to: / Oracle/app/oracle/product/11.2.0/dbhome_1/dbs/Oracle/backup/rman/full_0tsmout.bak "
But an error was reported because / Oracle/app/oracle/product/11.2.0/dbhome_1/dbs/Oracle/backup/rman does not exist: ORA-19504&ORA-27040&RMAN-03009
Judging from his backup script:
Run {
Backup increnmental level 0 database format 'Oracle/backup/rman/full_%u.bak'
Sql 'alter system archive log current'
Backup archivelog all format'/ Oracle/backup/rman/arch_%U.log'
Delete noprompt archivelog until time'{sysdate-1}'
}
It is found that the path written by the script path is missing the opening /, which can be found from RMAN > show all:
The database rman backup program placed the backup under $ORACLE_HOME/Oracle/backup/rman/, and the path did not exist and reported an error.
The solution is simple: change the backup script to:
Run {
Backup increnmental level 0 database format'/ Oracle/backup/rman/full_%u.bak'
Sql 'alter system archive log current'
Backup archivelog all format'/ Oracle/backup/rman/arch_%U.log'
Delete noprompt archivelog until time'{sysdate-1}'
}
Then the backup can proceed smoothly.
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.