Introduction to Oracle rman commands

Source: Internet
Author: User

The following articles mainly describe the Oracle rman command. The main content of the following articles is a collection of Oracle rman commands found in an online warfare with good reputation: THE list command lists the backup information in the control file and Oracle RMAN recovery directory.

Is one of the most intuitive ways to understand all visible database backup files,

 
 
  1. list incarnation;  
  2. list backup summary;  
  3. list backup of database summary;  
  4. list backup of tablespace summary;  
  5. list backup of datafile n,n summary;  
  6. list archivelog all summary;  
  7. list backup by file;  
  8. list backup;  
  9. list expired backup;  
  10. list copy;  
  11. list backup of spfile;  
  12. list backup of controlfile;  
  13. list backup datafile n,n,n;  
  14. list backup tablespace tablespace_name;  
  15. list backup of archivelog all;  
  16. list backup of archivelog from scn ...;  
  17. list backup of archivelog until scn ...;  
  18. list backup of archivelog from sequence ..;  
  19. list backup of archivelog until time 'sysdate-10';  
  20. list backup of archivelog {all, from, high, like, logseq, low, scn, sequence, time, until};  

1. List the databases backed up by Oracle RMAN:

 
 
  1. RMAN> list incarnation; 

Summary query: -- if there are many backup files, you can use these two list commands to have a general understanding of the backup files.

 
 
  1. list backup summary; 

Overview available backups

B Indicates backup

A Indicates Archivelog, F indicates full backup, 0, 1, and 2 indicates incremental level backup.

A Indicates AVALIABLE and X indicates EXPIRED.

This command can derive many similar commands, such

 
 
  1. list backup of database summary  
  2. list backup of archivelog all summary  
  3. list backup of tablespace users summary;  
  4. list backup of datafile n,n,n summary  

These commands give us a comprehensive and intuitive understanding of the existing backup files.

 
 
  1. list backup by file; 

List by file type

Data File List, archived log list, control file list, And SPFILE list

 
 
  1. list backup; 

This command lists the details of an existing backup set.

 
 
  1. list expired backup; 

List expired backup files

 
 
  1. list copy; 

List copy files

 
 
  1. list copy of database;  
  2. list copy of controlfile;  
  3. list copy of tablespace users;  
  4. list copy of datafile n,n,n;  
  5. list copy of archivelog all;  
  6. list copy of archivelog from scn 10000;  
  7. list copy of archivelog until sequence 12;   

The above content is an introduction to the Oracle rman command. I hope you will get something.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.