I am used to using TAG when listing backup and today I learned something new.
### Change disk to sbt for device type or remove device type for both disk & sbt.
c/disk/sbt
### Change database with any of the followings:
c/database/archivelog all/archivelog sequence/controlfile/spfile/tablespace/datafile
### Notice how summary is inconsistent.
list backup summary device type=sbt;
list backup summary device type=disk;
list backup of database summary device type=disk;
list backup of database summary completed after 'sysdate-1' device type=disk;
list backup of database summary completed between 'sysdate-1' and 'sysdate' device type=disk;
list backup of tablespace 'SYSTEM' summary device type=disk;
list backup of datafile 1 summary device type=disk;
list backup of archivelog sequence between 46270 and 46274 summary device type=disk;
list backup of archivelog sequence 1 summary device type=disk;
list backup of archivelog all summary completed after 'sysdate-1' device type=disk;
list backup of archivelog all summary completed between 'sysdate-1' and 'sysdate' device type=disk;
[oracle@ol7-112-dg1 ~]$ rman checksyntax @ list.rman
Recovery Manager: Release 11.2.0.4.0 - Production on Sat Apr 24 01:54:10 2021
Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
RMAN> set echo on
2> list backup summary device type=disk;
3> list backup of database summary device type=disk;
4> list backup of database summary completed after 'sysdate-1' device type=disk;
5> list backup of database summary completed between 'sysdate-1' and 'sysdate' device type=disk;
6> list backup of tablespace 'SYSTEM' summary device type=disk;
7> list backup of datafile 1 summary device type=disk;
8> list backup of archivelog sequence between 46270 and 46274 summary device type=disk;
9> list backup of archivelog sequence 1 summary device type=disk;
10> list backup of archivelog all summary completed after 'sysdate-1' device type=disk;
11> list backup of archivelog all summary completed between 'sysdate-1' and 'sysdate' device type=disk;
12> exit
The cmdfile has no syntax errors
Recovery Manager complete.
[oracle@ol7-112-dg1 ~]$
### Remove device to show backup for both disk and sbt;
[oracle@ol7-112-dg1 ~]$ rman checksyntax @ list.rman
Recovery Manager: Release 11.2.0.4.0 - Production on Sat Apr 24 10:54:25 2021
Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
RMAN> set echo on
2> list backup summary;
3> list backup of database summary;
4> list backup of database summary completed after 'sysdate-1';
5> list backup of database summary completed between 'sysdate-1' and 'sysdate';
6> list backup of tablespace 'SYSTEM' summary;
7> list backup of datafile 1 summary;
8> list backup of archivelog sequence between 46270 and 46274 summary;
9> list backup of archivelog sequence 1 summary;
10> list backup of archivelog all summary completed after 'sysdate-1';
11> list backup of archivelog all summary completed between 'sysdate-1' and 'sysdate';
12> exit
The cmdfile has no syntax errors
Recovery Manager complete.
[oracle@ol7-112-dg1 ~]$
If you are interested in using TAG then see post Simplify RMAN Restore With Meaningful Tag