zoukankan      html  css  js  c++  java
  • oracle11g rman验证备份有效性

    RMAN> restore validate controlfile;

    Starting restore at 21-NOV-13
    using target database control file instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=71 device type=DISK

    channel ORA_DISK_1: starting validation of datafile backup set
    channel ORA_DISK_1: reading from backup piece /u01/archivelog/YOON/autobackup/2013_11_13/o1_mf_s_831423038_988l4gmq_.bkp
    channel ORA_DISK_1: piece handle=/u01/archivelog/YOON/autobackup/2013_11_13/o1_mf_s_831423038_988l4gmq_.bkp tag=TAG20131113T225038
    channel ORA_DISK_1: restored backup piece 1
    channel ORA_DISK_1: validation complete, elapsed time: 00:00:01
    Finished restore at 21-NOV-13

    RMAN> restore validate spfile;

    Starting restore at 21-NOV-13
    using channel ORA_DISK_1

    channel ORA_DISK_1: starting validation of datafile backup set
    channel ORA_DISK_1: reading from backup piece /u01/archivelog/YOON/autobackup/2013_11_13/o1_mf_s_831423038_988l4gmq_.bkp
    channel ORA_DISK_1: piece handle=/u01/archivelog/YOON/autobackup/2013_11_13/o1_mf_s_831423038_988l4gmq_.bkp tag=TAG20131113T225038
    channel ORA_DISK_1: restored backup piece 1
    channel ORA_DISK_1: validation complete, elapsed time: 00:00:01
    Finished restore at 21-NOV-13

    RMAN> restore validate database;

    Starting restore at 21-NOV-13
    using channel ORA_DISK_1

    datafile 5 will be created automatically during restore operation
    datafile 7 will be created automatically during restore operation
    channel ORA_DISK_1: starting validation of datafile backup set
    channel ORA_DISK_1: reading from backup piece /u01/oracle/fast_recovery_area/YOON/backupset/2013_09_08/o1_mf_nnndf_TAG20130908T223042_92tdpm3t_.bkp
    channel ORA_DISK_1: piece handle=/u01/oracle/fast_recovery_area/YOON/backupset/2013_09_08/o1_mf_nnndf_TAG20130908T223042_92tdpm3t_.bkp tag=TAG20130908T223042
    channel ORA_DISK_1: restored backup piece 1
    channel ORA_DISK_1: validation complete, elapsed time: 00:00:15
    failover to previous backup

    datafile 5 will be created automatically during restore operation
    datafile 7 will be created automatically during restore operation
    Finished restore at 21-NOV-13

  • 相关阅读:
    HDU4685 Prince and Princess 完美搭配+良好的沟通
    坚持 本身是一种策略
    PowerDesigner中SQL文件、数据库表反向生成PDM
    Filter技术+职责链模式
    [ACM] poj 1258 Agri-Net (最小生成树)
    android 屏幕适配 课程笔记
    HDU 5071 Chat
    【玩转微信公众平台之中的一个】序章(纯粹扯淡)
    HTML表格标签的使用-<table>
    hdu 1251 统计难题 (map水过)
  • 原文地址:https://www.cnblogs.com/hankyoon/p/5174553.html
Copyright © 2011-2022 走看看