ITPub博客

首页 > Linux操作系统 > Linux操作系统 > 理解RMAN backup database plus archivelog命令

理解RMAN backup database plus archivelog命令

原创 Linux操作系统 作者:尛样儿 时间:2012-10-31 13:50:45 0 删除 编辑

相关文章:
         《理解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/,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论
Oracle数据库管理员,Oracle数据库系统构架员;2012年7月出版《构建最高可用Oracle数据库系统:Oracle 11gR2 RAC管理、维护与性能优化》一书;Oracle 10g OCM。

注册时间:2010-01-05

  • 博文量
    483
  • 访问量
    5259504