In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)05/31 Report--
This article mainly introduces "the usage of list command of rman". In daily operation, I believe that many people have doubts about the usage of list command of rman. The editor consulted all kinds of materials and sorted out simple and easy-to-use operation methods. I hope it will be helpful for you to answer the doubts about the usage of list command of rman! Next, please follow the editor to study!
List can enumerate backup sets, copy, archives and other information
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 an one-line summary of each backup.
For example:
List all archives
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
List all expired archives
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
At this point, the study on the usage of the list command of rman is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!
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.