In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-07 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
Database backup, as we all know, is normally backed up regularly every day, but few people do the verification of backup files. Once we need to use backup files, it is sad that backup files are indeed corrupted. It is necessary to do backup verification regularly once a month. RMAN > restore database validate Starting restore at 12-JAN-2018 21:49:31using channel ORA_DISK_1channel ORA_DISK_1: starting validation of datafile backup setchannel ORA_DISK_1: reading from backup piece / u01/bak/db_fullbk_19_1_965249636.rmnchannel ORA_DISK_1: piece handle=/u01/bak/db_fullbk_19_1_965249636.rmn tag=BACKUP_FULLchannel ORA_DISK_1: restored backup piece 1channel ORA_DISK_1: validation complete Elapsed time: 00:00:01channel ORA_DISK_1: starting validation of datafile backup setchannel ORA_DISK_1: reading from backup piece / u01/bak/db_fullbk_18_1_965249636.rmnchannel ORA_DISK_1: piece handle=/u01/bak/db_fullbk_18_1_965249636.rmn tag=BACKUP_FULLchannel ORA_DISK_1: restored backup piece 1channel ORA_DISK_1: validation complete Elapsed time: 00:00:35channel ORA_DISK_1: starting validation of datafile backup setchannel ORA_DISK_1: reading from backup piece / u01/bak/db_fullbk_17_1_965249636.rmnchannel ORA_DISK_1: piece handle=/u01/bak/db_fullbk_17_1_965249636.rmn tag=BACKUP_FULLchannel ORA_DISK_1: restored backup piece 1channel ORA_DISK_1: validation complete, elapsed time: 00:00:55Finished restore at 12-JAN-2018 21:51:02RMAN > RMAN > restore archivelog from time 'sysdate-1' validate Starting restore at 12-JAN-2018 21:59:39using channel ORA_DISK_1channel ORA_DISK_1: starting validation of archived log backup setchannel ORA_DISK_1: reading from backup piece / u01/bak/archive_24_1_965249706.arcchannel ORA_DISK_1: piece handle=/u01/bak/archive_24_1_965249706.arc tag=TAG20180112T205505channel ORA_DISK_1: restored backup piece 1channel ORA_DISK_1: validation complete Elapsed time: 00:00:01channel ORA_DISK_1: starting validation of archived log backup setchannel ORA_DISK_1: reading from backup piece / u01/bak/archive_22_1_965249706.arcchannel ORA_DISK_1: piece handle=/u01/bak/archive_22_1_965249706.arc tag=TAG20180112T205505channel ORA_DISK_1: restored backup piece 1channel ORA_DISK_1: validation complete Elapsed time: 00:00:03channel ORA_DISK_1: starting validation of archived log backup setchannel ORA_DISK_1: reading from backup piece / u01/bak/archive_23_1_965249706.arcchannel ORA_DISK_1: piece handle=/u01/bak/archive_23_1_965249706.arc tag=TAG20180112T205505channel ORA_DISK_1: restored backup piece 1channel ORA_DISK_1: validation complete Elapsed time: 00:00:03channel ORA_DISK_1: starting validation of archived log backup setchannel ORA_DISK_1: reading from backup piece / u01/bak/archive_21_1_965249706.arcchannel ORA_DISK_1: piece handle=/u01/bak/archive_21_1_965249706.arc tag=TAG20180112T205505channel ORA_DISK_1: restored backup piece 1channel ORA_DISK_1: validation complete Elapsed time: 00:00:03channel ORA_DISK_1: starting validation of archived log backup setchannel ORA_DISK_1: reading from backup piece / u01/bak/archive_25_1_965249717.arcchannel ORA_DISK_1: piece handle=/u01/bak/archive_25_1_965249717.arc tag=TAG20180112T205505channel ORA_DISK_1: restored backup piece 1channel ORA_DISK_1: validation complete Elapsed time: 00:00:01channel ORA_DISK_1: starting validation of archived log backup setchannel ORA_DISK_1: reading from backup piece / u01/bak/archive_35_1_965253442.arcchannel ORA_DISK_1: piece handle=/u01/bak/archive_35_1_965253442.arc tag=TAG20180112T215722channel ORA_DISK_1: restored backup piece 1channel ORA_DISK_1: validation complete Elapsed time: 00:00:00channel ORA_DISK_1: starting validation of archived log backup setchannel ORA_DISK_1: reading from backup piece / u01/bak/archive_34_1_965253442.arcchannel ORA_DISK_1: piece handle=/u01/bak/archive_34_1_965253442.arc tag=TAG20180112T215722channel ORA_DISK_1: restored backup piece 1channel ORA_DISK_1: validation complete, elapsed time: 00:00:00Finished restore at 12-JAN-2018 21:59:50RMAN > restore controlfile validate Starting restore at 12-JAN-2018 21:54:47using channel ORA_DISK_1channel ORA_DISK_1: starting validation of datafile backup setchannel ORA_DISK_1: reading from backup piece + DATADG/ORCL/AUTOBACKUP/2018_01_12/s_965249725.381.965249727channel ORA_DISK_1: piece handle=+DATADG/ORCL/AUTOBACKUP/2018_01_12/s_965249725.381.965249727 tag=TAG20180112T205525channel ORA_DISK_1: restored backup piece 1channel ORA_DISK_1: validation complete, elapsed time: 00:00:01Finished restore at 12-JAN-2018 21:54:48RMAN > restore spfile validate Starting restore at 12-JAN-2018 21:54:57using channel ORA_DISK_1channel ORA_DISK_1: starting validation of datafile backup setchannel ORA_DISK_1: reading from backup piece + DATADG/ORCL/AUTOBACKUP/2018_01_12/s_965249725.381.965249727channel ORA_DISK_1: piece handle=+DATADG/ORCL/AUTOBACKUP/2018_01_12/s_965249725.381.965249727 tag=TAG20180112T205525channel ORA_DISK_1: restored backup piece 1channel ORA_DISK_1: validation complete, elapsed time: 00:00:01Finished restore at 12-JAN-2018 21:54:58RMAN >
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.