(If applicable)
Other Text:
(Examples or comments displayed on slide, if any).
(If applicable)
Other Text:
(Examples or comments displayed on slide, if any).
(If applicable)
Other Text:
(Examples or comments displayed on slide, if any).
REPLACE SCRIPT level_0_backup { <br> allocate channel d1 type disk <br> format 'c:\oracle\backups\weekly_level_0.%d.$T'; <br> backup incremental level 0 <br> TAG 'Weekly Level 0' <br> database; }<br>run { execute script level_0_backup;}<br>
(If applicable)
Other Text:
(Examples or comments displayed on slide, if any).
(If applicable)
Other Text:
(Examples or comments displayed on slide, if any).
SQL> connect rman/rman@recovery <br>Connected. <br> <br>SQL> SELECT * FROM RC_STORED_SCRIPT; <br>DB_KEY DB_NAME SCRIPT_NAME <br>---------- -------- ---------------------- <br>1 PROD level_0_backup<br>
(If applicable)
Other Text:
(Examples or comments displayed on slide, if any).
(If applicable)
Other Text:
(Examples or comments displayed on slide, if any).
list backup [of database] <br> [completed {after | before | between date} ];<br>list backup [of database] summary;<br>list incarnation;<br>See next page for example<br>
(If applicable)
Other Text:
(Examples or comments displayed on slide, if any).
RMAN> list backup completed after 'sysdate-365'; <br> <br>List of Backup Sets <br>=================== <br>BS Key Type LV Size Device Type Elapsed Time Completion Time <br>------- ---- -- ---------- ----------- ------------ --------------- <br>1 Full 120K DISK 00:00:05 05-MAY-04 <br> BP Key: 1 Status: AVAILABLE Tag: TAG20040505T171926 <br> Piece Name: C:\ORACLE\ORA92\DATABASE\01FL14SU_1_1 <br> List of Datafiles in backup set 1 <br> File LV Type Ckp SCN Ckp Time Name <br> ---- -- ---- ---------- --------- ---- <br> 4 Full 1453101 05-MAY-04 C:\ORACLE\ORADATA\CLASS2\EXAMPL<br>
(If applicable)
Other Text:
(Examples or comments displayed on slide, if any).
RMAN> crosscheck backupset completed after 'sysdate-30'; <br>RMAN> list expired backup summary; <br>RMAN> crosscheck copy completed after 'sysdate-30'; <br>RMAN> list expired copy;<br>RMAN> list backup of controlfile;<br>Learn more about “expired” in the Maintenance lesson<br>
(If applicable)
Other Text:
(Examples or comments displayed on slide, if any).
report need backup;<br>report need backup redundancy 2;<br>report need backup days 1;<br>report need backup incremental 1;<br>report obsolete;<br>report schema;<br>
(If applicable)
Other Text:
(Examples or comments displayed on slide, if any).
SQL> select db_key, dbinc_key, dbid, name <br> 2 from rc_database; <br> <br> DB_KEY DBINC_KEY DBID NAME <br>---------- ---------- ---------- -------- <br> 1 264 4167529595 PROD<br>
(If applicable)

Other Text:
(Examples or comments displayed on slide, if any).
(If applicable)
Other Text:
(Examples or comments displayed on slide, if any).
RMAN> show default device type; <br>RMAN configuration parameters are: <br>CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default<br>RMAN> show retention policy; <br>RMAN configuration parameters are: <br>CONFIGURE RETENTION POLICY TO REDUNDANCY 2;<br>
(If applicable)
Other Text:
(Examples or comments displayed on slide, if any).