Oracle9i Recovery Manager Reference Release 2 (9.2) Part Number A96565-01 |
|
RMAN Commands , 32 of 59
listObjectSpec::=
listBackupOption::=
To display information about backup sets, proxy copies, and image copies recorded in the repository. The LIST
command displays the files against which you can run CROSSCHECK
and DELETE
commands. Use this command to list:
AVAILABLE
in the RMAN repositoryRMAN records the output to either standard output or the message log, but not to both at the same time. You can control how the output is organized (BY
BACKUP
or BY
FILE
) as well as the level of detail in the output (VERBOSE
or SUMMARY
).
See Also:
Oracle9i Recovery Manager User's Guide to learn how to make lists and reports, and "cmdLine" |
LIST
only at the RMAN prompt.NOCATALOG
mode, then the database must be mounted. If RMAN is connected to a recovery catalog, then the target instance must be started but the target database does not need to be mounted.Syntax Element | Description |
---|---|
|
Displays information about the incarnations of a database. Whenever you open a database with the The See Also: Table 2-18 for an explanation of the column headings of the |
Specifies the name of the database. If you do not specify the |
|
|
Displays backup sets, proxy copies, and image copies marked in the repository as To ensure that |
|
Specifies the type of object or objects that you are listing. See Also: "recordSpec" |
Displays information about backups: backup sets, backup pieces, and proxy copies. The output displays a unique key for each. The Unless you specify the See Also: "LIST Output" for an explanation of the column headings of the |
|
Displays information about datafile copies, archived redo logs, and image copies of archived redo logs. By default, See Also: Table 2-15 and Table 2-17 for an explanation of the column headings of the |
|
|
Restricts the list of objects operated on to the object type specified in the Note: The See Also: "listObjList" |
Displays information about a range of archived redo logs. |
|
|
Specifies the type of object or objects that you are listing. See Also: "recordSpec" |
Lists backup sets, then the contents of each backup set (pieces and files), and then proxy copies. This is the default option for If you specify the |
|
Gives detailed description of contents of each backup set (default). |
|
Gives a one-line summary for each datafile (when using |
|
Lists a datafile, then its backup sets (including recovery action info), and then proxy copies. |
|
Restricts the range of the listing. Refer to "maintQualifier". |
|
|
Specifies datafile backups or copies whose status in the repository is
|
Specifies an end time, SCN, or log sequence number. See "untilClause". |
|
Specifies the object or objects that you are listing. Refer to "recordSpec". |
The information that appears in the output is shown in the following tables:
Column | Indicates |
---|---|
|
A unique identifier for this backup piece in the recovery catalog or target database control file. If you are connected to a recovery catalog, then Note: The values for |
|
The backup piece status: |
|
The tag applied to the backup set; |
|
The filename or handle of the backup piece. |
|
A control file is included in the backup. Note: This row appears only if the current control file is included in the backup. |
|
A server parameter file is included in the backup. |
|
The SCN of the backup control file checkpoint. All database changes recorded in the redo records before the specified SCN are reflected in this control file. Note: This row appears only if the current control file is included in the backup. |
|
The time of the backup control file checkpoint. All database changes recorded in the redo records before the specified time are reflected in this control file. Note: This row appears only if the current control file is included in the backup. |
Column | Indicates |
---|---|
|
The number of the file that was backed up. |
|
The level of the backup: |
|
The type of backup: |
|
The checkpoint of the datafile at the time it was backed up. All database changes prior to the SCN have been written to the file; changes after the specified SCN have not been written to the file. |
|
The checkpoint of the datafile at the time it was backed up. All database changes prior to the time have been written to the file; changes after the specified time have not been written to the file. |
|
The location where this file would be restored now if it were restored from this backup set and no See Also: "SET" |
Column | Indicates |
---|---|
|
A unique identifier for this backup piece in the recovery catalog or target database control file. If you are connected to a recovery catalog, then Note: The values for |
|
The number of the backup piece in the backup set. |
|
The backup piece status: |
|
The filename or handle of the backup piece. |
Column | Indicates |
---|---|
|
A unique key identifying this proxy copy. If you are connected to a catalog, then |
|
The absolute datafile number of the file that was copied. |
|
The proxy copy status: |
|
The date and time that the backup set completed. Note that the format of this field depends on the |
|
The SCN of the proxy copy control file checkpoint. All database changes recorded in the redo records before the specified SCN are reflected in this control file. |
|
The time of the proxy copy control file checkpoint. All database changes recorded in the redo records before the specified time are reflected in this control file. |
|
The location where this file would be restored now if it were restored from this backup set and no See Also: "SET" |
|
The media manager's handle for the proxy copy. |
|
The tag applied to the proxy copy; |
Column | Indicates |
---|---|
|
A unique key identifying this backup set. If you are connected to a recovery catalog, then |
|
The type of backup: backup set ( |
|
The level of the backup: |
|
The status of the backup: |
|
The type of device on which the backup was made, for example, |
|
The date and time that the backup set completed. Note that the format of this field depends on the |
|
The number of backup pieces in the backup set. |
|
The number of copies made of each backup piece in the set. The number is |
|
The tag applied to the backup set; |
Column | Indicates |
---|---|
|
A unique identifier for this backup piece in the recovery catalog or target database control file. If you are connected to a catalog, then Note: The values for |
|
A unique key identifying this backup set. If you are connected to a recovery catalog, then |
|
The number of the backup piece in the backup set. |
|
The copy number of this backup piece in the backup set. The number is |
|
The backup piece status: |
|
The type of device on which the backup was made, for example, |
|
The filename or handle of the backup piece. |
Column | Indicates |
---|---|
|
The absolute datafile number. |
|
A unique key identifying this backup set. If you are connected to a recovery catalog, then |
|
The type of backup: backup set ( |
|
The backup level: |
|
The status of the backup: |
|
The checkpoint of the datafile at the time it was backed up. All database changes prior to the SCN have been written to the file; changes after the specified SCN have not been written to the file. |
|
The checkpoint of the datafile at the time it was backed up. All database changes prior to the time have been written to the file; changes after the specified time have not been written to the file. |
|
The number of backup pieces in the backup set. |
|
The number of copies made of each backup piece in the set. The number is |
|
The tag applied to the backup set; |
Column | Indicates |
---|---|
|
The thread number of the redo log. |
|
The log sequence number of the archived log. |
|
The lowest SCN in the archived log. |
|
The time when Oracle switched into the redo log having this sequence number. |
|
A unique key identifying this backup set. If you are connected to a recovery catalog, then |
|
The status of the backup: |
|
The number of backup pieces in the backup set. |
|
The number of copies made of each backup piece in the set. The number is |
|
The tag applied to the backup set; |
Column | Indicates |
---|---|
|
Checkpoint SCN of the control file. |
|
The log sequence number of the archived log. |
|
A unique key identifying this backup set. If you are connected to a recovery catalog, then |
|
The status of the backup: |
|
The number of backup pieces in the backup set. |
|
The number of copies made of each backup piece in the set. The number is |
|
The tag applied to the backup set; |
Column | Indicates |
---|---|
|
The unique identifier for the datafile copy. Use this value in a If you are connected to a recovery catalog, then Note: The values for |
|
The file number of the datafile from which this copy was made. |
|
The status of the copy: |
|
The date and time that the copy completed. Note that the value of this field is sensitive to the |
|
The checkpoint of this datafile when it was copied. All database changes prior to this SCN have been written to this datafile. |
|
The checkpoint of this datafile when it was copied. All database changes prior to this time have been written to this datafile. |
|
The filename of the datafile copy. |
Column | Indicates |
---|---|
|
The unique identifier for the control file copy. Use this value in a If you are connected to a recovery catalog, then Note: The values for |
|
The status of the copy: |
|
The date and time that the copy completed. Note that the value of this field is sensitive to the |
|
The checkpoint of this control file when it was copied. |
|
The checkpoint of this control file when it was copied. |
|
The filename of the control file copy. |
Column | Indicates |
---|---|
|
The unique identifier for this archived redo log copy. Use this value in a If you are connected to a recovery catalog, then Note: The values for |
|
The redo log thread number. |
|
The log sequence number. |
|
The status of the copy: |
|
The time when Oracle switched into the redo log having this sequence number. |
|
The filename of the archived redo log copy. |
Column | Indicates |
---|---|
|
When combined with the |
|
When combined with |
|
The database name as listed in the |
|
The database identification number, which Oracle generates automatically at database creation. |
|
Whether the incarnation is the current incarnation of the database. |
|
The SCN at which the incarnation was created. |
|
the time at which the incarnation was created. |
This example lists all backups in default verbose mode:
LIST BACKUP; List of Backup Sets =================== BS Key Device Type Elapse Time Completion Time ------- ----------- ----------- --------------- 236 DISK 00:00:08 21-SEP-00 BP Key: 237 Status: AVAILABLE Tag: TAG20011121T053733 Piece Name: /oracle/oradata/09c5unih_1_1 List of Archived Logs in backup set 236 Thrd Seq Low SCN Low Time Next SCN Next Time ---- ------- ---------- --------- ---------- --------- 1 141 49173 21-SEP-01 49784 21-SEP-01 1 142 49784 21-SEP-01 50331 21-SEP-01 BS Key Type LV Size Device Type Elapse Time Completion Time ------- ---- -- ---------- ----------- ----------- --------------- 244 Full 61M DISK 00:00:18 21-SEP-01 BP Key: 245 Status: AVAILABLE Tag: TAG20011121T053816 Piece Name: /oracle/oradata/0ac5unj5_1_1 Controlfile Included: Ckp SCN: 51554 Ckp time: 21-SEP-01 SPFILE Included: Modification time: 21-SEP-01 List of Datafiles in backup set 244 File LV Type Ckp SCN Ckp Time Name ---- -- ---- ---------- --------- ---- 1 Full 51555 21-SEP-01 /oracle/oradata/trgt/system01.dbf 2 Full 51555 21-SEP-01 /oracle/oradata/trgt/undotbs_01.dbf List of Proxy Copies ==================== PC Key File Status Completion time Ckp SCN Ckp time ------- ---- ----------- ------------------- ---------- ------------------- 552 1 AVAILABLE 10/07/2001 03:05:21 78022 10/07/2001 03:05:10 Datafile name: /oracle/oradata/trgt/system01.dbf Handle: 0jb8l876_1_0 561 1 AVAILABLE 10/07/2001 03:38:22 78025 10/07/2001 03:38:09 Datafile name: /oracle/oradata/trgt/system01.dbf Handle: 0lb8la51_1_0 Tag: WKLYBKUP
The following example lists a summarized version of all RMAN backups:
LIST BACKUP SUMMARY; List of Backups =============== Key TY LV S Device Type Completion Time #Pieces #Copies Tag ------- -- -- - ----------- -------------------- ------- ------- --- 35 B A A SBT_TAPE FEB 08 2002 05:37:37 1 1 TAG20020208T053733 42 B F A SBT_TAPE FEB 08 2002 05:38:21 1 1 TAG20020208T053744
This example groups all backups by file:
LIST BACKUP BY FILE; List of Datafile Backups ======================== File Key TY LV S Ckp SCN Ckp Time #Pieces #Copies Tag ---- ------- - -- - ---------- ----------------- ------- ------- --- 1 502 B 0 A 37973 09/28/01 19:28:36 1 3 * 552 P F X 78022 10/07/01 03:05:10 1 1 DF_1 561 P 0 U 78025 10/07/01 03:38:09 2 1 DF_1 2 502 B 0 A 37973 09/28/01 19:28:36 1 2 * 562 P 0 U 78027 10/07/01 03:38:22 1 1 DF_2 List of Archived Log Backups ============================ Thrd Seq Low SCN Low Time BS Key S #Pieces #Copies Tag ---- ------- ---------- --------- ------- - ------- ------- --- 1 141 49463 14-SEP-01 213 A 1 1 TAG20011114T125431 List of Controlfile Backups =========================== CF Ckp SCN Ckp Time BS Key S #Pieces #Copies Tag ---------- --------- ------- - ------- ------- --- 51593 14-SEP-01 222 A 1 1 List of SPFILE Backups ====================== Modification Time BS Key S #Pieces #Copies Tag -------------------- ------- - ------- ------- --- OCT 08 2001 05:38:55 251 A 1 1
The following example lists archived logs and copies of logs:
LIST COPY OF DATABASE ARCHIVELOG ALL; List of Archived Log Copies Key Thrd Seq S Low Time Name ------- ---- ------- - --------- ---- 153 1 30 A 14-SEP-01 /oracle/oradata/trgt/arch/archive1_30.dbf 154 1 31 A 14-SEP-01 /oracle/oradata/trgt/arch/archive1_31.dbf
The following example lists backups of datafile 3
in summary mode:
LIST BACKUP OF DATAFILE 3 SUMMARY; List of Backups =============== Key TY LV S Device Type Completion Time #Pieces #Copies Tag ------- -- -- - ----------- --------------- ------- ------- --- 180 B 0 A DISK 14-SEP-01 1 2 TAG20011114T125431
This example lists all database incarnations recorded in the recovery catalog:
LIST INCARNATION; List of Database Incarnations DB Key Inc Key DB Name DB ID CUR Reset SCN Reset Time ------- ------- -------- ---------------- --- ---------- ---------- 1 2 RDBMS 674879952 YES 1 14-SEP-01
|
Copyright © 1996, 2002 Oracle Corporation. All Rights Reserved. |
|