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
- View ramn parameters: show all