千家信息网

rman的list命令用法

发表于:2025-11-07 作者:千家信息网编辑
千家信息网最后更新 2025年11月07日,这篇文章主要介绍"rman的list命令用法",在日常操作中,相信很多人在rman的list命令用法问题上存在疑惑,小编查阅了各式资料,整理出简单好用的操作方法,希望对大家解答"rman的list命令
千家信息网最后更新 2025年11月07日rman的list命令用法

这篇文章主要介绍"rman的list命令用法",在日常操作中,相信很多人在rman的list命令用法问题上存在疑惑,小编查阅了各式资料,整理出简单好用的操作方法,希望对大家解答"rman的list命令用法"的疑惑有所帮助!接下来,请跟着小编一起来学习吧!

list可以列举备份集,copy,归档等信息

Contents of List

Command

Description

Backup sets and proxy copies

LIST BACKUP

You can list all backup sets, copies, and proxy copies of a database, tablespace, data file, archived redo log, control file, or server parameter file.

Image copies

LIST COPY

You can list data file copies and archived redo log files. By default, LIST COPY displays copies of all database files and archived redo logs. Both usable and unusable image copies are included in the output, even those that cannot be restored or are expired or unavailable.

Archived redo log files

LIST ARCHIVELOG

You can list archive redo log files. You can list all archive log redo log files or specify individual archive log files through SCN, time, or sequence number ranges. If you specify a range you can further restrict the list returned by specifying an incarnation number.

Database incarnations

LIST INCARNATION

You can list all incarnations of a database. A new database incarnation is created when you open with the RESETLOGS option.

Databases in a Data Guard environment

LIST DB_UNIQUE_NAME

A database in a Data Guard environment is distinguished by its DB_UNIQUE_NAME initialization parameter setting. You can list all databases that have the same DBID.

Backups and copies for a primary or dgdb database in a Data Guard environment

LIST ... FOR DB_UNIQUE_NAME

You can list all backups and copies for a specified database in a Data Guard environment or for all databases in the environment.

RMAN restricts the output to files or objects associated exclusively with the database with the specified DB_UNIQUE_NAME. For example, you can use LIST with FOR DB_UNIQUE_NAME to display the list of archived redo log files associated with a particular dgdb or primary database. Objects that are not owned by any database (SITE_KEY column in the recovery catalog view is null) are not listed.

Restore points

LIST RESTORE POINT

You can list restore points known to the RMAN repository.

Names of stored scripts

LIST SCRIPT NAMES

You can list the names of recovery catalog scripts created with the CREATE SCRIPT or REPLACE SCRIPT command. A recovery catalog is required.

Failures for use with Data Recovery Advisor

LIST FAILURE

A failure is a persistent data corruption mapped to a repair option. Chapter 15, "Diagnosing and Repairing Failures with Data Recovery Advisor" explains how to use LIST FAILURE with the ADVISE and REPAIR commands.

LIST Option

Description

LIST EXPIRED

Lists backups or copies that are recorded in the RMAN repository but that were not present at the expected location on disk or tape during the most recent crosscheck. Such backups may have been deleted outside of RMAN.

LIST ... BY FILE

Lists backups of each data file, archived redo log file, control file, and server parameter file. Each row describes a backup of a file.

LIST ... SUMMARY

Provides a one-line summary of each backup.

例如:

列举所有归档

RMAN> list archivelog all;

List of Archived Log Copies for database with db_unique_name TEST

=====================================================================

Key Thrd Seq S Low Time

------- ---- ------- - -------------------

5 1 62 X 2017-07-23 22:09:22

Name: /home/oracle/1_62_947085344.dbf

6 1 63 X 2017-07-25 14:19:26

Name: /home/oracle/1_63_947085344.dbf

列举所有过期归档

RMAN> list expired archivelog all;

List of Archived Log Copies for database with db_unique_name TEST

=====================================================================

Key Thrd Seq S Low Time

------- ---- ------- - -------------------

5 1 62 X 2017-07-23 22:09:22

Name: /home/oracle/1_62_947085344.dbf

6 1 63 X 2017-07-25 14:19:26

到此,关于"rman的list命令用法"的学习就结束了,希望能够解决大家的疑惑。理论与实践的搭配能更好的帮助大家学习,快去试试吧!若想继续学习更多相关知识,请继续关注网站,小编会继续努力为大家带来更多实用的文章!

命令 学习 更多 帮助 实用 接下来 信息 备份 文章 方法 理论 知识 篇文章 网站 资料 跟着 问题 好用 实践 解答 数据库的安全要保护哪些东西 数据库安全各自的含义是什么 生产安全数据库录入 数据库的安全性及管理 数据库安全策略包含哪些 海淀数据库安全审计系统 建立农村房屋安全信息数据库 易用的数据库客户端支持安全管理 连接数据库失败ssl安全错误 数据库的锁怎样保障安全 oracle数据库加固安全 温州应用软件开发定做价格 钉钉打卡机无法连接到服务器 专科患者数据库 地税网络安全培训内容 新型网络安全检测 网络技术在教育中应用比率 网络技术四级考试 郑州哪里学计算机网络技术 教育管理系统数据库设计意义 支持网络安全技术的研究 软件开发技术服务免税 网络安全人才靠什么靠谱 网络安全对国际贸易影响摘要 网络安全走进校园班会 2021国家网络安全周开幕式 网络技术渗透 我的世界小神的服务器 扫码支付管理软件开发 中职网络技术技能测试 互联网的基本科技基础是什么 钉钉打卡机无法连接到服务器 魔兽世界游戏服务器显示不兼容 韶关数字软件开发厂家直销 上海潮流软件开发价格标准 网络安全教育 总结报告 电脑时间校准服务器 如何制定软件开发项目策划方案 java软件开发难不难学 网络安全立法指导思想是什么
0