這篇文章主要介紹“rman的list命令用法”,在日常操作中,相信很多人在rman的list命令用法問題上存在疑惑,小編查閱了各式資料,整理出簡單好用的操作方法,希望對大家解答”rman的list命令用法”的疑惑有所幫助!接下來,請跟著小編一起來學(xué)習(xí)吧!
讓客戶滿意是我們工作的目標(biāo),不斷超越客戶的期望值來自于我們對這個行業(yè)的熱愛。我們立志把好的技術(shù)通過有效、簡單的方式提供給客戶,將通過不懈努力成為客戶在信息化領(lǐng)域值得信任、有價值的長期合作伙伴,公司提供的服務(wù)項(xiàng)目有:國際域名空間、雅安服務(wù)器托管、營銷軟件、網(wǎng)站建設(shè)、周至網(wǎng)站維護(hù)、網(wǎng)站推廣。
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
到此,關(guān)于“rman的list命令用法”的學(xué)習(xí)就結(jié)束了,希望能夠解決大家的疑惑。理論與實(shí)踐的搭配能更好的幫助大家學(xué)習(xí),快去試試吧!若想繼續(xù)學(xué)習(xí)更多相關(guān)知識,請繼續(xù)關(guān)注創(chuàng)新互聯(lián)網(wǎng)站,小編會繼續(xù)努力為大家?guī)砀鄬?shí)用的文章!
網(wǎng)站標(biāo)題:rman的list命令用法
轉(zhuǎn)載來于:http://www.rwnh.cn/article32/jdjjpc.html
成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供云服務(wù)器、ChatGPT、定制網(wǎng)站、品牌網(wǎng)站設(shè)計(jì)、定制開發(fā)、App設(shè)計(jì)
聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請盡快告知,我們將會在第一時間刪除。文章觀點(diǎn)不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時需注明來源: 創(chuàng)新互聯(lián)