理解RMAN backup database plus archivelog命令

尛樣兒發表於2012-10-31

相關文章:
         《理解RMAN backup database plus archivelog delete all input命令》
http://space.itpub.net/?uid-23135684-action-viewspace-itemid-661575

官方描述:
Backing Up Logs with BACKUP ... PLUS ARCHIVELOG

You can add archived redo logs to a backup of other files by using the BACKUP ...

PLUS ARCHIVELOG clause.  Adding BACKUP ... PLUS ARCHIVELOG causes RMAN to do the following:

1. Runs the ALTER SYSTEM ARCHIVE LOG CURRENT command.

2. Runs BACKUP ARCHIVELOG ALL. Note that if backup optimization is enabled, then RMAN skips logs that it has already backed up to the specified device.

3. Backs up the rest of the files specified in BACKUP command.

4. Runs the ALTER SYSTEM ARCHIVE LOG CURRENT command.

5. Backs up any remaining archived logs generated during the backup.This guarantees that datafile backups taken during the command are recoverable to a consistent state.To back up archived redo logs with BACKUP ... PLUS ARCHIVELOG:

After starting RMAN, run the BACKUP ... PLUS ARCHIVELOG command at the RMAN prompt . This example backs up the database and all archived logs:

RMAN> BACKUP DEVICE TYPE sbt

  DATABASE PLUS ARCHIVELOG;


        轉載自:http://bkeep.blog.163.com/blog/static/1234142902009744926822/

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/23135684/viewspace-747999/,如需轉載,請註明出處,否則將追究法律責任。

相關文章