zoukankan      html  css  js  c++  java
  • 053337

    You have lost all your RMAN backup set pieces due to a disk failure. Unfortunately, you have an
    automated cross-check script that also does a delete expired backupset command. You have restored all the backup set pieces from tape. What command would you use to get those backup set pieces registered in the recovery catalog and the control file of the database again?
    A. register database
    B. recover catalog
    C. load backupset
    D. synch metadata
    E. catalog start with

      The catalog command is used to load backup set pieces that do not already exist into the recovery catalog or the control file.

    START WITH 选项
    使用 START WITH 选项可将在指定目录树中找到的所有文件列入目录。提供表示目录的前
    缀以及用于查找的可能的文件前缀。不能使用通配符,仅提供一个前缀。
    指定目录和子目录中找到的所有类型的备份文件都被列入目录。假定在/tmp/arch_logs 目录
    中有多个备份文件。下列命令将所有文件列入目录:
    RMAN> CATALOG START WITH '/tmp/arch_logs/';
    假定你只希望将/tmp 目录中文件名以字符串 bset 开头的文件列入目录。下列命令可实现此
    目的:
    RMAN> CATALOG START WITH '/tmp/bset';
    此命令还可将在以/tmp/bset 开头的目录树中找到的所有备份文件列入目录。
    CATALOG 命令可以在不连接到恢复目录的情况下使用

  • 相关阅读:
    MySQL-存储过程
    MySQL-触发器
    MySQL自学笔记
    arrayList和LinkedList区别
    RecyclerView和ListView比较
    【二叉树遍历】必知方式
    进程与线程的区别
    【单例模式】java实现
    【斐波那契数列】java探究
    replugin插件化,插件转场动画失效的问题解决
  • 原文地址:https://www.cnblogs.com/Babylon/p/7815463.html
Copyright © 2011-2022 走看看