rman use

1. View the database backup list: list backup of database

2. Check the backup data information

RUN

{

  ALLOCATE CHANNEL FOR MAINTENANCE DEVICE TYPE sbt;

  CROSSCHECK BACKUP;

  CROSSCHECK COPY;

}

3. Check whether there is any backup failure: list failure;

4. It is recommended to modify the command: advise failure;

5. Modify the command: repair failure;

6. Use flashback database to return to the database

7. Restore the entire database [premise of backup]

8. Record the rman log to the file rman LOG /tmp/rman.log

9. Several backup methods:

# Command file name: mybackup.rman

# The following command backs up the database

BACKUP DATABASE;

# The following command backs up the archived redo logs

BACKUP ARCHIVELOG ALL;

 

The following example shows that you can break a single RMAN command across multiple lines:

 RMAN> BACKUP # this is a comment

2> SPFILE;

To configure rman, refer to file://D:\oracle\oracleapi\E11882_01\backup.112\e10642\rcmconfb.htm

  1. View ramn parameters: show all

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325036938&siteId=291194637